Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Mojave: HUGE battery drain during sleep

I have 3 laptops: Macbook Air 2015, Macbook Air 2018, Macbook Pro 2015.


Both Macbook air 2015 and 2018 have Mojave updated to the latest version, the Macbook Pro has High Sierra.


If I full charge them and let them sleep over the night, in the morning I have:


Macbook Air 2015: 12-15% of battery gone

Macbook Air 2018: 5-10 % of battery gone

Macbook Pro 2015: 0% of battery gone


So, it's clear that the problem was introduced by Mojave.


I tried everything: SMC reset, NVRAM reset, clean install of Mojave, disabled useless background services. NOTHING.


The only thing that has worked was the "hibernatemode 25" setting. BUT that's just an "expedient", not a solution.


I want to have back the possibility to let the mac sleep for one week and having almost the same battery charge when i use it again, like it should be for a 1500 € laptop.


Does anyoner if Apple is aware of this problem?


I don't want to use

sudo pmset -b tcpkeepalive 0

sudo pmset hibernatemode 25


because it's not how it should work.


MacBook Air (2018 or later)

Posted on Jan 10, 2019 12:37 AM

Reply
Question marked as Best reply

Posted on Jan 10, 2019 1:12 AM

I tried most of those steps, but the problem is that I'm not the only one who noticed it, a great % of users that updated to mojave have this issue and seems that Mojave is the reason


I went to genius bar and they said: "everything is normal".


No it's not, because the laptop now loses 15% of charge over the night.



Similar questions

60 replies

Jun 12, 2019 9:34 AM in response to Gigiford

It's quite frustrating!

I did as B3N14M1N suggested and opened a bug report.

I'm still making more tests to see if I can find a better solution for the time being.

Tonight I'll test Handoff off with Power Nap disabled and Allow Bluetooth devices to interrupt sleep disabled.

