MacOs catalina drains battery in sleep (MBP)

So I have a Macbook pro 13” Mid 2012 non retina. Last week I updated to catalina. All of my performance and everything looked fine. But when I woke up mu battery almost completely drained itself while being in sleep mode. I never had this issue before in other versions of Mac OS. My battery performance overall is just normal, when using the macbook it doesn’t seem that my battery life is any shorter...

I did reset the SMC. And it did not help.


hope someone can help me out..



MacBook Pro

Posted on Oct 13, 2019 2:43 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 13, 2019 5:11 AM

Start terminal and enter:


sudo pmset -a standby 1

sudo pmset -b tcpkeepalive 0

sudo pmset -a hibernatemode 25


you can also issue these commands to use suspend to disk after 1 minute of inactivity (adjust the value if you like)


sudo pmset -a standbydelaylow 60

sudo pmset -a standbydelayhigh 60


Similar questions

91 replies

Dec 18, 2019 2:28 AM in response to steinfromasten

Well, it seems that my Problem is gone.


I had the Problem that my Macbook Pro (Mid 2012) non Retina not sleeping.

After 5 minutes of inactivity and wehe it was plugged in to energy, the Fans begins to be loud

and the Macbook gets hot. The Display gos to sleep but the Macbook works continuously formore then 1 hour.

SMC reset, new clean installation of the System and all other things did not help.


Two days ago i observed that a task called „mediaanalysisd“ is taken 120% of CPU.

This happens only when the Macbook Pro is plugged in to energy and there is no activity on it.

On that moment when i do something or just move the Mouse, this task disappeared from Activity Monitor.

That is the reason i never have seen it before. But nov i put the Computer and the Display to never sleep

and started activity Monitor App.


After that i started Photos App and checkt the People that were found by it.

For some People it still searches sins 3 weeks nov and newer ends, maybe because there is just 1 Face and the App needs more then 1to finish his job. I deleted this persons from People and restarted the Macbook Pro.

And now „mediaanalysisd“ is still there but consuming only 10% CPU and the Macbook is not warm any more

and gos to sleep at the time when i set it in System Energy settings.

Jan 14, 2020 10:33 PM in response to Robert_rMBP

Hello Everyone!


Iam suffered from the same problem with may macbook pro. With 7 hours of sleep with closed lid my battery drained about 20%. Tried a few things, nothing helped.

Then i checked the wakeupreasons logs in the terminal and i saw that my macbook at midnight had a lot of wakeupreasons with the following : VoiceTrigger and EC.ARPT.

After a couple of search everything pointed to Siri. So i disabled and turned off all Siri functions on my macbook.

Now after 7-8 sleep with close lid my battery is still on 100%.


If someone still have this problem try ti disable Hey Siri function and check it without it.

Jun 23, 2020 9:19 AM in response to steinfromasten

