Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

CTSJATT

macrumors newbie
Original poster
Mar 21, 2018
2
0
Hello guys, I have been having problems with my macbook pro early 2015 model, I have noticed lately past few weeks my battery dies 15-20% in sleep mode at night. I checked sleep log from 12:29Am when I went to sleep to 11:39 am so about 11 hours it dropped from 91 to 73% You can check the log below. I have tried everything on the internet with people having issues like this tried everything in terminal from setting TCP to 0 and everything. I even restored it all the way to brand new and I updated from EL Capitan to High sierra it just got worse, One thing I noticed is it started happening after a apple genius member ran a diagnostic in person at the apple store when I was having a issue with track pad.

Contacted apple they said it's not hardware its the battery, but when its awake and I am using the computer the battery seems to be fine and dies like it does on average, and it only has 370 life cycles nothing close to the 1000 cycles apple tells us.

SLEEP LOG

2018-03-19 00:29:47 -0700 Wake Wake from Deep Idle [CDNVA] due to SPIT/UserActivity Assertion: Using BATT (Charge:91%) 46 secs

2018-03-19 00:30:33 -0700 Sleep Entering Sleep state due to 'Clamshell Sleep':TCPKeepAlive=disabled Using Batt (Charge:91%) 4905 secs

2018-03-19 01:52:18 -0700 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=disabled Using Batt (Charge:89%) 13860 secs

2018-03-19 05:43:28 -0700 Sleep Entering Sleep state due to 'Sleep Service Back to Sleep':TCPKeepAlive=disabled Using Batt (Charge:83%) 533 secs

2018-03-19 05:52:31 -0700 Sleep Entering Sleep state due to 'Sleep Service Back to Sleep':TCPKeepAlive=disabled Using Batt (Charge:82%) 5896 secs

2018-03-19 07:30:57 -0700 Sleep Entering Sleep state due to 'Sleep Service Back to Sleep':TCPKeepAlive=disabled Using Batt (Charge:79%) 14854 secs

2018-03-19 11:38:41 -0700 Sleep Entering Sleep state due to 'Sleep Service Back to Sleep':TCPKeepAlive=disabled Using Batt (Charge:73%) 12138 secs

2018-03-19 15:00:59 -0700 Wake Wake from Standby [CDNVA] due to EC.LidOpen PWRB/Lid Open: Using BATT (Charge:67%) 3473 secs
 
I'd like to know as well if anyone has some tips on losing battery during "sleep", I have experienced this quite frequently. My battery is new and has three cycles on it. I lost 8% last night in a about 8 hours.

2018-03-23 21:32:53 -0400 Sleep Entering Sleep state due to 'Clamshell Sleep': Using Batt (Charge:75%) 29366 secs

2018-03-24 05:42:19 -0400 Wake Wake from Safe Sleep [CDNVA] due to EC.LidOpen EHC2/Lid Open: Using BATT (Charge:67%)
 
Last edited:
I'd like to know as well if anyone has some tips on losing battery during "sleep", I have experienced this quite frequently. My battery is new and has there cycles on it. I lost 8% last night in a about 8 hours.

2018-03-23 21:32:53 -0400 Sleep Entering Sleep state due to 'Clamshell Sleep': Using Batt (Charge:75%) 29366 secs

2018-03-24 05:42:19 -0400 Wake Wake from Safe Sleep [CDNVA] due to EC.LidOpen EHC2/Lid Open: Using BATT (Charge:67%)
Hope people would reply there is a forum out there but it was no help I also have posted on the apple community forum no reply there
 
Another person here who needs this answered. I have an early 2015 MBP 13 inch i5 16gb RAM. Left MBP at around 80% before bed. I wake it up and it's at 59%. My battery is also new (arrived with 1 cycle a month ago).
 
Run this in Terminal:

pmset -g assertions

That will give you a list of reasons why your Mac is not asleep right now. For example, if a video is playing that will prevent sleep, if you're currently active (keyboard/mouse movement) that will prevent sleep.

There are other things that can also prevent sleep. In my case I seemed to be experiencing a bug with Handoff (which you can disable in System Preferences -> General) that was completely disabling sleep on my MacBook Pro. But for the last week I put it to sleep with a full battery and went to use it the next day the battery would be completely dead.

Not sure what the bug is for — obviously handoff shouldn't disable sleep, but it showed Handoff under `pmset -g assertions` and disabling handoff made my Mac sleep normally.
 
I was using a 2014 MacBook Air and just switched to a 2015 MacBook Pro. The Air basically didn't lose any battery power when the lid was closed. (Apple claimed 30 days standby time for the Air.) The Pro has been losing about 1% per hour.

I found out one reason for this--Apple inexplicably has different defaults for when these laptops switch from sleeping (powering the RAM, etc.) to hibernating (basically being turned off and using essentially zero power).

By default, the Air will switch to hibernating after sleeping for 70 minutes.

By default, it seems the Pro will wait 24 hours to hibernate if the battery has a high level of charge, and 3 hours if the battery has a low level of charge.

You can find out when your computer will switch from sleeping to hibernating by doing a "pmset -g" and looking at the values for standbydelayhigh and standbydelaylow.

If you want to change one of these values:

