Macbook 12 battery drain in sleep

Hi,


I purchased a new Macbook 12 with Yosemite. I immediately updated it to El Capitan 10.11.0 from App Store.


Then I noticed that my Macbook loses about 6-9% every 6-8 hours in sleep mode!


The recent update to 10.11.1 didn't help. I installed only Chrome and Thunderbird. Blutooth is turned off. Power Nap is turned off, No USB devices, no mouse.

Wi-fi is turned on. FileVault 2 is used with password.


Activity Monitor doesn't show any problems with energy for any applications.


pmset -g shows the following configuration:


standbydelay 10800

standby 1

womp 0

halfdim 1

hibernatefile /var/vm/sleepimage

powernap 0

gpuswitch 2

networkoversleep 0

disksleep 10

sleep 1 (sleep prevented by AddressBookSourceSync)

autopoweroffdelay 14400

hibernatemode 3

autopoweroff 1

ttyskeepawake 1

displaysleep 10

acwake 0

lidwake 1


However pmset -g log shows a problem. For some reason my Macbook wakes up every 1-2 hour:

Created MaintenanceWake "mDNSResponder:maintenance"

Any help please?


More details:

___________________


2015-10-23 14:18:03 +0300 Notification Display is turned on
2015-10-23 14:18:03 +0300 Wake Wake [CDNVA] due to EC.LidOpen/Lid Open: Using BATT (Charge:15%) 47 secs
2015-10-23 14:18:03 +0300 Kernel Client AcksDelays to Wake notifications: [AppleIntelFramebuffer driver is slow(msg: SetState to 2)(457 ms)] [AppleHDADriver driver is slow(msg: SetState to 1)(431 ms)]
2015-10-23 14:18:05 +0300 Assertions PID 87(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:02 id:0x0xd000003fd [System: DeclUser IPushSrvc kCPU kDisp]

Sleep/Wakes since boot at 2015-10-23 10:16:13 +0300 :11 Dark Wake Count in this sleep cycle:0



Time stamp Domain Message DurationDelay
========== ====== ======= =============

UUID: xxxxxxxxxx

2015-10-23 14:18:35 +0300 Notification Display is turned off
2015-10-23 14:18:35 +0300 Assertions PID 94(hidd) Summary UserIsActive "com.apple.iohideventsystem.queue.tickle" 02:38:10 id:0x0x900000353 [System: DeclUser kDisp]
2015-10-23 14:18:35 +0300 Assertions Kernel Idle sleep preventers: -None-
2015-10-23 14:18:35 +0300 Assertions PID 51(powerd) Created InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:00 id:0x0xd00000441 [System: DeclUser SRPrevSleep kCPU kDisp]
2015-10-23 14:18:50 +0300 Assertions PID 51(powerd) TimedOut InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:15 id:0x0xd00000441 [System: DeclUser SRPrevSleep kCPU kDisp]
2015-10-23 14:18:50 +0300 Sleep Entering Sleep state due to 'Clamshell Sleep':TCPKeepAlive=active Using Batt (Charge:15%) 7201 secs
2015-10-23 14:18:53 +0300 Wake Requests [*proc=mDNSResponder request=Maintenance inDelta=7197] [proc=powerd request=TCPKATurnOff inDelta=43242]
2015-10-23 14:18:53 +0300 PM Client Acks Delays to Sleep notifications: [com.apple.apsd is slow(2909 ms)]
2015-10-23 16:18:51 +0300 Kernel Client AcksDelays to Sleep notifications: [RP03 driver is slow(msg: SetState to 0)(1007 ms)]
2015-10-23 16:18:51 +0300 Assertions PID 87(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd00000454 [System: DeclUser kDisp]
2015-10-23 16:18:51 +0300 DarkWake DarkWake [CDN] due to RTC/Maintenance: Using BATT (Charge:13%) 5 secs
2015-10-23 16:18:51 +0300 Kernel Client AcksDelays to Wake notifications: [AirPort_Brcm4360 driver is slow(msg: SetState to 2)(311 ms)]
2015-10-23 16:18:51 +0300 Assertions PID 87(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd00000454 [System: DeclUser kDisp]
2015-10-23 16:18:56 +0300 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:13%) 3599 secs
2015-10-23 16:18:58 +0300 Wake Requests [*proc=mDNSResponder request=Maintenance inDelta=7198] [proc=powerd request=TCPKATurnOff inDelta=36037]
2015-10-23 16:18:58 +0300 PM Client Acks Delays to Sleep notifications: [com.apple.apsd is slow(1900 ms)]
2015-10-23 17:18:55 +0300 Kernel Client AcksDelays to Sleep notifications: [RP03 driver is slow(msg: SetState to 0)(1009 ms)]
2015-10-23 17:18:55 +0300 Assertions PID 87(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd0000045e [System: DeclUser kDisp]
2015-10-23 17:18:55 +0300 DarkWake DarkWake [CDN] due to EC.SleepTimer/SleepTimer: Using BATT (Charge:13%) 3 secs
2015-10-23 17:18:56 +0300 Assertions PID 87(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:01 id:0x0xd0000045e [System: DeclUser IPushSrvc kCPU kDisp]
2015-10-23 17:18:56 +0300 Assertions PID 51(powerd) TimedOut BackgroundTask "Powerd - Wait for client BackgroundTask assertions" 01:00:05 id:0x0xb00000455 [System: DeclUser IPushSrvc kCPU kDisp]
2015-10-23 17:18:56 +0300 Summary- [System: DeclUser IPushSrvc kCPU kDisp] Using Batt(Charge: 13)
2015-10-23 17:18:58 +0300 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:13%) 7219 secs
2015-10-23 17:19:00 +0300 Wake Requests [*proc=mDNSResponder request=Maintenance inDelta=7199] [proc=powerd request=TCPKATurnOff inDelta=32436]
2015-10-23 17:19:00 +0300 PM Client Acks Delays to Sleep notifications: [com.apple.apsd is slow(1431 ms)]
2015-10-23 19:19:12 +0300 Assertions PID 87(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd00000467 [System: DeclUser kDisp]
2015-10-23 19:19:12 +0300 Assertions PID 87(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd00000467 [System: DeclUser kDisp]
2015-10-23 19:19:17 +0300 DarkWake DarkWake from Standby [CDN] due to RTC/Maintenance: Using BATT (Charge:10%) 0 secs
2015-10-23 19:19:17 +0300 HibernateStats hibmode=3 standbydelay=10800 rd=386 ms
2015-10-23 19:19:17 +0300 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:10%)
2015-10-23 19:19:21 +0300 Wake Requests [*proc=mDNSResponder request=Maintenance inDelta=7196] [proc=powerd request=TCPKATurnOff inDelta=25215]
2015-10-23 19:19:21 +0300 PM Client Acks Delays to Sleep notifications: [com.apple.apsd is slow(3694 ms)]
2015-10-23 20:27:33 +0300 Kernel Client AcksDelays to Sleep notifications: [powerd is slow(3697 ms)]
2015-10-23 20:27:33 +0300 Assertions Kernel Idle sleep preventers: IODisplayWrangler
2015-10-23 20:27:33 +0300 Notification Display is turned on
2015-10-23 20:27:33 +0300 Assertions PID 87(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd00000471 [System: DeclUser kDisp]
2015-10-23 20:27:33 +0300 Assertions PID 87(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd00000471 [System: DeclUser kDisp]
2015-10-23 20:27:36 +0300 Summary- [System: PrevIdle

MacBook, OS X El Capitan (10.11.1), Macbook 12

Posted on Oct 23, 2015 2:44 PM

Reply
145 replies

Jan 15, 2017 10:23 AM in response to Stephen Dawson1

Yeah I'm not sure why it's not doing that. Yes it's 2016 MBP. Very weird. I updated to latest OSX beta last night and haven't noticed much difference. Battery dropped 5% in 9 hours of sleep


Currently in use:

hibernatemode 3

acwake 0

lidwake 1

halfdim 1

sleep 10

ttyskeepawake 0

disksleep 10

hibernatefile /var/vm/sleepimage

gpuswitch 2

displaysleep 10


Log from last night


2017-01-15 01:10:53 -0800 Sleep Entering Sleep state due to 'Clamshell Sleep': Using Batt (Charge:99%) 32342 secs
2017-01-15 01:11:08 -0800 Assertions PID 82(apsd) Released InteractivePushServiceTask "com.apple.apsd-requestkeepaliveproxy-push.apple.com" 00:00:15 id:0x0x1200008480 [System: DeclUser kDisp]
2017-01-15 01:11:10 -0800 PM Client Acks Delays to Sleep notifications: [com.apple.apsd is slow(17964 ms)]
2017-01-15 10:09:29 -0800 Kernel Client Acks Delays to Sleep notifications: [AppleBacklightDisplay driver is slow(msg: SetState to 0)(984 ms)] [powerd is slow(17968 ms)] [UPSB driver is slow(msg: SetState to 2)(759 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(885 ms)] [RP09 driver is slow(msg: SetState to 0)(1203 ms)]
2017-01-15 10:09:29 -0800 Assertions PID 145(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd0000848b [System: DeclUser kDisp]
2017-01-15 10:09:29 -0800 Assertions Kernel Idle sleep preventers: IODisplayWrangler
2017-01-15 10:09:29 -0800 Notification Display is turned on
2017-01-15 10:09:29 -0800 Assertions PID 145(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd0000848b [System: DeclUser kDisp]
2017-01-15 10:09:55 -0800 Wake Wake from Safe Sleep [CDNVA] due to EC.LidOpen/Lid Open: Using BATT (Charge:94%)
2017-01-15 10:09:55 -0800 HibernateStats hibmode=3 standbydelay=0



I tried running "sudo pmset -b standby 1" and "sudo pmset -a standby 1" but still not seeing standby when I run pmset -g. I'm pretty sure I did see standby 1 yesterday in pmset -g before I updated to OSX beta. And scrolling in my pmset log I see this from before

2017-01-14 21:52:12 -0800 HibernateStats hibmode=3 standbydelay=10800 rd=378 ms


Apple is making some changes it seems

Jan 15, 2017 2:40 PM in response to mzaur

hibernatemode should be set to 3. Not sure whether you meant you set that to 25 or whether you set standydelay to 25. My pmset -g while on battery power is:


standbydelay 10800

standby 1

halfdim 1

hibernatefile /var/vm/sleepimage

powernap 0

gpuswitch 2

disksleep 10

sleep 5

autopoweroffdelay 28800

hibernatemode 3

autopoweroff 1

ttyskeepawake 1

displaysleep 5

acwake 0

lidwake 1


In the normal course of events, it still sounds like your machine is never going into standby. Did you notice the delay in waking in your previous tests? You could try restoring the defaults in the Energy Saver prefs panel.

Jan 15, 2017 4:01 PM in response to Stephen Dawson1

I had the battery drain on 10.12.2 as well, so I doubt it's an issue with that. I just formatted and reinstalled 10.12.2. Pmset looks ok now. I fixed the TCPwake issue and going to let it sleep for a while and see what happens. I swear I had this solved and then I decided to format and reinstall 10.12.2 to see about DND while sleep being On by default. Then I restored from Time Machine backup and noticed drain. Maybe a clean install (which is what I had before) is what's necessary to avoid this... Btw do you mind pasting what your pmset log looks like with standby working properly? And to answer your question, no I do not notice much delay when opening my laptop even after long period of sleep. I am wondering if anything was changed with 2016 MBP behavior since I did not mess with any of those settings.


$ pmset -g

Currently in use:

standbydelay 10800

standby 1

womp 1

halfdim 1

hibernatefile /var/vm/sleepimage

powernap 1

gpuswitch 2

networkoversleep 0

disksleep 10

sleep 1

autopoweroffdelay 28800

hibernatemode 3

autopoweroff 1

ttyskeepawake 1

displaysleep 10

acwake 0

lidwake 1

Jan 15, 2017 5:31 PM in response to mzaur

Were these settings on AC or battery? You have power nap on, which would definitely drain battery! Here's a log of my behaviour:


2017-01-15 22:16:56 +1100 Sleep Entering Sleep state due to 'Clamshell Sleep': Using Batt (Charge:88%) 10805 secs
2017-01-15 22:16:58 +1100 PM Client Acks Delays to Sleep notifications: [com.apple.apsd is slow(2069 ms)]
2017-01-16 01:17:00 +1100 Kernel Client Acks Delays to Sleep notifications: [AppleBacklightDisplay driver is slow(msg: SetState to 0)(984 ms)] [RP09 driver is slow(msg: SetState to 0)(1131 ms)]
2017-01-16 01:17:00 +1100 Assertions PID 177(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd000096c8 [System: DeclUser IntPrevDisp kDisp]
2017-01-16 01:17:00 +1100 Assertions PID 177(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd000096c8 [System: DeclUser IntPrevDisp kDisp]
2017-01-16 01:17:01 +1100 DarkWake DarkWake from Deep Idle [CDN] due to EC.SleepTimer/SleepTimer: Using BATT (Charge:87%) 0 secs
2017-01-16 01:17:01 +1100 HibernateStats hibmode=3 standbydelay=10800 rd=5706 ms
2017-01-16 01:17:01 +1100 Kernel Client Acks Delays to Wake notifications: [IOBluetoothHostControllerUARTTransport driver is slow(msg: SetState to 1)(1111 ms)]
2017-01-16 01:17:01 +1100 Sleep Entering Sleep state due to 'Maintenance Sleep': Using Batt (Charge:87%) 29538 secs
2017-01-16 01:17:20 +1100 Assertions PID 100(apsd) Released InteractivePushServiceTask "com.apple.apsd-wakeconnection-push.apple.com" 00:00:19 id:0x0x12000096cc [System: PrevIdle DeclUser IntPrevDisp kDisp]
2017-01-16 01:17:29 +1100 PM Client Acks Delays to Sleep notifications: [AirPort configd plug-in is slow(1314 ms)] [com.apple.apsd timed out(28001 ms)]
2017-01-16 09:28:53 +1100 Kernel Client Acks Delays to Sleep notifications: [powerd is slow(28006 ms)] [RP09 driver is slow(msg: SetState to 0)(1123 ms)] [AppleIntelFramebuffer driver is slow(msg: SetState to 2)(760 ms)] [AppleHDADriver driver is slow(msg: SetState to 1)(752 ms)]
2017-01-16 09:28:53 +1100 Assertions Kernel Idle sleep preventers: IODisplayWrangler
2017-01-16 09:28:53 +1100 Notification Display is turned on
2017-01-16 09:28:53 +1100 Assertions PID 177(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd000096d0 [System: PrevIdle DeclUser IntPrevDisp kDisp]
2017-01-16 09:28:53 +1100 Assertions PID 177(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd000096d0 [System: PrevIdle DeclUser IntPrevDisp kDisp]
2017-01-16 09:29:19 +1100 Wake Wake from Standby [CDNVA] due to EC.LidOpen/Lid Open: Using BATT (Charge:87%) 1267 secs
2017-01-16 09:29:19 +1100 HibernateStats hibmode=3 standbydelay=10800


Sleeps when I close lid, wakes up 3 hours later to go into standby, and wakes up when I open the lid with almost no battery drain...

Jan 15, 2017 5:37 PM in response to Stephen Dawson1

Powernap is only enabled when plugged in, disabled for battery. Oops I think I sent for power. Here is for battery


lidwake 1

autopoweroff 1

autopoweroffdelay 28800

standbydelay 10800

standby 1

ttyskeepawake 1

hibernatemode 3

powernap 0

gpuswitch 2

hibernatefile /var/vm/sleepimage

displaysleep 2

sleep 1

lessbright 1

halfdim 1

acwake 0

disksleep 10


Thanks for sharing. I have no idea why my computer doesn't go into standby after 3 hours. I never saw mine doing that. But i did format and reinstall, so crossing my fingers. Will post again tomorrow. Appreciate the help!

Jan 16, 2017 1:37 PM in response to Stephen Dawson1

Seems to be working now! I formatted and reinstalled 10.12.2. I have all my old programs installed, and I deleted those entries for enhanced notifications then rebooted. Left it on overnight and it's still at 100%. Checked my pmset log and I see after 3 hours that its going into standby.


I'm wondering if something got messed up before with restoring from time machine back up. Clean install seems to have fixed it.


Really hoping that when 10.12.3 rolls around, standby doesn't get broken again. It's very strange that it disappeared completely from pmset after I updated to the beta.


Anyway, thanks again for the help!

Jan 26, 2017 2:16 AM in response to Stephen Dawson1

Hello there! I've been having sleep issues for a long time, and I only managed to find a parcial fix to it (I mainly thought that the wakes should be something wrong about the Wifi) so I found a SleepWatcher script that automatically disables wifi when you go to sleep mode. This has worked in my home ( I have a 2,4Ghz router ) but in the University ( 5Ghz) the Macbook won't stop waking up from sleep to connect to the network if I didn't use the sleepwatcher script.


I've ran the wake reason log today and I found that I still got lots of wake reasons ARPT (Alarm) , Host(1x0) ,Ec.sleeptimer and things like that every minute or so. I would like to try your solution of editing the text file, but I'm afraid this will prevent my Mac from waking up if I need to ( Find My Mac mainly ).



BTW: Macbook Pro Retina 13" Early 2015 here with macOS 10.12.3


Thank you and sorry about my english!

Jan 26, 2017 1:08 PM in response to Stephen Dawson1

Is on but this is only when plugged in. Which is the "normal" behaviour for the Mac ? I mean, you are connected to a network, you close the lid and the Macbook is still connected to it or the Wifi goes off ? Today I deleted the sleepwatcher script and since the Mac doesn't have to turn on the WiFi everytime it wakes up the reconnection is very,very fast compared to how was with the script enabled.


I just want to be able to not worry about turning the wifi off and the battery drain...

Jan 26, 2017 7:49 PM in response to Nacho.

Normal behaviour is for wifi to stay on when you close the lid. Before applying the modification in this thread, the Mac will then wake up at least every 2 hours, for 12 hours. I've also seen many other wakes during this time, but not always. This ***** battery.


After applying the modification, the Mac will sleep but then go into standby (hibernation) after 3 hours. It will then sleep very peacefully!

Jan 27, 2017 9:09 PM in response to Nacho.

I think it's best if you follow the original instructions and edit from Terminal. It's not too difficult. Just start Terminal from Applications/Utilities, and enter the following commands, replacing the board ID with the one you seem to have already found:


$ sudo -s

# cd /System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/X86Plat formPlugin.kext/Contents/Resources

# cp Mac-E43C1C25D4880AD6.plist Mac-E43C1C25D4880AD6.plist.bak

# nano Mac-E43C1C25D4880AD6.plist


Nano is a text editor that works inside Terminal. You move the cursor around using the arrow keys on the keyboard, not the mouse. Use the delete key to remove the relevant section, then press the Control and X keys together to quit. When prompted, press the Y key to save the file. Hopefully this works. In any case, the "cp" command should have created a copy of the plist in case anything goes wrong.


I notice that an extra space is inserted in the PlatformPlugin line when this is formatted here, so be careful if you use cut and paste...

Jan 28, 2017 3:09 PM in response to Nacho.

Excellent! Firstly, re-enable SIP by booting into recovery mode, starting Terminal, and entering "csrutil enable". Then reboot and close the lid to sleep. Let it sleep overnight. After you wake it, you can use "pmset -g log" from Terminal to find out what it's been doing. It's possible that you will see some random wakes during the first 3 hours, but after exactly 3 hours the Mac should wake itself up, then go into standby mode. After that, you shouldn't see any more wakes until you raise the lid again. Post the log here from the point you close the lid if you like.

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 12 battery drain in sleep

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