MacBook Battery drains quickly post Sonoma update

I downloaded Sonoma 14.3 to my Macbook Pro about a week or so ago. Ever since then, my battery life has dropped dramatically.

I'll usually only be using my podcast app and chrome, and for some reason this has been draining my battery very quickly. In about an hour and a half, my battery when from 100% to 38%.

Other times, I'll close my Macbook when I step away from it for a while, and and the battery life will be somewhere in the 30% range. When I get back to my Macbook, about two hours later, it will be hot and the battery will be completely drained, even though it had been asleep.

I've also acquired the problem of having to press the power button to wake my Macbook back up even if it's only been asleep for about 10 minutes.

And the fan will blow a lot.

These problems only began after I downloaded Sonoma 14.3.

I've checked my battery health, and it says the battery health is normal.

I have the battery set to low power mode when the macbook is on battery.

I've checked my activity monitor and it says the only things running during this time are Chrome, the podcast app, and the activity monitor.

I've cleaned out the fan.

Has anyone else had this problem?


[Re-Titled by Moderator]

Posted on Feb 2, 2024 6:37 AM

Reply
Question marked as Top-ranking reply

Posted on May 5, 2024 12:07 AM

Hello all,


I've been busying myself away for a while trying to debug the issue and/or find a cure for the issue.


TL;DR; QUICK "SOLUTION" 


Open a Terminal and type 


sudo pmset -a hibernatemode 25


I have been problem free for over a week now. The battery does still drain a little bit, e.g. 5-10%, but that's acceptable to me.


I hope this continues to work and I also hope it works for you as well 🤞


LONG STORY


As it stands I have tried a LOT of things and none of them worked:


* Disable "Allow Handoff between this Mac and your iCloud devices"

* Disable Wifi

* Disable Bluetooth

* Remove all background items

