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

jameronforever

macrumors newbie
Original poster
Jan 27, 2016
6
0
Hello, world!

I recently noticed that my 2015 13" rMBP loses about 1-2% of battery life overnight. Previously my Mac retained 100% charge overnight. Power Nap, Wake for Wi-Fi network access, and Bluetooth are all disabled. I have also tried resetting the PRAM and SMC, and as well as disabling Wi-Fi before putting my Mac to sleep, however the battery drain is still there.

I just checked the console log and this is what I see. I put my Mac to sleep at 1:52 AM and it woke up at 4:52 AM.

okfCFtu.png


This is what I see when I type "syslog -k Sender kernel -k Message Req Wake" into the Terminal.

opt65JB.png


I'm assuming there is a correlation between my Mac waking up from sleep and the battery drain? Any help would be much appreciated.

Thanks!

Edit: Forgot to mention that I am currently running OS X El Capitan 10.11.2
 
Last edited:

T5BRICK

macrumors G3
Aug 3, 2006
8,313
2,387
Oregon
I'm assuming there is a correlation between my Mac waking up from sleep and the battery drain? Any help would be much appreciated.

To be honest, 1-2% is pretty insignificant. I'd just turn the percentage indicator off and charge your Mac overnight.
 

jameronforever

macrumors newbie
Original poster
Jan 27, 2016
6
0
- What sort of question is this?

That's completely normal. If that 1 per cent is important to you, shut down instead of sleep.

So there is nothing out of ordinary then when to the logs? How come I had 100% battery life before? I wanted to apologize for asking such a dumb question. I'm still learning how to use my Mac.
 
Last edited:

JTToft

macrumors 68040
Apr 27, 2010
3,447
796
Aarhus, Denmark
So there is nothing out of ordinary then whento the logs? How come I had 100% battery life before? I wanted to apologize for asking such a dumb question. I'm still learning how to use my Mac.
- I wouldn't say there's anything unusual, no. It's not a dumb question, just unimportant. Unless you have a specific reason to think there's something wrong with your machine, I would trust it to behave as it's supposed to unless you see something completely out of whack.

I'd put the change down to a change in software or sheer coincidence, or even a change in ambient temperature. Nothing to worry about.
 
  • Like
Reactions: ABC5S

jameronforever

macrumors newbie
Original poster
Jan 27, 2016
6
0
- I wouldn't say there's anything unusual, no. It's not a dumb question, just unimportant. Unless you have a specific reason to think there's something wrong with your machine, I would trust it to behave as it's supposed to unless you see something completely out of whack.

I'd put the change down to a change in software or sheer coincidence, or even a change in ambient temperature. Nothing to worry about.

OK, thanks for the info!
 

bahndoos

macrumors 6502
Jul 9, 2010
345
197
OK, thanks for the info!

1-2% overnight while sleeping is fine, even better than Apple's own rated time of 30 day standby, since Haswell architecture. The math is roughly 100%/30days= 3.3% per day on sleep. Thats what you can expect to lose per day. So your sleep loss is pretty good actually.

For even less loss, shutdown the computer overnight.
 

jafingi

macrumors 65816
Apr 3, 2009
1,470
158
Denmark
Your Mac wakes up to check the battery. If it's getting low on battery, it would dump the memory on disk, so you wouldn't loose data when there's no more power.

And even if it didn't wake up, it still uses power to keep a current in the memory etc.

It's perfectly normal.
 
Last edited:

jameronforever

macrumors newbie
Original poster
Jan 27, 2016
6
0
Your Mac wakes up to check the battery. If it's getting low on battery, it would dump the memory on disk, so you wouldn't loose data when there's no more power.

And even if it didn't wake up, it still uses power to keep a current in the memory etc.

It's perfectly normal.

Wow, I did not know that! Thanks for the info!
 

snaky69

macrumors 603
Mar 14, 2008
5,908
488
So there is nothing out of ordinary then when to the logs? How come I had 100% battery life before? I wanted to apologize for asking such a dumb question. I'm still learning how to use my Mac.
It surely wasn't 100% before, you probably only just noticed it now.

Sleep mode uses power, it keeps RAM powered to let you start back off where you finished. A drain of roughly 1% per hour isn't unheard of and is 100% normal.
 

Mixolyd

macrumors member
Jul 10, 2014
74
32
Oregon
I found a fix here http://apple.stackexchange.com/ques...-consumes-10-battery-overnight-with-the-lid-c

and more details about it here https://discussions.apple.com/message/30869802#30869802

You have to turn SIP off, then do ioreg -l | grep IOPlatformFeatureDefaults and look for corresponding file in /System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext/Contents/Resources

Right click on file, get info, and change permission for Everyone to read and write. Then change these values with texteditor

<key>TCPKeepAliveDuringSleep</key>
<false/>
<key>NotificationWake</key>
<false/>
<key>DNDWhileDisplaySleeps</key>
<true/>

Finally, reboot.

I'm reporting the bug to Apple. Please do the same so they fix it. Whatever changes you make will probably be overwritten by any updates so they'll need to fix it permanently
 

precision01

macrumors regular
Oct 16, 2014
111
86
I found a fix here http://apple.stackexchange.com/ques...-consumes-10-battery-overnight-with-the-lid-c

and more details about it here https://discussions.apple.com/message/30869802#30869802

You have to turn SIP off, then do ioreg -l | grep IOPlatformFeatureDefaults and look for corresponding file in /System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext/Contents/Resources

Right click on file, get info, and change permission for Everyone to read and write. Then change these values with texteditor

<key>TCPKeepAliveDuringSleep</key>
<false/>
<key>NotificationWake</key>
<false/>
<key>DNDWhileDisplaySleeps</key>
<true/>

Finally, reboot.

I'm reporting the bug to Apple. Please do the same so they fix it. Whatever changes you make will probably be overwritten by any updates so they'll need to fix it permanently

Thanks a lot, Mixolyd!
This also solved the battery drain for me.

Now I'm wondering: Could it be the case where some macbooks are software locked to prevent "Do not disturb" to work properly?

For you guys that said that do not have any battery drain issues, can you please run that terminal command: "ioreg -l | grep IOPlatformFeatureDefaults" and post here the result?

In my case, changing energy and do not disturb settings had no effect on those keys. They were always the same, no matter the settings:


<key>TCPKeepAliveDuringSleep</key>
<true/>
<key>NotificationWake</key>
<true/>
<key>DNDWhileDisplaySleeps</key>
<false/>

Shouldn't those keys change when toggling energy and do not disturb settings?

My Conspiracy theory is that macbooks DND settings must have been software locked by apple by unknown purposes.:cool: Maybe they are using some of our laptops for something at night?o_O
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.