Extract from the Catalina manual page for pmset (in terminal app, type "man pmset"...


"hibernatemode = 3 by default on portables. The system will store a copy of memory to persistent storage (the disk), and will power memory during sleep. The system will wake from memory, unless a power loss forces it to restore from hibernate image.


hibernatemode = 25 is only settable via pmset. The system will store a copy of memory to persistent storage (the disk), and will remove power to memory. The system will restore from disk image. If you want "hibernation" - slower sleeps, slower wakes, and better battery life, you should use this setting"


...So it seems that hibernate mode 3 (default on laptops) uses power while in sleep mode to maintain a copy of data in RAM during sleep mode. This would explain why consumes more power in sleep mode than with hibernate mode 25, which doesn't provide power to maintain data in RAM.


The MBP 16 models have 16GB min RAM configurations, which is potentially a lot of RAM needing power during sleep mode. The tradeoff of setting hibernate mode 25 is that potentially much more data has to be read when recovering from sleep mode. Even for an SSD device, that might take longer than a user would like, so mind the tradeoffs.

Jan 2, 2020 11:34 PM in response to steinfromasten

Hy guys,


I have a MBP 13 Mid 2014 with Retina Display and had the same battery drain issue during sleep when upgraded from High Sierra to Mojave, back in fall 2017 when Mojave launched. I have spent many days to find a solution for this with no success. Even when working with the MBP the battery was draining much faster than in High Sierra. At some point I find a solution for the battery drain during sleep, by changing the sleeping mode to deep-sleep. This you can obtain by opening Terminal app and copy/paste the following code:


"sudo pmset hibernatemode 25"


You cand verify in which sleep mode is your mac with this code: "pmset -g | grep hibernatemode"

Usually by default the sleep mode has number 3, so if you want to change back the sleeping mode to what it was initially, use the code: "sudo pmset hibernatemode 3"


However at that point I didn't find a solution for the quick battery drain during use (with High Sierra my MBP battery lasted 7 hours of use, compared to Mojave, where that time was shrinked to 3 hours), that is why I downgraded to High Sierra and used it until now. Right after the downgrade to High Serra my battery was lasting again +7 hours during use.


Now I installed Catalina yesterday on a separate partition, just to check if it is usable from battery point of view. Last night I closed the lid with 100% and this morning it was at 78%, which is a lot of draining. I just set the sleep mode to deep sleep (25) and I will keep an eye on this for the next days.


As for now the battery still draining pretty fast during use (loosing 1% every 2 minutes), however it might be because the new installation is making it's indexing work all over the system. I will wait a few days and get back with an update.

Mar 15, 2020 11:30 AM in response to LD150

An update to my previous post:


I had the same problem with a new 16-inch MBP. As near as I can tell, now two months later, the issue seems to be related to the items in iCloud syncing with my new MBP. (In my case, these items were mostly photos - to be more specific, Apple-related photos, photos used in the Photos app.)


I'm not sure, but there might be different processes at work between syncing the photos from iCloud to the new computer, and processing those photos (things like facial recognition and perhaps location).


It seemed that syncing the photos happened when the Photos app was running on the new computer. What seemed to work for me was to start the Photos app, set the computer to NOT go to sleep, leave the computer powered on, and let it run overnight (or over multiple nights) to get the photos. (“Getting the photos” will mean different things to different people, depending on your iCloud settings.)


After the photos have finished syncing, then quit the Photos app, leave the computer powered on and set to NOT go to sleep, and let it run overnight (or over multiple nights) to process the photos.


My experience was that it took multiple days (including days to figure this out and try it) for the process to complete itself. (In my case, it was processing about 18K photos.)


Now, I can close the lid on the new MBP without it being plugged in, and the battery has little or no drain the next day.


I'm not sure what’s going on for the folks who can’t (or never have been able to) close the lid on their MBPs without significant battery drain. I’m in the group that has had little to no battery drain for years with other MBPs. I’m glad it works just fine now with this new 16-inch MBP.


Note: There is some speculation on my part about what I think is going on and how someone might try to solve it. I’m only an ‘n’ of one, but this is what I think I did to solve the problem. If I’m wrong, I’m sorry.

Dec 18, 2019 12:42 AM in response to danishfurniture

I would:-

  • Dump chrome. Safari is better in my opinion but if Chrome is using high power it has a problem (apart from the obvious that is the spawn if the satanic Google) Run Etrecheck and see how muck junk Google has installed in your Mac.
  • Until Photoanalysisd has finished its job (Maybe a week) avoid sleeping for long periods without power.

24 hours is a long time for unpowered sleep even in Mojave. If your MBP is 2019 does it have SSD? If so consider using shut down in favour of sleep if it's for 24 hours.


Mar 14, 2020 10:52 AM in response to ar0n1

Catalina may well be busy overnight reprocessing your media for some weeks, as has been said countless times. This particularly if you fell for the "Put your photos on iCloud" rhetoric pushed by the marketing department.


If you leave an MBP overnight either plug it in, or turn it off - simple as that. Doesnt matter what they used to do in the old days, it isn't doing it now.

Nov 21, 2019 11:15 AM in response to macudo

Three days ago I just went Settings- Energy, and I uncheck the option to make Power Nap Active. I know, this option is in the section " with power", it is not in the section "battery", so it should not impact our battery issues.


However, since this change , my Mac late 2013 is back to the stand-by not draining battery significantly !!


I know 3 days are not enough to be sure I fixed my issue, , but if someone can try the same and share his experience, .... who knows ??


Thanks

giovanni

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.

MacOs catalina drains battery in sleep (MBP)

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