Lag/CPU Usage Spike when Changing Volume when using AirPods

This is a bit of a specific situation but starting perhaps a few months ago, pre-Ventura even, when I change the volume while connected to AirPods, there is considerable lag between button press, on-screen volume UI, and then actual volume change. This behavior does not exist when changing the volume with headphones plugged into the audio jack, or with just the bare speakers. Taking a look at the system usage during volume changes, there appear to be a handful of processes related to Continuity, Bluetooth etc that all get hammered at the same time. Also, the fact that the system slows down significantly enough during a single-increment change in volume illustrates how agonizingly slow things become during this.


I am on a 2021 MacBook Pro M1 Pro 14" on Ventura 13.3.1


AirPods Version A2031 Firmware Version 5E133 (most up to date as of this posting, and always has been throughout this ordeal).


This is an example of the processes that spike in usage during the slowdown when changing the volume. Not included in the offenders are some others like I mentioned before that are like Continuity Daemon and Bluetooth Daemons. At one point the main Daemon that was the worst and most consistent offender was Microsoft Teams Audio Daemon, but I uninstalled that since I don't use it anymore. But the problem persists with the other ones I mention.


I have already un and re-paired the AirPods to this Mac, and also reset them entirely but to no avail. Fixing this would be cool.


MacBook Pro (2021)

Posted on Apr 28, 2023 1:24 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 6, 2024 4:18 AM

I had this same issue for a long time, whether headphones plugged in or bluetooth, with my AirPods and Beats. After reading all the comments, I thought it made most sense if it is the Mac trying to communicate with all the other bluetooth devices from the past; I deleted all these (some non apple bluetooth speakers, headphones etc), and voila the problem went away. One other thing I did, at around the same time (right before my problem resolved), which I don't really think was related, is that I used shift-option-volume button to fine-change volume.

Similar questions

49 replies

Nov 16, 2023 1:26 PM in response to SpiritLobster

So, I did some light testing and I can reliably create and worsen the issue by connecting and reconnecting my AirPods.


The issue does not relate to having them connected, but rather the act of disconnecting does not fully release all resources on the Mac. So that every time you increase / decrease volume the Mac tries to do something with the now disconnected AirPods and fails, and then goes on to the next device.


I'm thinking something along the lines of this pseudo-code:


func increase_volume()
 // sound_devices_uid being some kind of enumeration of devices the OS thinks is connected
 foreach (uid in sound_devices_uid):
  // get a handle for the device and ask for necessary access from OS etc 
  dev = try_get_device(uid, timeout:200ms)
  if dev: 
   dev.increase_volume()
 // outside loop
 show_volume_increased_symbol_on_screen()


Now, I have no idea how MacOS enumerates and handles sound devices internally, so I'm doing what is known as a semi-qualified guess :-)

Dec 5, 2023 3:09 AM in response to SpiritLobster

I am facing the same problem since first updating from Ventura to Sonoma.

Recently updated to Sonoma 14.1.2 and the problem is still there.


For example when using Slack if I get invited to a huddle (audio call) and I connect my AirPods (put them in my ears), in the exact moment of doing so the whole system freezes / stutters for 3-4 seconds, it is really annoying.

This happens with all applications, though.

Oct 30, 2023 6:16 AM in response to SpiritLobster

M1 Pro 14-inch 2021 here too.


I thought it was only an issue when I had my bluetooth headphones connected and adjusting the volume while watching youtube, but it's also happening without any device connected via bluetooth. I have looked at the activity monitor before because I was scared there's something suspicious, but when I saw this post and was monitoring the CPU while adjusting the volume, I saw the spike too.


I press the volume up/down 3/4 times and see the bar dots jump 3/4 dots at a time after a few ms from pressing them.


Strange that there hasn't been a fix for this yet. It's really annoying.

Nov 9, 2023 9:39 AM in response to SpiritLobster

This is especially bad in my case. If I hit the volume-up button once, not only is there lag but it acts as if the key is stuck and sends the volume to the maximum value. If I don't notice, I am treated to eardrum-splitting sound shortly thereafter.


This has been going on for months. It's unfortunate and frustrating. Using Air Pods used to be such a solid experience.

Dec 11, 2023 3:28 AM in response to SpiritLobster

For me this is not related to bluetooth. It also happens with bluetooth turned off. Just adjusting the volume of the internal speakers causes lag spikes, basically anything audio related. Changing audio devices, adjusting volume, starting audio playback, starting or ending a voice call... Lag spikes range from 0,5-1 seconds when adjusting volume to 3-5 seconds when starting a voice / video call.

2021 M1 Pro 14" 32GB Sonoma 14.1.2

Mar 27, 2024 2:57 AM in response to SpiritLobster

Same problem here. I've noticed it for many months. Everyone here that is saying I upgraded this or that and the problem goes away, is it truly going away, or is it because upgrading forced a reboot, thereby "solving" the problem temporarily? So far the most plausible explanation has been that the OS is hanging on to resources, which compound over time, until a reboot. This issue is so annoying that I don't even want to change my volume. M1 Pro, 16GB Sonoma 14.2.1

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Lag/CPU Usage Spike when Changing Volume when using AirPods

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.