0

For some time now I cannot left my MacBook Pro unplugged while I close the lid, or the battery will get empty overnight.

I have MacOs 10.14.4 (18E226) on a MacBook Pro (13-inch, 2017, Four Thunderbolt 3 Ports).

If I run pmset -g log, I see that indeed it is busy all night doing the same thing, but it's not clear to me what it is. How do I locate the actual reason? Also is it possible to tell the OS that when I put it to sleep I really mean it, like I don't want anything, no matter what, to awake the laptop?

2019-04-11 03:07:16 +0100 HibernateStats        hibmode=3 standbydelay=10800                                                              1930
2019-04-11 03:07:16 +0100 WakeTime              WakeTime: 1.861 sec
2019-04-11 03:07:16 +0100 Kernel Client Acks    Delays to Wake notifications: [RP12 driver is slow(msg: SetState to 2)(359 ms)] [IOBluetoothHostControllerUARTTransport driver is slow(msg: SetState to 1)
(638 ms)] [AirPort_BrcmNIC driver is slow(msg: SetState to 2)(300 ms)] [UPSB driver is slow(msg: SetState to 2)(955 ms)] [UPSB driver is slow(msg: SetState to 2)(955 ms)] [XHC3 driver is slow(msg: SetSt
ate to 2)(656 ms)]
2019-04-11 03:07:33 +0100 Assertions            PID 91(timed) Released NoIdleSleepAssertion "com.apple.timed.ntp" 00:00:17  id:0x0x1000084c8 [System: SRPrevSleep kCPU]
2019-04-11 03:08:01 +0100 Assertions            PID 64(powerd) Released InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:45  id:0x0xd000084c7 [System: No Assertions]
2019-04-11 03:08:01 +0100 Sleep                 Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=inactive Using Batt (Charge:20%) 6 secs
2019-04-11 03:08:03 +0100 Wake Requests         [*proc=powerd request=TCPKATurnOff inDelta=27205]
2019-04-11 03:08:03 +0100 PM Client Acks        Delays to Sleep notifications: [com.apple.apsd is slow(1945 ms)]
2019-04-11 03:08:06 +0100 Kernel Client Acks    Delays to Sleep notifications: [DSB1 driver is slow(msg: SetState to 2)(659 ms)] [DSB4 driver is slow(msg: SetState to 2)(659 ms)] [DSB0 driver is slow(ms
g: SetState to 2)(658 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(774 ms)] [UPSB driver is slow(msg: SetState to 2)(948 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(1072
 ms)] [RP12 driver is slow(msg: SetState to 0)(1204 ms)]
2019-04-11 03:08:06 +0100 Assertions            PID 165(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd000084d6 [System: No Assertions]
2019-04-11 03:08:06 +0100 Assertions            PID 165(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd000084d6 [System: No Assertions]
2019-04-11 03:08:07 +0100 Assertions            PID 64(powerd) Created InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:00  id:0x0xd000084d7 [System: No Assertions]
2019-04-11 03:08:07 +0100 DarkWake              DarkWake from Deep Idle [CDN] due to EC.DarkPME/Maintenance: Using BATT (Charge:20%) 45 secs
2019-04-11 03:08:07 +0100 WakeDetails           DriverReason:XHC3 - DriverDetails:                                                                                                                        2019-04-11 03:08:07 +0100 HibernateStats        hibmode=3 standbydelay=10800                                                              1931
2019-04-11 03:08:07 +0100 WakeTime              WakeTime: 1.854 sec
2019-04-11 03:08:07 +0100 Kernel Client Acks    Delays to Wake notifications: [RP12 driver is slow(msg: SetState to 2)(360 ms)] [AirPort_BrcmNIC driver is slow(msg: SetState to 2)(331 ms)] [UPSB driver
is slow(msg: SetState to 2)(957 ms)] [UPSB driver is slow(msg: SetState to 2)(957 ms)] [XHC3 driver is slow(msg: SetState to 2)(653 ms)]
2019-04-11 03:08:27 +0100 Assertions            PID 91(timed) Released NoIdleSleepAssertion "com.apple.timed.ntp" 00:00:18  id:0x0x1000084dc [System: SRPrevSleep kCPU]
2019-04-11 03:08:52 +0100 Assertions            PID 64(powerd) Released InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:45  id:0x0xd000084d7 [System: No Assertions]
2019-04-11 03:08:52 +0100 Sleep                 Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=inactive Using Batt (Charge:20%) 7 secs
2019-04-11 03:08:54 +0100 Wake Requests         [*proc=powerd request=TCPKATurnOff inDelta=27153]
2019-04-11 03:08:54 +0100 PM Client Acks        Delays to Sleep notifications: [com.apple.apsd is slow(1952 ms)]
2019-04-11 03:08:57 +0100 Kernel Client Acks    Delays to Sleep notifications: [DSB1 driver is slow(msg: SetState to 2)(658 ms)] [DSB4 driver is slow(msg: SetState to 2)(658 ms)] [DSB0 driver is slow(ms
g: SetState to 2)(657 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(774 ms)] [UPSB driver is slow(msg: SetState to 2)(951 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(1073
 ms)] [RP12 driver is slow(msg: SetState to 0)(1211 ms)]
2019-04-11 03:08:57 +0100 Assertions            PID 165(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd000084e7 [System: No Assertions]
2019-04-11 03:08:57 +0100 Assertions            PID 165(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd000084e7 [System: No Assertions]
2019-04-11 03:08:59 +0100 Assertions            PID 64(powerd) Created InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:00  id:0x0xd000084ea [System: PrevIdle]
2019-04-11 03:08:59 +0100 DarkWake              DarkWake from Deep Idle [CDN] due to EC.DarkPME/Maintenance: Using BATT (Charge:19%) 45 secs
2019-04-11 03:08:59 +0100 WakeDetails           DriverReason:XHC3 - DriverDetails:
2019-04-11 03:08:59 +0100 HibernateStats        hibmode=3 standbydelay=10800                                                              1932
2019-04-11 03:08:59 +0100 WakeTime              WakeTime: 1.858 sec
2019-04-11 03:08:59 +0100 Kernel Client Acks    Delays to Wake notifications: [RP12 driver is slow(msg: SetState to 2)(365 ms)] [AirPort_BrcmNIC driver is slow(msg: SetState to 2)(300 ms)] [UPSB driver
is slow(msg: SetState to 2)(957 ms)] [UPSB driver is slow(msg: SetState to 2)(957 ms)] [XHC3 driver is slow(msg: SetState to 2)(653 ms)]

It's basically these lines that keep repeating:

2019-04-11 03:08:01 +0100 Sleep                 Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=inactive Using Batt (Charge:20%) 6 secs
2019-04-11 03:08:03 +0100 Wake Requests         [*proc=powerd request=TCPKATurnOff inDelta=27205]
2019-04-11 03:08:03 +0100 PM Client Acks        Delays to Sleep notifications: [com.apple.apsd is slow(1945 ms)]
2019-04-11 03:08:06 +0100 Kernel Client Acks    Delays to Sleep notifications: [DSB1 driver is slow(msg: SetState to 2)(659 ms)] [DSB4 driver is slow(msg: SetState to 2)(659 ms)] [DSB0 driver is slow(ms
g: SetState to 2)(658 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(774 ms)] [UPSB driver is slow(msg: SetState to 2)(948 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(1072
 ms)] [RP12 driver is slow(msg: SetState to 0)(1204 ms)]
2019-04-11 03:08:06 +0100 Assertions            PID 165(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd000084d6 [System: No Assertions]
2019-04-11 03:08:06 +0100 Assertions            PID 165(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd000084d6 [System: No Assertions]
2019-04-11 03:08:07 +0100 Assertions            PID 64(powerd) Created InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:00  id:0x0xd000084d7 [System: No Assertions]
2019-04-11 03:08:07 +0100 DarkWake              DarkWake from Deep Idle [CDN] due to EC.DarkPME/Maintenance: Using BATT (Charge:20%) 45 secs
2019-04-11 03:08:07 +0100 WakeDetails           DriverReason:XHC3 - DriverDetails:                                                                                                                        2019-04-11 03:08:07 +0100 HibernateStats        hibmode=3 standbydelay=10800                                                              1931
2019-04-11 03:08:07 +0100 WakeTime              WakeTime: 1.854 sec
2019-04-11 03:08:07 +0100 Kernel Client Acks    Delays to Wake notifications: [RP12 driver is slow(msg: SetState to 2)(360 ms)] [AirPort_BrcmNIC driver is slow(msg: SetState to 2)(331 ms)] [UPSB driver
is slow(msg: SetState to 2)(957 ms)] [UPSB driver is slow(msg: SetState to 2)(957 ms)] [XHC3 driver is slow(msg: SetState to 2)(653 ms)]
2019-04-11 03:08:27 +0100 Assertions            PID 91(timed) Released NoIdleSleepAssertion "com.apple.timed.ntp" 00:00:18  id:0x0x1000084dc [System: SRPrevSleep kCPU]
2019-04-11 03:08:52 +0100 Assertions            PID 64(powerd) Released InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:45  id:0x0xd000084d7 [System: No Assertions]

You must log in to answer this question.

Browse other questions tagged .