"sudo pmset -a standbydelayhigh 3600"

This will set the computer to switch from sleep to hibernation after 60 minutes (3600 seconds) when the battery has a high level of charge.

I have set my Pro to switch to hibernation after 60 minutes of sleeping no matter what. I expect this will allow it to basically not lose any charge when the lid is closed, just like my old Air.

The only disadvantage to doing this is that it takes the computer somewhat longer to wake from hibernation since it has to read the contents of RAM back in from the drive. This used to be a major bummer when we had hard disks but now that we have super-fast SSDs, it's hardly an inconvenience, really.
 
Motrek your suggestion absolutely fixed my issue of battery drain. I was running a 2013 Air with no issues (wife still has it, no issues). I picked up a 2015 Pro and boom, my battery drains and her's is fine. Now after fixing with your suggestion all is good again. I am going to check my kids older Pros to see if I need to adjust them.

-Thank you so much for taking time to share. I rarely use terminal. Not that tech savvy.

Take Care, Paul


I was using a 2014 MacBook Air and just switched to a 2015 MacBook Pro. The Air basically didn't lose any battery power when the lid was closed. (Apple claimed 30 days standby time for the Air.) The Pro has been losing about 1% per hour.

I found out one reason for this--Apple inexplicably has different defaults for when these laptops switch from sleeping (powering the RAM, etc.) to hibernating (basically being turned off and using essentially zero power).

By default, the Air will switch to hibernating after sleeping for 70 minutes.

By default, it seems the Pro will wait 24 hours to hibernate if the battery has a high level of charge, and 3 hours if the battery has a low level of charge.

You can find out when your computer will switch from sleeping to hibernating by doing a "pmset -g" and looking at the values for standbydelayhigh and standbydelaylow.

If you want to change one of these values:

"sudo pmset -a standbydelayhigh 3600"

This will set the computer to switch from sleep to hibernation after 60 minutes (3600 seconds) when the battery has a high level of charge.

I have set my Pro to switch to hibernation after 60 minutes of sleeping no matter what. I expect this will allow it to basically not lose any charge when the lid is closed, just like my old Air.

The only disadvantage to doing this is that it takes the computer somewhat longer to wake from hibernation since it has to read the contents of RAM back in from the drive. This used to be a major bummer when we had hard disks but now that we have super-fast SSDs, it's hardly an inconvenience, really.
 
My late-2013 MBP has been losing battery charge when asleep since Catalina whereas before it didn’t. I’ll try @motrek’s advice.

I bought a refurbished 2017 iMac last spring and kept my old trackpad from 2013. It loses charge when the computer is asleep whereas the Magic Mouse and Magic Keyboard do not. I have to turn the trackpad off when I’m done with computer for the day.
 
Hello guys, I have been having problems with my macbook pro early 2015 model, I have noticed lately past few weeks my battery dies 15-20% in sleep mode at night. I checked sleep log from 12:29Am when I went to sleep to 11:39 am so about 11 hours it dropped from 91 to 73% You can check the log below. I have tried everything on the internet with people having issues like this tried everything in terminal from setting TCP to 0 and everything. I even restored it all the way to brand new and I updated from EL Capitan to High sierra it just got worse, One thing I noticed is it started happening after a apple genius member ran a diagnostic in person at the apple store when I was having a issue with track pad.

Contacted apple they said it's not hardware its the battery, but when its awake and I am using the computer the battery seems to be fine and dies like it does on average, and it only has 370 life cycles nothing close to the 1000 cycles apple tells us.

SLEEP LOG

2018-03-19 00:29:47 -0700 Wake Wake from Deep Idle [CDNVA] due to SPIT/UserActivity Assertion: Using BATT (Charge:91%) 46 secs

2018-03-19 00:30:33 -0700 Sleep Entering Sleep state due to 'Clamshell Sleep':TCPKeepAlive=disabled Using Batt (Charge:91%) 4905 secs

2018-03-19 01:52:18 -0700 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=disabled Using Batt (Charge:89%) 13860 secs

2018-03-19 05:43:28 -0700 Sleep Entering Sleep state due to 'Sleep Service Back to Sleep':TCPKeepAlive=disabled Using Batt (Charge:83%) 533 secs

2018-03-19 05:52:31 -0700 Sleep Entering Sleep state due to 'Sleep Service Back to Sleep':TCPKeepAlive=disabled Using Batt (Charge:82%) 5896 secs

2018-03-19 07:30:57 -0700 Sleep Entering Sleep state due to 'Sleep Service Back to Sleep':TCPKeepAlive=disabled Using Batt (Charge:79%) 14854 secs

2018-03-19 11:38:41 -0700 Sleep Entering Sleep state due to 'Sleep Service Back to Sleep':TCPKeepAlive=disabled Using Batt (Charge:73%) 12138 secs

2018-03-19 15:00:59 -0700 Wake Wake from Standby [CDNVA] due to EC.LidOpen PWRB/Lid Open: Using BATT (Charge:67%) 3473 secs



try this, it worked on my macbook pro 2015 also few months back, and since then everything is going super smooth and almost negligible battery drain in sleep mode.


Open Terminal
Type sudo pmset -b tcpkeepalive 0
 
  • Like
Reactions: AllergyDoc
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.