* Disable all battery settings from System Prefs -> Battery -> Options (Slightly dim display... (Off) , Enable power nap (Never), Put hard disks to sleep (Always), Wake for Network Access (Never)

* Disable hidden power management settings using pmset: ttyskeepawake=0, tcpkeepalive=0, proximitywake=0, womp=0

* Removing all Google products (including Chrome) and ensuring all background tasks (launchagents/launchdaemons) were uninstalled. Reason for this is that lots of people report Google updater being a sleep preventer. ASIDE: I've officially been an Edge user for 2 weeks now 🤯

* I have tried using the SleepAid app. Alas this effectively crashes when the battery dies. It doesn't have the ability to diagnose this specific issue.

* Removed as many possible apps and other garbage from my Mac as possible

* Tried sleeping with the laptop lid open

* Tried sleeping using software, e.g. the Apple menu -> sleep

* Confirmed that there's nothing in Activity Monitor marked as "Preventing Sleep" other than WindowServer (which I believe is normal when you are using the Mac)


The only useful place I can get information from is using the system logs from the Console.app. If you filter by the keyword "PMRD" then you can see all power related messaging.


I have even spent time debugging the kernel using DTrace and the source code for the XNU kernel


It's worth noting that I can definitely see differences between logs when the problem occurs and when it doesn't. It seems to me that sometimes when you try to sleep, something goes wrong right at the moment of trying to sleep your laptop (e.g. when you close the lid). In other words, your battery’s fate is sealed from the moment you try to sleep. The annoying part is that it's impossible to check if this happened without unsleeping the mac. If you observe the problem, you change it and thus have to sleep again (a Heisenbug).


Other observations:


* (I think someone else mentioned this) When the problem occurs, if you try to wake your mac up with the keyboard then it won't wake. You need to press the power button to wake it back up. Normally, a key press alone should wake it up.

* Apple changed power management code in the XNU kernel for Sonoma. There was nothing obvious that could explain the issue off hand, but I strongly feel that this is a software bug in the kernel rather than some hardware fault or some bad state our Macs are in. Seems like a race condition in the sleep logic where a driver says "hey, I can't sleep". Sometimes that happens at a good time and sleep still occurs, other times it doesn't.


hibernatemode


Anyway, silliness aside, what is hibernatemode all about?


macOS has 3 hibernate modes 0, 3 and 25 (weird numbering right?):


0: Sleep everything but leave your RAM powered on

3: Sleep everything, leave your RAM powered on but also backup RAM to disk in case of a power failure

25: Sleep everything including RAM. Copy RAM contents to disk then power off RAM as well.


The only impact of switching to mode 25 is that your mac isn't as snappy when you wake it up. It takes a second or two to respond. This however is a worthwhile price to pay given your battery won't be dead every morning.


CONCLUSION


This is not a fix, it's a workaround. God knows if Apple will ever fix this (or even acknowledge it).


If the issue comes back again then I have a handful of ideas for other things to try, but frankly I'm close to being out of options. Keeping my fingers crossed this works.


Even if this works for you, can I recommend that everyone submits a bug report via Feedback Assistant please (if you haven't already)? Do it the morning after a battery death - so you'll need to set hibernatemode back to 3 to do that. I'd suggest linking to this post in the bug report.


Beyond that, I might take my Mac to the Apple store but I'm expecting to be told it's due to water damage and I need to spend $1000 on a new motherboard 😂😢


Beyond that, the only other thing I can suggest is that we start methodically capturing how many of us have the issue and see if there's enough people to pressure Apple or even consider threatening with class action. I'm not hopeful though.



118 replies

May 5, 2024 10:25 AM in response to RussInMM

...and I just reproed the bug and submitted a feedback. I would encourage everyone else here to do the same. I recorded it under

Title: "Power consumption during sleep"

Area: "Something else not on this list:"

Type of issue: "Incorrect/Unexpected behavior"


Here's how I described the behavior:


"Ever since updating to Sonoma, my MacBook Pro has had instances of excessive power consumption when it’s supposed to be sleeping. It doesn’t matter whether I put it to sleep by closing the lid or by invoking the sleep button (on the Apple menu or in the Touch Bar). Sometimes it sleeps properly, consuming almost no power, and sometimes it is consuming enough power to make the laptop very warm. It doesn’t matter whether the laptop is powered via USB or unpowered, drawing from the battery. If the latter, the battery energy is drawn down rapidly.


In the attached instance, the MBP was connected to AC power, and was quite warm, even though the battery was at 100% when I put it to sleep.


The other behavior that correlates 100% with this “hot sleep” condition is that the display fails to turn on when I open the lid, nor does it turn on when I press any keyboard key other than the power/fingerprint button.


This has been going on for months, ever since I updated to Sonoma.


I am a retired software engineer, and I am very eager to assist in diagnosis of this problem. I am not the only one who is experiencing the same behavior.


I should also note that I have seen this behavior even after having logged out — so it’s unlikely to be associated with any user software I’ve installed.


Finally, I will point out that many others are experiencing this identical issue. Please refer to the following threads in the Apple Support Community:

MacBook Battery drains quickly post Sonom… - Apple Community

Updated MacBook Pro to macOS Sonoma, now … - Apple Community

Battery drain on macOs Sonoma - Apple Community

Sonoma 14.2 Problems Battery Life Time an… - Apple Community

Battery draining and overheating - Apple Community


We are desperately hoping that you folks will identify a cluster and address this problem in an update VERY SOON. Please feel free to contact me directly at my email address (deleted) or by phone or text to (deleted). As I said, I’m VERY EAGER to help squash this bug!

May 1, 2024 11:10 AM in response to ycyclop

ycyclop wrote:

I had the same problem and this is what I did to check it and to solve it:
I check the wakeup logs with:
log show --style syslog | fgrep "Wake reason"
and found out my Mac wakes up every couple of minutes due to: Dark Wake 
After reading a bit more about it here is what can be done to to prevent it (or at least reduce it)
Force powernap (although in the battery setting it is defined never to wake up I check pmset -g and found out that power nap was still set to 1) so do: sudo pmset -a power nap 0
and then another thing that wakes up is the tcpkeepalive that is used for "find me" when the Mac is asleep
so if you are not worried about you Mac being stolen you can do: sudo pmset -a tcpkeepalive 0
After those two steps after 12 hours sleep the consumption was 4% instead of 40%

Thanks for the excellent detail!

Unfortunately, the problem I'm seeing on my MBP seems to be very different from yours. My laptop isn't logging processWakeReason entries while it's sleeping. And I see no "Dark wake" entries at all. Sigh.

Feb 23, 2024 4:47 AM in response to Holgerj9

After much mucking around mine seems to only do this when Chrome is installed, doesn't even have to be running strangely, after a reinstall all was ok until I installed Chrome, closed Chrome completely and still had the same issue, removed Chrome and seems ok........

Early days and am still experimenting but this seems to have cured it, bit of a pain as I prefer Chrome!

Mar 3, 2024 10:00 AM in response to Holgerj9

Hi oustalado,


 

Thanks for participating in the Apple Support Community.


 We removed your post “Sonoma 14.3 battery draining quickly. because it contained information about beta software. 


To comment or ask questions about beta software, go to our Apple Developer Forums page:

Apple Developer Forums


Here you can share your Sonoma 14.3 battery draining quickly. post, make comments, and ask questions.


For more information, see the Apple Beta Software Program page:

Apple Beta


 We’ve included a copy of your original post below.

 


Thanks,


Apple Support Community Staff


 




I have had similar problems, after a bit of experimenting this only happens for me when I have Chrome installed, it doesn't even have to be running! However, I installed Sonoma 14.4 and for the first time since upgrading to Sonoma AND having Chrome installed I closed the lid overnight, as I used to with no problem, and in the morning it still showed 100%!!

So it would appear to be Sonoma causing this and the 14.4 version does appear to have fixed it.

For now anyhow...........


Mar 10, 2024 7:46 AM in response to Holgerj9

I have now tried many different configurations versions of MacSO\Browser and for me it seems that the only way to stop this happening is to NOT have any other browsers except safari installed, even if they are not running the battery seems to drain completely overnight, the battery monitor does not show it slowly discharging but plummeting from 100% to 0% at the moment the lid is opened so I can only assume it is misreading this so for the moment I am living with Safari only and it seems fine, this, for me, has been the only combination that seems to work as expected all the time......


Mar 22, 2024 5:46 PM in response to RussInMM

...and, tempting fate, I will report my latest attempt at a workaround:


I use Google Chrome. In Chrome Settings > Performance, I've got Memory Saver turned on, and Energy Saver set to be turned on when on battery.


Looking at Activity Monitor, though, I noticed that if any of my Chrome windows was open to a tab that's for a nontrivial website, the CPU was being used -- even if that window wasn't visible at all. I have found that if I go to each open Chrome window and set the current tab to just plain old Google.com (probably any static, no-Javascript-advertising site will do), CPU usage drops way down. I am no doing this for all Chrome windows before putting the Mac to sleep.


It's been two days since I started doing this, and -- so far -- the insomnia vampire hasn't yet returned. I've let it sleep with and without A/C power, and have so far found the Mac to remain cool, and battery consumption has been negligible.


But now that I've reported this, I fully expect a return of the problem. I'll report back when it does return, or if it hasn't, I'll report that in a few days.

Apr 12, 2024 4:23 AM in response to Holgerj9

Update: I still have the problem. It did seem to go away for a while - and I almost got excited that it was fixed - but alas it's back.


Interestingly, I just caught my laptop burning up in my bag. I opened it and checked Activity Monitor and top to see what was causing it. Xcode was going wild:


  • XCode:
    • 12.72 GB ram
    • 14 GB bytes written to disk
    • 124.9% CPU
    • 122.2 Energy Impact
  • XCodeBuildService
    • 10.5 GB ram
    • 20.8 GB bytes written to disk
    • 104% CPU


The odd thing is that I haven't used Xcode today. It reopened automatically this morning because my machine shutdown unexpectedly last night (due to - no surprises - the battery dying). I haven't actually done any coding today so it should have just been sat there idle doing nothing.


Note that there was zero network activity for Xcode so it wasn't trying to call home and do anything either.


Once I closed Xcode the fan died down and usage went back to normal (although I haven't sent my Mac to sleep yet).


What I find odd about this is how inconsistent the causes seem to be. It's hard to isolate a specific cause.



May 5, 2024 7:51 AM in response to HormyAJP

HormyAJP wrote:

Hello all,

I've been busying myself away for a while trying to debug the issue and/or find a cure for the issue.

TL;DR; QUICK "SOLUTION" 

Open a Terminal and type 

sudo pmset -a hibernatemode 25
...

Wow, thank you, HormyAJP!


I've been trying to avoid the problem by logging out before putting my MBP to sleep at night, but that didn't reliably do the job either. I suspect you're right about this being a race condition in the Sonoma kernel.


I'm going to take your suggestion and leave my hibernatemode at 3 until I next repro the problem, at which time I'll bring up Feedback Assistant (in Applications/Utilities) and try to capture and submit a report.


I may also try looking at the various pmset log outputs, just to see if anything stands out.


...and then I'll try hibernatemode 25, in order to live with the problem while waiting/hoping for Apple to finally notice/acknowledge/fix this extraordinarily annoying bug!

Feb 11, 2024 1:01 AM in response to oustalado

oustalado wrote:

Similar here, didn't start until the latest update a few days ago, 14.3.1, mine dies overnight, seems ok running on battery during the day and does everything it should but when on battery overnight with lid closed wake to find totally dead or maybe 1% remaining, have tried closing all apps before closing lid, ...

The battery drains, if it is working, so you have to find out, whether you have any apps working in the background and/or if your Mac wakes in the night to check emails or such like, and/or if some automatic syncing of some apps goes on while the Mac is asleep.


  • System settings > Login items > disable and delete all that's there.
  • System settings > Battery > Options > disable "Wake for network access."
  • Finally, if you've no background apps running etc, just put the Mac off and let the battery rest.
  • And, if you really want to keep your Mac sleeping, just plug it in to a electrical socket with optimised charging mode on.

Feb 12, 2024 10:52 AM in response to oustalado

I have the exact same Macbook as you, and I decided to not revert to an older OS because it is a LOT of work. The most recent thing I did was change a setting in Chrome (three dots in upper right-hand corner/settings/performance/power/turn on when my computer is unplugged. ... went two nights without any power loss, and I did not close Chrome. Fingers crossed.

Feb 13, 2024 12:36 AM in response to eldon276

Just for info, reverted back to Ventura, all other settings left the same and works perfectly as it should (and always has before Sonoma), closed lid when I went to bed, checked when I woke up and 99% battery remaining, I had tried closing Chrome, and everything else, while still on Sonoma but that made no difference whatsoever for me...

May try going back to Sonoma when I can be bothered and see if issue comes straight back or not as it used to work fine on Sonoma and only started not working properly on the last update.

Feb 13, 2024 12:47 AM in response to oustalado

oustalado wrote:

Just for info, reverted back to Ventura, all other settings left the same and works perfectly as it should (and always has before Sonoma), closed lid when I went to bed, checked when I woke up and 99% battery remaining, I had tried closing Chrome, and everything else, while still on Sonoma but that made no difference whatsoever for me...

Are you stating that your Mac is not good enough for Sonoma?

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.

MacBook Battery drains quickly post Sonoma update

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