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

Fishrrman

macrumors Penryn
Feb 20, 2009
29,046
13,076
I've said this before in other postings, I'll repeat.
The new MBPro's boot so quickly, why bother to "sleep it" at night?
Just shut down.
No power loss.
 

joenor

macrumors newbie
Dec 22, 2016
10
10
I tried turning off wifi tonight, and no battery drain. Just one (1) occurrence of

2017-01-08 03:14:28 +0100 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:57%) 27266 secs

between 0014 and 1048. How ever I have had nights with almost no battery drain before without turning of wifi, so can't say for sure yet. I will do further testing on this and report back. Jun180 maybe try the same, and see if we get similar results?

EDIT:
This is everything in the log between Closing the lid last night, and opening the lid this morning:

2017-01-08 00:14:23 +0100 Sleep Entering Sleep state due to 'Clamshell Sleep':TCPKeepAlive=active Using Batt (Charge:58%) 10805 secs
2017-01-08 00:14:26 +0100 Wake Requests [*proc=powerd request=TCPKATurnOff inDelta=43227]
2017-01-08 00:14:26 +0100 PM Client Acks Delays to Sleep notifications: [com.apple.apsd is slow(2495 ms)]
2017-01-08 03:14:27 +0100 Kernel Client Acks Delays to Sleep notifications: [AppleBacklightDisplay driver is slow(msg: SetState to 0)(984 ms)] [UPSB driver is slow(msg: SetState to 2)(759 ms)] [UPSB driver is slow(msg: SetState to 2)(761 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(911 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(911 ms)]
2017-01-08 03:14:27 +0100 Assertions PID 148(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd00009781 [System: DeclUser kDisp]
2017-01-08 03:14:28 +0100 DarkWake DarkWake from Deep Idle [CDN] due to EC.SleepTimer/SleepTimer: Using BATT (Charge:57%) 0 secs
2017-01-08 03:14:28 +0100 HibernateStats hibmode=3 standbydelay=10800 rd=301 ms
2017-01-08 03:14:28 +0100 Kernel Client Acks Delays to Wake notifications: [IOBluetoothHostControllerUARTTransport driver is slow(msg: SetState to 1)(386 ms)] [UPSB driver is slow(msg: SetState to 2)(762 ms)] [UPSB driver is slow(msg: SetState to 2)(757 ms)]
2017-01-08 03:14:28 +0100 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:57%) 27266 secs
2017-01-08 03:14:29 +0100 Assertions PID 148(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:02 id:0x0xd00009781 [System: DeclUser kDisp]
2017-01-08 03:14:32 +0100 Wake Requests [*proc=powerd request=TCPKATurnOff inDelta=32422]
2017-01-08 03:14:32 +0100 PM Client Acks Delays to Sleep notifications: [com.apple.apsd is slow(1826 ms)] [mDNSResponder is slow(3819 ms)]
2017-01-08 10:48:28 +0100 Kernel Client Acks Delays to Sleep notifications: [RP12 driver is slow(msg: SetState to 2)(353 ms)] [AirPort_Brcm4360 driver is slow(msg: SetState to 2)(315 ms)] [RP12 driver is slow(msg: SetState to 1)(1199 ms)] [powerd is slow(3824 ms)] [IOBluetoothHostControllerUARTTransport driver is slow(msg: SetState to 0)(512 ms)] [IOBluetoothHostControllerUARTTransport driver is slow(msg: SetState to 1)(377 ms)] [UPSB driver is slow(msg: SetState to 2)(508 ms)] [UPSB driver is slow(msg: SetState to 2)(510 ms)] [HDEF driver is slow(msg: SetState to 2)(543 ms)] [IGPU driver is slow(msg: SetState to 2)(558 ms)]
2017-01-08 10:48:28 +0100 Assertions Kernel Idle sleep preventers: IODisplayWrangler
2017-01-08 10:48:28 +0100 Notification Display is turned on
2017-01-08 10:48:29 +0100 Assertions PID 148(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd00009787 [System: DeclUser kDisp]
2017-01-08 10:48:29 +0100 Assertions PID 148(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd00009787 [System: DeclUser kDisp]
2017-01-08 10:48:48 +0100 Assertions PID 598(com.apple.WebKit.WebContent) Created PreventUserIdleDisplaySleep "com.apple.WebCore: HTMLMediaElement playback" 00:00:00 id:0x0x5000097a1 [System: PrevIdle PrevDisp DeclUser kDisp]
2017-01-08 10:48:50 +0100 Assertions PID 46(powerd) TurnedOn InternalPreventDisplaySleep "com.apple.powermanagement.delayDisplayOff" 00:00:00 id:0x0x100000816c [System: PrevIdle PrevDisp DeclUser IntPrevDisp kDisp]
2017-01-08 10:48:50 +0100 Assertions PID 598(com.apple.WebKit.WebContent) Released PreventUserIdleDisplaySleep "com.apple.WebCore: HTMLMediaElement playback" 00:00:01 id:0x0x5000097a1 [System: PrevIdle DeclUser IntPrevDisp kDisp]
2017-01-08 10:48:51 +0100 Assertions PID 598(com.apple.WebKit.WebContent) Created PreventUserIdleDisplaySleep "com.apple.WebCore: HTMLMediaElement playback" 00:00:00 id:0x0x5000097a6 [System: PrevIdle PrevDisp DeclUser IntPrevDisp kDisp]
2017-01-08 10:48:54 +0100 Wake Wake from Standby [CDNVA] due to EC.LidOpen XHC1/Lid Open: Using BATT (Charge:55%)
 
  • Like
Reactions: precision01

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,390
16,054
California
I tried turning off wifi tonight, and no battery drain.

So it sure looks like something over wifi pulling it out of stand by then I guess. Any way you can turn on wifi then turn off every single other wifi or ethernet device in the house and try that for a night? Maybe one of your other devices is sending wake on lan packets out.
 

joenor

macrumors newbie
Dec 22, 2016
10
10
So it sure looks like something over wifi pulling it out of stand by then I guess. Any way you can turn on wifi then turn off every single other wifi or ethernet device in the house and try that for a night? Maybe one of your other devices is sending wake on lan packets out.

Yes I will try. It just seems strange if this is the problem, because my 2013 MBA didn't have this problem, with same macOS, and every other same wifi device. But I will try and post results.
 

precision01

macrumors regular
Original poster
Oct 16, 2014
110
83
Op, are both machines on 10.12.2?
Yes, mine is on 10.12.2
[doublepost=1483994687][/doublepost]
Yes I will try. It just seems strange if this is the problem, because my 2013 MBA didn't have this problem, with same macOS, and every other same wifi device. But I will try and post results.

I will try something different tonight: I will keep macbook's wifi enabled, but I will turn off wireless router and ISP modem.
 
  • Like
Reactions: Weaselboy

precision01

macrumors regular
Original poster
Oct 16, 2014
110
83
Yes, mine is on 10.12.2
[doublepost=1483994687][/doublepost]

I will try something different tonight: I will keep macbook's wifi enabled, but I will turn off wireless router and ISP modem.

I did the test (keep macbook's wifi enabled, but I will turn off wireless router and ISP modem), and battery drain overnight (10 hours) was about 3%, even with dozens wifi networks nearby (i live in an apartment). So, the issue seems to be all related to some misterious work macbook does via internet when "sleeping".

Other than standard apple apps, the only apps I have installed are from Adobe CC, like Illustrator, Photoshop, inDesign and so on... But I don't think it is related to adobe, because I have had this issues since first use of this machine.
 
  • Like
Reactions: Weaselboy

MrGuder

macrumors 68040
Nov 30, 2012
3,030
2,014
I got my 2016 2.6 512 yesterday and last night used it about 4 hrs and did a shut down noticed it was at 41% battery. When I woke up I turned it on to find it still showed 41% I didn't have any time to use it but I just wanted to see if it still showed what I had last night. So right after that I decided instead of shutting it down I would just close the lid for sleep and left activity monitor open. When I came home from work and opened it the battery went down to 34% so I lost 7% in 10 hrs. Is that normal for sleep mode for 10 hrs? Maybe activity monitor used 7% battery? I had nothing else open it running.
 

WhiteWhaleHolyGrail

macrumors 6502a
Nov 14, 2016
620
426
I was getting minor drain of around 2% per night but since turning off notifications whilst the screen is off and/or the machine is in night mode the battery is keeping its charge.
 

MrGuder

macrumors 68040
Nov 30, 2012
3,030
2,014
Can someone tell me if hitting the sleep on the menu drop down box before you close the lid is that the same as just closing the lid to the MacBook Pro?
 

MrGuder

macrumors 68040
Nov 30, 2012
3,030
2,014
Exact same end result.
Thank you. I used the menu then sleep last night and then plugged in, I unplugged this morning but didn't have time to open it or use it so when I get home from work tonight I'm going to see if I lost any battery since I turned off notifications yesterday. It technically should still be in sleep mode since I haven't opened it after I unplugged this am.
 

MrGuder

macrumors 68040
Nov 30, 2012
3,030
2,014
System preferences > notifications
I just wanted to post an update, I turned off notifications yesterday and then put my Mac to sleep last night with it plugged in overnight. I unplugged this morning but never opened the laptop. I just opened my MacBook about an hour ago for the first time today and can confirm my battery was showing 100% so this worked turning off notifications. Before I had notifications turned on and when I put it to sleep I lost 7% in battery so this fixed it for me.
 
  • Like
Reactions: WhiteWhaleHolyGrail

Blizzardman

macrumors regular
Apr 7, 2010
229
338
Gilbert, Arizona
I just wanted to post an update, I turned off notifications yesterday and then put my Mac to sleep last night with it plugged in overnight. I unplugged this morning but never opened the laptop. I just opened my MacBook about an hour ago for the first time today and can confirm my battery was showing 100% so this worked turning off notifications. Before I had notifications turned on and when I put it to sleep I lost 7% in battery so this fixed it for me.

What do you mean by turning notifications off? Turning them off completely or changing the notification settings?
 

Littleluk

macrumors newbie
Dec 22, 2016
9
0
Tried the logging today, laptop went unplugged with 49% and woke up with 43%. PowerNap is disabled when on battery, yet the log shows the machine constantly wakes up? What is TCPKeepAlive? I just checked, PowerNap is disabled.

2017-01-11 23:12:48 +0100 Sleep Entering Sleep state due to 'Clamshell Sleep':TCPKeepAlive=active Using Batt (Charge:49%) 2931 secs
2017-01-12 00:01:43 +0100 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:49%) 3238 secs
2017-01-12 00:55:45 +0100 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:48%) 8 secs
2017-01-12 00:55:58 +0100 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:48%) 3226 secs
2017-01-12 01:49:48 +0100 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:47%) 1388 secs
2017-01-12 02:13:00 +0100 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:47%) 2012 secs
2017-01-12 02:46:37 +0100 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:47%) 3264 secs
2017-01-12 03:41:06 +0100 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:46%) 3264 secs
2017-01-12 04:35:30 +0100 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:46%) 326 secs
2017-01-12 04:40:56 +0100 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:46%) 2975 secs
2017-01-12 05:30:31 +0100 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:45%) 298 secs
2017-01-12 05:35:34 +0100 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:45%) 2997 secs
2017-01-12 06:25:31 +0100 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:45%) 298 secs
2017-01-12 06:30:29 +0100 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:45%) 3000 secs
2017-01-12 07:20:29 +0100 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:45%) 300 secs
2017-01-12 07:25:29 +0100 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:45%) 2998 secs
2017-01-12 08:15:27 +0100 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:44%) 300 secs
2017-01-12 08:20:27 +0100 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:44%) 2998 secs
2017-01-12 09:10:25 +0100 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:44%) 49 secs
2017-01-12 09:11:14 +0100 Wake Wake from Standby [CDNVA] due to EC.LidOpen XHC1/Lid Open: Using BATT (Charge:43%)
 

sidewinder

macrumors 68020
Dec 10, 2008
2,425
130
Northern California
LittleLuk,

Post #58 in this thread has the solution to the problem you are seeing. I had the same issue and the steps outlined in the link I posted in post #58 fixed it. There are no downsides to the fix that I can see, find, or experienced.
 

Littleluk

macrumors newbie
Dec 22, 2016
9
0
LittleLuk,

Post #58 in this thread has the solution to the problem you are seeing. I had the same issue and the steps outlined in the link I posted in post #58 fixed it. There are no downsides to the fix that I can see, find, or experienced.
Thanks, trying that out :)
 

MrGuder

macrumors 68040
Nov 30, 2012
3,030
2,014
What do you mean by turning notifications off? Turning them off completely or changing the notification settings?
Just the notification settings and only for when it's a sleep there's a check box for that. This should be set as default.
 

swamyg1

macrumors regular
Dec 11, 2007
234
76
Just the notification settings and only for when it's a sleep there's a check box for that. This should be set as default.

Do you mean the setting "Show notifications on lock screen"?

I don't see anything about "sleep" here specifically.
 
  • Like
Reactions: Blizzardman
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.