My notifications are off when the lid is closed (I don't see any reason to enabled them when the lid is closed).


I'll post here the effects of these options on my battery life overnight.

Jun 13, 2019 8:40 AM in response to lcoandrade

Today 67% in the morning . Now it is 44%.

Also I noticed that when you close the lid e.g with 67% after few hours you open it, and do not login it shows 67% in the task bar.

When you login to account then it refreshes the battery % and updates for example to 44%.... Apple i call you for action.

BT OFF. WiFi ON.

Does anyone from the Apple's technician can reply to our needs?


Are there any commands to track down the reason of this issue?

I looked at /var/log/system.log and found nothing interesting.



Jun 13, 2019 10:57 AM in response to nishendu

I contributed early in this thread but unfortunately I don't have time to read all of the recent posts.


If someone has an external drive housing, or possibly even a good quality fast read/write usb stick or SD card, they could try the following and report back. (You know, one of those blazing fast SD cards that cost a hundred bucks!)


1, Install mojave on the drive but do not migrate or install any of your personal files or Applications, or set up any iCloud or email or any other kind of internet account.

2, Restart while holding down option key and select the new drive as the startup disk.

3, Go to utilities, disk utility and eject (unmount) the internal drive.

4, Go to the App store and install any updates to Mojave.

5, Test the battery drain.


And report back here. Forgive me if this has already been suggested.

Jun 14, 2019 6:37 AM in response to lcoandrade

Yesterday evening I closed all application windows, then shutdown my MacBook Pro 15" Mid 2015 with Mojave. Started it up, closed the lid, disconnected the power. Came back this morning and found out the battery percentage dropped by 5%.


Using pmset -g log I found the following: Total Sleep/Wakes since boot at 2019-06-13 21:58:33 +0200 :9


So it woke up 9 times while I expect the MacBook to just stay asleep when not on battery power.

Digging through the log from previous times my battery drained fully, I noticed this in the log:


2019-06-13 11:08:15 +0200 WakeTime WakeTime: 142956.065 sec


Usually WakeTime is just a couple of seconds but it seems that it woke and stayed awake until the battery was completely drained. This is not good.


Last night the drain was just 5%, but I think that's because I closed all other programs.


In the logs there's also a lot of entries for Carbon Copy Cloner and Time Machine backup. So I have the feeling they somehow wake up the MacBook even though I've disabled "Back up while on battery power" and also in CCC I've enabled to "Start scheduled tasks only when computer is running on AC power", which is the default.

Jun 15, 2019 12:37 AM in response to Ciccilleju

Charged fully: 100% (00:50:00)

Morning 85% ( 09:25 )

No apps running.

2019-06-15 00:50:22 +0200 Notification        Display is turned off                                                                
2019-06-15 00:50:22 +0200 Assertions          PID 392(AddressBookSourceSync) Summary PreventUserIdleSystemSleep "Address Book Source Sync" 00:00:24  id:0x0x1000080b2 [System: PrevIdle DeclUser kDisp]          
2019-06-15 00:50:22 +0200 Assertions          PID 97(hidd) Summary UserIsActive "com.apple.iohideventsystem.queue.tickle.4294967999.17" 00:00:05  id:0x0x900008026 [System: PrevIdle DeclUser kDisp]          
2019-06-15 00:50:22 +0200 Assertions          PID 76(apsd) Summary ApplePushServiceTask "com.apple.apsd-datareceived-push.apple.com" 00:00:01  id:0x0xb0000810b [System: PrevIdle DeclUser kDisp]          
2019-06-15 00:50:22 +0200 Assertions          PID 191(mds_stores) Summary BackgroundTask "com.apple.metadata.mds_stores.power" 00:00:43  id:0x0xb00008064 [System: PrevIdle DeclUser kDisp]          
2019-06-15 00:50:22 +0200 Assertions          PID 66(mds) Summary BackgroundTask "com.apple.metadata.mds.power" 00:01:01  id:0x0xb00008010 [System: PrevIdle DeclUser kDisp]          
2019-06-15 00:50:22 +0200 Assertions          Kernel Idle sleep preventers: -None-          
2019-06-15 00:50:22 +0200 Assertions          PID 56(powerd) Created InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:00  id:0x0xd0000810e [System: PrevIdle DeclUser SRPrevSleep kCPU kDisp]          
2019-06-15 00:50:26 +0200 Assertions          PID 191(mds_stores) Released BackgroundTask "com.apple.metadata.mds_stores.power" 00:00:46  id:0x0xb00008064 [System: PrevIdle DeclUser SRPrevSleep kCPU kDisp]          
2019-06-15 00:50:29 +0200 Assertions          PID 392(AddressBookSourceSync) Released PreventUserIdleSystemSleep "Address Book Source Sync" 00:00:30  id:0x0x1000080b2 [System: DeclUser SRPrevSleep kCPU kDisp]          
2019-06-15 00:50:36 +0200 Assertions          PID 66(mds) Released BackgroundTask "com.apple.metadata.mds.power" 00:01:15  id:0x0xb00008010 [System: DeclUser SRPrevSleep kCPU kDisp]          
2019-06-15 00:50:37 +0200 Assertions          PID 56(powerd) TimedOut InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:15  id:0x0xd0000810e [System: DeclUser SRPrevSleep kCPU kDisp]          
2019-06-15 00:50:37 +0200 Assertions          Summary- [System: DeclUser kDisp] Using Batt(Charge: 100)          
2019-06-15 00:50:37 +0200 Sleep               Entering Sleep state due to 'Clamshell Sleep': Using Batt (Charge:100%) 30905 secs
2019-06-15 00:50:40 +0200 PM Client Acks      Delays to Sleep notifications: [com.apple.apsd is slow(2955 ms)]           
2019-06-15 09:25:42 +0200 Kernel Client Acks  Delays to Sleep notifications: [AppleIntelFramebuffer driver is slow(msg: SetState to 1)(1423 ms)] [AppleThunderboltNHIType2 driver is slow(msg: WillChangeState to 2)(437 ms)] [RP03 driver is slow(msg: SetState to 0)(1009 ms)]           
2019-06-15 09:25:42 +0200 Assertions          Kernel Idle sleep preventers: IODisplayWrangler          
2019-06-15 09:25:42 +0200 Notification        Display is turned on                                                                 
2019-06-15 09:25:42 +0200 Assertions          PID 166(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd0000812e [System: PrevIdle DeclUser kDisp]          
2019-06-15 09:25:42 +0200 Assertions          PID 166(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd0000812e [System: PrevIdle DeclUser kDisp]          
2019-06-15 09:25:42 +0200 Wake                Wake from Deep Idle [CDNVA] due to EC.LidOpen/Lid Open: Using BATT (Charge:83%)           
Total Sleep/Wakes since boot at 2019-06-15 00:49:12 +0200 :1

For me there is nothing in the log which is suspicious. Maybe someone can see more.

Thanks for any help

Jun 18, 2019 4:51 AM in response to Ciccilleju

I tried with sudo pmset hibernatemode 25 but the MacBook still wakes up from sleep. Last night it woke 10 times over a 16 hour period. So for me it's not solved by setting hibernatemode to 25 and it seems to influence how connected USB drives are handled when going to sleep. Before hibernatemode 25 I didn't have any issues closing my MacBook with a connected USB drive. But now when I open the MacBook I get the "Disk not ejected properly" warning.


I'll try also with sudo pmset -b tcpkeepalive 0 but I don't think it's going to solve my issue. I just want the MacBook to stay asleep as long as the lid is closed.

Jun 19, 2019 2:30 AM in response to Ciccilleju

Last night the battery stayed at 100% using the suggested workaround:


sudo pmset -b tcpkeepalive 0

sudo pmset hibernatemode 25


I'm seeing a pattern in my wake events. Carbon Copy Cloner is definitely waking the MacBook every 2 hours. I've got a backup task scheduled to run every 2 hours, but only when the system is running on AC power. So I guess CCC wakes the MacBook to check if it's on AC and then go back to sleep. Which is fine I guess, now that it won't stay awake for long and not drain super quickly.


I'm going to try also without sudo pmset hibernatemode 25 to see if that's enough. Strangely I didn't yet encounter any "Disk Not Ejected Properly" warnings, which I was getting yesterday. So if that doesn't show up again, I'm fine with the workaround for now.

Jun 20, 2019 9:10 AM in response to Ciccilleju

I've noticed my macbook is logging several "DarkWake from Standby [CDN] due to ARPT/Network: Using BATT" activities. I'm also getting several logs of "driver is slow".

2019-06-20 11:05:57 -0300 PM Client Acks      	Delays to Sleep notifications: [mDNSResponder is slow(5015 ms)] [com.apple.apsd is slow(17580 ms)]           
2019-06-20 11:14:52 -0300 Kernel Client Acks  	Delays to Sleep notifications: [powerd is slow(17587 ms)] [UPSB driver is slow(msg: SetState to 2)(956 ms)] [UPSB driver is slow(msg: SetState to 2)(955 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(1081 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(1081 ms)]           
2019-06-20 11:14:52 -0300 Assertions          	PID 164(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd00009f8a [System: PrevIdle]          
2019-06-20 11:14:52 -0300 Assertions          	PID 164(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd00009f8a [System: PrevIdle]          
2019-06-20 11:14:52 -0300 DarkWake            	DarkWake from Standby [CDN] due to RTC/Maintenance: Using BATT (Charge:60%) 1 secs    
2019-06-20 11:14:52 -0300 HibernateStats      	hibmode=25 standbydelay=10800                                              	          rd=286 ms 	
2019-06-20 11:14:52 -0300 WakeTime            	WakeTime: 3.934 sec

Does anyone have any ideas?

Jun 21, 2019 8:34 AM in response to Ciccilleju

I had exactly the same problem on my MBP 2015

Would ordinarily get 9-11 hours use out of it on high Sierra and wouldn't drop percentage overnight if I left it on sleep. On Mojave it would drop down to 40% regularly overnight and I would be lucky to get 3 hours out of it.

Downgraded back to high Sierra and battery life was restored to what it was pre upgrade.

Pretty obvious its Mojave that was causing my problem and I have no intention to upgrade back to it because its just a bit crap really

Mojave: HUGE battery drain during sleep

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