2

My MacBook Pro 15" 2018, running macOS Mojave 10.14.5, is losing about 10% battery overnight, despite the lid being closed. Here is the output of pmset -g log, from the time I closed the lid yesterday at 17:34 at 62% battery until I opened it today at 07:43 at 53% battery:

2019-07-03 17:34:23 -0300 Notification          Display is turned off
2019-07-03 17:34:23 -0300 Assertions            PID 5253(fud) Summary PreventUserIdleSystemSleep "com.apple.MobileAccessoryUpdater.SleepAssertionID.ModalClient" 00:00:01  id:0x0x1000083b5 [System: PrevIdle DeclUser kDisp]
2019-07-03 17:34:23 -0300 Assertions            PID 345(sharingd) Summary PreventUserIdleSystemSleep "Handoff" 00:04:17  id:0x0x100008322 [System: PrevIdle DeclUser kDisp]
2019-07-03 17:34:23 -0300 Assertions            PID 110(hidd) Summary UserIsActive "com.apple.iohideventsystem.queue.tickle.4294994752.11" 00:00:15  id:0x0x90000a114 [System: PrevIdle DeclUser kDisp]
2019-07-03 17:34:23 -0300 Assertions            PID 84(apsd) Summary ApplePushServiceTask "com.apple.apsd-lastpowerassertionlinger" 00:00:00  id:0x0xb000083b7 [System: PrevIdle DeclUser kDisp]
2019-07-03 17:34:23 -0300 Assertions            Kernel Idle sleep preventers: -None-
2019-07-03 17:34:23 -0300 Assertions            PID 345(sharingd) Released PreventUserIdleSystemSleep "Handoff" 00:04:18  id:0x0x100008322 [System: PrevIdle DeclUser kDisp]
2019-07-03 17:34:23 -0300 Assertions            PID 59(powerd) Created InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:00  id:0x0xd000083b9 [System: PrevIdle DeclUser SRPrevSleep kCPU kDisp]
2019-07-03 17:34:38 -0300 Assertions            PID 59(powerd) TimedOut InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:15  id:0x0xd000083b9 [System: DeclUser SRPrevSleep kCPU kDisp]
2019-07-03 17:34:38 -0300 Sleep                 Entering Sleep state due to 'Clamshell Sleep':TCPKeepAlive=active Using Batt (Charge:62%) 570 secs
2019-07-03 17:34:43 -0300 Wake Requests         [*proc=mDNSResponder request=Maintenance inDelta=7200] [proc=powerd request=AdaptiveWake inDelta=43200] [proc=powerd request=TCPKATurnOff inDelta=43255]
2019-07-03 17:34:43 -0300 PM Client Acks        Delays to Sleep notifications: [com.apple.apsd is slow(4990 ms)] [mDNSResponder is slow(5006 ms)]
2019-07-03 17:44:07 -0300 Kernel Client Acks    Delays to Sleep notifications: [AppleIntelFramebuffer driver is slow(msg: SetState to 1)(1927 ms)] [powerd is slow(5007 ms)] [UPSB driver is slow(msg: SetState to 2)(931 ms)] [UPSB driver is slow(msg: SetState to 2)(933 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(1049 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(1049 ms)] [AppleUSBVHCIBCE driver is slow(msg: SetState to 1)(322 ms)] [RP01 driver is slow(msg: SetState to 0)(1012 ms)]
2019-07-03 17:44:07 -0300 Assertions            PID 184(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd000083d0 [System: DeclUser kDisp]
2019-07-03 17:44:07 -0300 Assertions            PID 184(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd000083d0 [System: PrevIdle DeclUser kDisp]
2019-07-03 17:44:08 -0300 Assertions            PID 59(powerd) Created InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:00  id:0x0xd000083d3 [System: DeclUser kDisp]
2019-07-03 17:44:08 -0300 DarkWake              DarkWake from Normal Sleep [CDN] due to EC.ARPT/Maintenance: Using BATT (Charge:62%) 20 secs
2019-07-03 17:44:08 -0300 HibernateStats        hibmode=3 standbydelay=10800                                                          rd=432 ms
2019-07-03 17:44:08 -0300 WakeTime              WakeTime: 2.272 sec
2019-07-03 17:44:08 -0300 Kernel Client Acks    Delays to Wake notifications: [UPSB driver is slow(msg: SetState to 2)(544 ms)] [UPSB driver is slow(msg: SetState to 2)(543 ms)] [ADIO driver is slow(msg: SetState to 2)(541 ms)] [Apple Internal Keyboard / Trackpad driver is slow(msg: DidChangeState to 2)(706 ms)] [AMDFramebufferVIB driver is slow(msg: SetState to 1)(397 ms)]
2019-07-03 17:44:23 -0300 Assertions            PID 59(powerd) Released InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:14  id:0x0xd000083d3 [System: DeclUser IPushSrvc kCPU kDisp]
2019-07-03 17:44:28 -0300 Assertions            PID 84(apsd) Released InteractivePushServiceTask "com.apple.apsd-wakeconnection-push.apple.com" 00:00:19  id:0x0x12000083d6 [System: DeclUser kDisp]
2019-07-03 17:44:28 -0300 Sleep                 Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:62%) 1519 secs
2019-07-03 17:44:37 -0300 Assertions            PID 84(apsd) Released ApplePushServiceTask "com.apple.apsd-connectionestablish-push.apple.com" 00:00:30  id:0x0xb000083d2 [System: DeclUser IPushSrvc kCPU kDisp]
2019-07-03 17:44:56 -0300 Wake Requests         [*proc=mDNSResponder request=Maintenance inDelta=7172] [proc=powerd request=AdaptiveWake inDelta=43200] [proc=powerd request=TCPKATurnOff inDelta=42642]
2019-07-03 17:44:56 -0300 PM Client Acks        Delays to Sleep notifications: [AirPort configd plug-in is slow(11972 ms)] [com.apple.apsd timed out(28006 ms)]
2019-07-03 18:09:46 -0300 Kernel Client Acks    Delays to Sleep notifications: [powerd is slow(28010 ms)] [UPSB driver is slow(msg: SetState to 2)(954 ms)] [UPSB driver is slow(msg: SetState to 2)(950 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(1102 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(1103 ms)] [AppleIntelFramebuffer driver is slow(msg: SetState to 0)(342 ms)] [AMDFramebufferVIB driver is slow(msg: SetState to 0)(341 ms)] [AVExFramebuffer driver is slow(msg: SetState to 0)(341 ms)] [AppleUSBVHCIBCE driver is slow(msg: SetState to 1)(317 ms)] [RP01 driver is slow(msg: SetState to 0)(1015 ms)]
2019-07-03 18:09:46 -0300 Assertions            PID 184(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd000083e3 [System: DeclUser IPushSrvc kCPU kDisp]
2019-07-03 18:09:46 -0300 Assertions            PID 184(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd000083e3 [System: DeclUser IPushSrvc kCPU kDisp]
2019-07-03 18:09:47 -0300 Assertions            PID 59(powerd) Created InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:00  id:0x0xd000083e4 [System: DeclUser IPushSrvc kCPU kDisp]
2019-07-03 18:09:47 -0300 DarkWake              DarkWake from Normal Sleep [CDN] due to EC.ARPT/Maintenance: Using BATT (Charge:62%) 58 secs
2019-07-03 18:09:47 -0300 HibernateStats        hibmode=3 standbydelay=10800                                                          rd=432 ms
2019-07-03 18:09:47 -0300 WakeTime              WakeTime: 2.322 sec
2019-07-03 18:09:47 -0300 Kernel Client Acks    Delays to Wake notifications: [UPSB driver is slow(msg: SetState to 2)(547 ms)] [UPSB driver is slow(msg: SetState to 2)(550 ms)] [ADIO driver is slow(msg: SetState to 2)(546 ms)] [IOBluetoothHostControllerUARTTransport driver is slow(msg: SetState to 1)(649 ms)] [Apple Internal Keyboard / Trackpad driver is slow(msg: WillChangeState to 2)(705 ms)] [AMDFramebufferVIB driver is slow(msg: SetState to 1)(389 ms)]
2019-07-03 18:09:55 -0300 Assertions            PID 84(apsd) Released InteractivePushServiceTask "com.apple.apsd-connectionestablish-push.apple.com" 00:25:17  id:0x0x12000083de [System: DeclUser SRPrevSleep IPushSrvc kCPU kDisp]
2019-07-03 18:09:57 -0300 Assertions            PID 59(powerd) Released InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:09  id:0x0xd000083e4 [System: DeclUser IPushSrvc kCPU kDisp]
2019-07-03 18:10:07 -0300 Assertions            PID 84(apsd) Released InteractivePushServiceTask "com.apple.apsd-wakeconnection-push.apple.com" 00:00:19  id:0x0x12000083e7 [System: DeclUser IPushSrvc kCPU kDisp]
2019-07-03 18:10:21 -0300 Assertions            PID 84(apsd) Released InteractivePushServiceTask "com.apple.apsd-connectionestablish-push.apple.com" 00:00:23  id:0x0x12000083e8 [System: DeclUser IPushSrvc kCPU kDisp]
2019-07-03 18:10:23 -0300 Assertions            PID 881(iTunes) Created NetworkClientActive "com.apple.iTunes.server" 00:00:00  id:0x0x11000083f2 [System: DeclUser NetAcc IPushSrvc kCPU kDisp]
2019-07-03 18:10:43 -0300 Assertions            PID 84(apsd) Released InteractivePushServiceTask "com.apple.apsd-waitingformessages-push.apple.com" 00:00:20  id:0x0x12000083f1 [System: DeclUser NetAcc IPushSrvc kCPU kDisp]
2019-07-03 18:10:45 -0300 Sleep                 Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:62%) 7209 secs
2019-07-03 18:10:50 -0300 Wake Requests         [*proc=mDNSResponder request=Maintenance inDelta=7200] [proc=powerd request=AdaptiveWake inDelta=43200] [proc=powerd request=TCPKATurnOff inDelta=41088]
2019-07-03 18:10:50 -0300 PM Client Acks        Delays to Sleep notifications: [com.apple.apsd is slow(1999 ms)] [mDNSResponder is slow(5014 ms)]
2019-07-03 20:10:53 -0300 Kernel Client Acks    Delays to Sleep notifications: [powerd is slow(5019 ms)] [UPSB driver is slow(msg: SetState to 2)(948 ms)] [UPSB driver is slow(msg: SetState to 2)(950 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(1100 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(1102 ms)] [AppleIntelFramebuffer driver is slow(msg: SetState to 0)(339 ms)] [AMDFramebufferVIB driver is slow(msg: SetState to 0)(338 ms)] [AVExFramebuffer driver is slow(msg: SetState to 0)(338 ms)] [AppleUSBVHCIBCE driver is slow(msg: SetState to 1)(319 ms)] [RP01 driver is slow(msg: SetState to 0)(1005 ms)]
2019-07-03 20:10:53 -0300 Assertions            PID 184(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd000083fb [System: DeclUser NetAcc kDisp]
2019-07-03 20:10:53 -0300 Assertions            PID 184(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd000083fb [System: DeclUser NetAcc kDisp]
2019-07-03 20:10:54 -0300 Assertions            PID 59(powerd) Created InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:00  id:0x0xd000083ff [System: DeclUser NetAcc kDisp]
2019-07-03 20:10:54 -0300 DarkWake              DarkWake from Normal Sleep [CDN] due to EC.RTC/Maintenance: Using BATT (Charge:61%) 9 secs
2019-07-03 20:10:54 -0300 HibernateStats        hibmode=3 standbydelay=10800                                                          rd=432 ms
2019-07-03 20:10:54 -0300 WakeTime              WakeTime: 2.287 sec
2019-07-03 20:10:54 -0300 Kernel Client Acks    Delays to Wake notifications: [UPSB driver is slow(msg: SetState to 2)(545 ms)] [UPSB driver is slow(msg: SetState to 2)(544 ms)] [ADIO driver is slow(msg: SetState to 2)(537 ms)] [Apple Internal Keyboard / Trackpad driver is slow(msg: WillChangeState to 2)(705 ms)] [AMDFramebufferVIB driver is slow(msg: SetState to 1)(380 ms)]
2019-07-03 20:11:03 -0300 Assertions            PID 59(powerd) Released InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:09  id:0x0xd000083ff [System: DeclUser NetAcc kDisp]
2019-07-03 20:11:03 -0300 Sleep                 Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:61%) 7208 secs
2019-07-03 20:11:08 -0300 Wake Requests         [*proc=mDNSResponder request=Maintenance inDelta=7200] [proc=powerd request=AdaptiveWake inDelta=39600] [proc=powerd request=TCPKATurnOff inDelta=33870]
2019-07-03 20:11:08 -0300 PM Client Acks        Delays to Sleep notifications: [com.apple.apsd is slow(2004 ms)] [mDNSResponder is slow(5005 ms)]
2019-07-03 22:11:10 -0300 Kernel Client Acks    Delays to Sleep notifications: [powerd is slow(5014 ms)] [AppleIntelFramebuffer driver is slow(msg: SetState to 0)(342 ms)] [AMDFramebufferVIB driver is slow(msg: SetState to 0)(341 ms)] [AVExFramebuffer driver is slow(msg: SetState to 0)(340 ms)] [AppleUSBVHCIBCE driver is slow(msg: SetState to 1)(313 ms)] [RP01 driver is slow(msg: SetState to 0)(1005 ms)]
2019-07-03 22:11:10 -0300 Assertions            PID 184(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd0000840d [System: DeclUser NetAcc kDisp]
2019-07-03 22:11:10 -0300 Assertions            PID 184(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd0000840d [System: DeclUser NetAcc kDisp]
2019-07-03 22:11:11 -0300 Assertions            PID 59(powerd) Created InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:00  id:0x0xd0000840f [System: DeclUser NetAcc kDisp]
2019-07-03 22:11:11 -0300 DarkWake              DarkWake from Normal Sleep [CDN] due to EC.RTC/Maintenance: Using BATT (Charge:59%) 9 secs
2019-07-03 22:11:11 -0300 HibernateStats        hibmode=3 standbydelay=10800                                                          rd=432 ms
2019-07-03 22:11:11 -0300 WakeTime              WakeTime: 2.296 sec
2019-07-03 22:11:11 -0300 Kernel Client Acks    Delays to Wake notifications: [UPSB driver is slow(msg: SetState to 2)(547 ms)] [UPSB driver is slow(msg: SetState to 2)(548 ms)] [ADIO driver is slow(msg: SetState to 2)(541 ms)] [Apple Internal Keyboard / Trackpad driver is slow(msg: WillChangeState to 2)(705 ms)] [AMDFramebufferVIB driver is slow(msg: SetState to 1)(387 ms)]
2019-07-03 22:11:16 -0300 Assertions            PID 110(hidd) TimedOut UserIsActive "com.apple.iohideventsystem.queue.tickle.4294994752.11" 04:37:08  id:0x0x90000a114 [System: DeclUser SRPrevSleep NetAcc kCPU kDisp]
2019-07-03 22:11:16 -0300 Assertions            Summary- [System: SRPrevSleep NetAcc kCPU] Using Batt(Charge: 59)
2019-07-03 22:11:20 -0300 Assertions            PID 59(powerd) Released InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:08  id:0x0xd0000840f [System: NetAcc]
2019-07-03 22:11:20 -0300 Sleep                 Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:59%) 7208 secs
2019-07-03 22:11:25 -0300 Wake Requests         [*proc=mDNSResponder request=Maintenance inDelta=7200] [proc=powerd request=AdaptiveWake inDelta=32400] [proc=powerd request=TCPKATurnOff inDelta=26654]
2019-07-03 22:11:25 -0300 PM Client Acks        Delays to Sleep notifications: [com.apple.apsd is slow(1045 ms)] [mDNSResponder is slow(5010 ms)]
2019-07-04 00:11:27 -0300 Kernel Client Acks    Delays to Sleep notifications: [powerd is slow(5021 ms)] [AppleIntelFramebuffer driver is slow(msg: SetState to 0)(341 ms)] [AMDFramebufferVIB driver is slow(msg: SetState to 0)(340 ms)] [AVExFramebuffer driver is slow(msg: SetState to 0)(340 ms)] [AppleUSBVHCIBCE driver is slow(msg: SetState to 1)(316 ms)] [RP01 driver is slow(msg: SetState to 0)(1011 ms)]
2019-07-04 00:11:27 -0300 Assertions            PID 184(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd00008429 [System: NetAcc]
2019-07-04 00:11:27 -0300 Assertions            PID 184(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd00008429 [System: NetAcc]
2019-07-04 00:11:28 -0300 Assertions            PID 59(powerd) Created InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:00  id:0x0xd0000842d [System: PrevIdle NetAcc]
2019-07-04 00:11:28 -0300 DarkWake              DarkWake from Normal Sleep [CDN] due to EC.RTC/Maintenance: Using BATT (Charge:58%) 12 secs
2019-07-04 00:11:28 -0300 HibernateStats        hibmode=3 standbydelay=10800                                                          rd=432 ms
2019-07-04 00:11:28 -0300 WakeTime              WakeTime: 2.339 sec
2019-07-04 00:11:28 -0300 Kernel Client Acks    Delays to Wake notifications: [UPSB driver is slow(msg: SetState to 2)(554 ms)] [UPSB driver is slow(msg: SetState to 2)(552 ms)] [ADIO driver is slow(msg: SetState to 2)(549 ms)] [Apple Internal Keyboard / Trackpad driver is slow(msg: DidChangeState to 2)(705 ms)] [AMDFramebufferVIB driver is slow(msg: SetState to 1)(389 ms)]
2019-07-04 00:11:28 -0300 Assertions            PID 881(iTunes) Released NetworkClientActive "com.apple.iTunes.server" 06:01:05  id:0x0x11000083f2 [System: PrevIdle SRPrevSleep IPushSrvc kCPU]
2019-07-04 00:11:28 -0300 Assertions            PID 881(iTunes) Created NetworkClientActive "com.apple.iTunes.server" 00:00:00  id:0x0x1100008433 [System: PrevIdle SRPrevSleep NetAcc IPushSrvc kCPU]
2019-07-04 00:11:40 -0300 Assertions            PID 59(powerd) Released InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:12  id:0x0xd0000842d [System: NetAcc]
2019-07-04 00:11:40 -0300 Sleep                 Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:58%) 7208 secs
2019-07-04 00:11:45 -0300 Wake Requests         [*proc=mDNSResponder request=Maintenance inDelta=7200] [proc=powerd request=AdaptiveWake inDelta=28800] [proc=powerd request=TCPKATurnOff inDelta=19433]
2019-07-04 00:11:45 -0300 PM Client Acks        Delays to Sleep notifications: [com.apple.apsd is slow(1707 ms)] [mDNSResponder is slow(5010 ms)]
2019-07-04 02:11:47 -0300 Kernel Client Acks    Delays to Sleep notifications: [DSB0 driver is slow(msg: SetState to 0)(506 ms)] [DSB0 driver is slow(msg: SetState to 0)(508 ms)] [PEG1 driver is slow(msg: SetState to 0)(1030 ms)] [PEG2 driver is slow(msg: SetState to 0)(1036 ms)] [powerd is slow(5020 ms)] [UPSB driver is slow(msg: SetState to 2)(957 ms)] [UPSB driver is slow(msg: SetState to 2)(952 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(1105 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(1105 ms)] [AppleIntelFramebuffer driver is slow(msg: SetState to 0)(340 ms)] [AMDFramebufferVIB driver is slow(msg: SetState to 0)(340 ms)] [AVExFramebuffer driver is slow(msg: SetState to 0)(339 ms)] [AppleUSBVHCIBCE driver is slow(msg: SetState to 1)(320 ms)] [RP01 driver is slow(msg: SetState to 0)(1011 ms)]
2019-07-04 02:11:47 -0300 Assertions            PID 184(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd0000843f [System: NetAcc]
2019-07-04 02:11:47 -0300 Assertions            PID 184(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd0000843f [System: NetAcc]
2019-07-04 02:11:48 -0300 Assertions            PID 59(powerd) Created InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:00  id:0x0xd00008443 [System: NetAcc]
2019-07-04 02:11:48 -0300 DarkWake              DarkWake from Normal Sleep [CDN] due to EC.RTC/Maintenance: Using BATT (Charge:57%) 9 secs
2019-07-04 02:11:48 -0300 HibernateStats        hibmode=3 standbydelay=10800                                                          rd=432 ms
2019-07-04 02:11:48 -0300 WakeTime              WakeTime: 2.325 sec
2019-07-04 02:11:48 -0300 Kernel Client Acks    Delays to Wake notifications: [UPSB driver is slow(msg: SetState to 2)(548 ms)] [UPSB driver is slow(msg: SetState to 2)(552 ms)] [ADIO driver is slow(msg: SetState to 2)(550 ms)] [AMDFramebufferVIB driver is slow(msg: SetState to 1)(388 ms)]
2019-07-04 02:11:57 -0300 Assertions            PID 59(powerd) Released InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:09  id:0x0xd00008443 [System: NetAcc]
2019-07-04 02:11:57 -0300 Sleep                 Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:57%) 7208 secs
2019-07-04 02:12:02 -0300 Wake Requests         [*proc=mDNSResponder request=Maintenance inDelta=7200] [proc=powerd request=AdaptiveWake inDelta=28800] [proc=powerd request=TCPKATurnOff inDelta=12216]
2019-07-04 02:12:02 -0300 PM Client Acks        Delays to Sleep notifications: [com.apple.apsd is slow(1007 ms)] [mDNSResponder is slow(5011 ms)]
2019-07-04 04:12:03 -0300 Kernel Client Acks    Delays to Sleep notifications: [powerd is slow(5022 ms)] [AppleIntelFramebuffer driver is slow(msg: SetState to 0)(341 ms)] [AMDFramebufferVIB driver is slow(msg: SetState to 0)(339 ms)] [AVExFramebuffer driver is slow(msg: SetState to 0)(338 ms)] [AppleUSBVHCIBCE driver is slow(msg: SetState to 1)(314 ms)] [RP01 driver is slow(msg: SetState to 0)(1008 ms)]
2019-07-04 04:12:04 -0300 Assertions            PID 184(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd00008456 [System: NetAcc]
2019-07-04 04:12:04 -0300 Assertions            PID 184(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd00008456 [System: NetAcc]
2019-07-04 04:12:05 -0300 Assertions            PID 59(powerd) Created InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:00  id:0x0xd00008459 [System: NetAcc]
2019-07-04 04:12:05 -0300 DarkWake              DarkWake from Normal Sleep [CDN] due to EC.RTC/Maintenance: Using BATT (Charge:54%) 14 secs
2019-07-04 04:12:05 -0300 HibernateStats        hibmode=3 standbydelay=10800                                                          rd=432 ms
2019-07-04 04:12:05 -0300 WakeTime              WakeTime: 2.330 sec
2019-07-04 04:12:05 -0300 Kernel Client Acks    Delays to Wake notifications: [UPSB driver is slow(msg: SetState to 2)(554 ms)] [UPSB driver is slow(msg: SetState to 2)(554 ms)] [ADIO driver is slow(msg: SetState to 2)(557 ms)] [Apple Internal Keyboard / Trackpad driver is slow(msg: WillChangeState to 2)(705 ms)] [AMDFramebufferVIB driver is slow(msg: SetState to 1)(387 ms)]
2019-07-04 04:12:05 -0300 Assertions            PID 881(iTunes) Released NetworkClientActive "com.apple.iTunes.server" 04:00:36  id:0x0x1100008433 [System: SRPrevSleep IPushSrvc kCPU]
2019-07-04 04:12:05 -0300 Assertions            PID 881(iTunes) Created NetworkClientActive "com.apple.iTunes.server" 00:00:00  id:0x0x110000845f [System: SRPrevSleep NetAcc IPushSrvc kCPU]
2019-07-04 04:12:19 -0300 Assertions            PID 59(powerd) Released InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:14  id:0x0xd00008459 [System: NetAcc]
2019-07-04 04:12:19 -0300 Sleep                 Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:54%) 5003 secs
2019-07-04 04:12:24 -0300 Wake Requests         [proc=mDNSResponder request=Maintenance inDelta=7200] [proc=powerd request=AdaptiveWake inDelta=28800] [*proc=powerd request=TCPKATurnOff inDelta=4994]
2019-07-04 04:12:24 -0300 PM Client Acks        Delays to Sleep notifications: [com.apple.apsd is slow(1994 ms)] [mDNSResponder is slow(5012 ms)]
2019-07-04 05:35:40 -0300 Kernel Client Acks    Delays to Sleep notifications: [DSB0 driver is slow(msg: SetState to 0)(505 ms)] [DSB0 driver is slow(msg: SetState to 0)(506 ms)] [PEG1 driver is slow(msg: SetState to 0)(1029 ms)] [PEG2 driver is slow(msg: SetState to 0)(1033 ms)] [powerd is slow(5022 ms)] [UPSB driver is slow(msg: SetState to 2)(946 ms)] [UPSB driver is slow(msg: SetState to 2)(948 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(1097 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(1099 ms)] [AppleIntelFramebuffer driver is slow(msg: SetState to 0)(341 ms)] [AMDFramebufferVIB driver is slow(msg: SetState to 0)(341 ms)] [AVExFramebuffer driver is slow(msg: SetState to 0)(340 ms)] [AppleUSBVHCIBCE driver is slow(msg: SetState to 1)(321 ms)] [RP01 driver is slow(msg: SetState to 0)(1013 ms)]
2019-07-04 05:35:40 -0300 Assertions            PID 184(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd00008465 [System: NetAcc]
2019-07-04 05:35:41 -0300 Assertions            PID 184(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd00008465 [System: NetAcc]
2019-07-04 05:35:42 -0300 Assertions            PID 59(powerd) Created InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:00  id:0x0xd00008468 [System: NetAcc]
2019-07-04 05:35:42 -0300 DarkWake              DarkWake from Normal Sleep [CDN] due to EC.RTC/Maintenance: Using BATT (Charge:54%) 14 secs
2019-07-04 05:35:42 -0300 HibernateStats        hibmode=3 standbydelay=10800                                                          rd=432 ms
2019-07-04 05:35:42 -0300 WakeTime              WakeTime: 2.329 sec
2019-07-04 05:35:42 -0300 Kernel Client Acks    Delays to Wake notifications: [UPSB driver is slow(msg: SetState to 2)(545 ms)] [UPSB driver is slow(msg: SetState to 2)(545 ms)] [ADIO driver is slow(msg: SetState to 2)(544 ms)] [Apple Internal Keyboard / Trackpad driver is slow(msg: WillChangeState to 2)(705 ms)] [AMDFramebufferVIB driver is slow(msg: SetState to 1)(387 ms)]
2019-07-04 05:35:56 -0300 Assertions            PID 59(powerd) Released InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:13  id:0x0xd00008468 [System: NetAcc]
2019-07-04 05:35:56 -0300 Sleep                 Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=inactive Using Batt (Charge:54%) 7625 secs
2019-07-04 05:36:11 -0300 Assertions            PID 84(apsd) Released InteractivePushServiceTask "com.apple.apsd-requestkeepaliveproxy-push.apple.com" 00:00:14  id:0x0x120000848a [System: NetAcc]
2019-07-04 05:36:13 -0300 Wake Requests         [*proc=powerd request=AdaptiveWake inDelta=28800]
2019-07-04 05:36:13 -0300 PM Client Acks        Delays to Sleep notifications: [com.apple.apsd is slow(17003 ms)]
2019-07-04 07:43:00 -0300 Kernel Client Acks    Delays to Sleep notifications: [DSB0 driver is slow(msg: SetState to 0)(505 ms)] [DSB0 driver is slow(msg: SetState to 0)(507 ms)] [PEG2 driver is slow(msg: SetState to 0)(1033 ms)] [PEG1 driver is slow(msg: SetState to 0)(1041 ms)] [powerd is slow(17015 ms)] [UPSB driver is slow(msg: SetState to 2)(947 ms)] [UPSB driver is slow(msg: SetState to 2)(946 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(1099 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(1100 ms)] [AppleIntelFramebuffer driver is slow(msg: SetState to 0)(341 ms)] [AMDFramebufferVIB driver is slow(msg: SetState to 0)(341 ms)] [AVExFramebuffer driver is slow(msg: SetState to 0)(339 ms)] [RP01 driver is slow(msg: SetState to 0)(1011 ms)]
2019-07-04 07:43:00 -0300 Assertions            Kernel Idle sleep preventers: IODisplayWrangler
2019-07-04 07:43:00 -0300 Notification          Display is turned on
2019-07-04 07:43:00 -0300 Assertions            PID 184(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd00008492 [System: NetAcc]
2019-07-04 07:43:00 -0300 Assertions            PID 184(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd00008492 [System: NetAcc]
2019-07-04 07:43:01 -0300 Wake                  Wake from Normal Sleep [CDNVA] due to EC.LidOpen/Lid Open: Using BATT (Charge:53%)
2019-07-04 07:43:01 -0300 HibernateStats        hibmode=3 standbydelay=10800                                                          rd=432 ms
2019-07-04 07:43:01 -0300 WakeTime              WakeTime: 2.436 sec
2019-07-04 07:43:01 -0300 Kernel Client Acks    Delays to Wake notifications: [UPSB driver is slow(msg: SetState to 2)(545 ms)] [UPSB driver is slow(msg: SetState to 2)(546 ms)] [IGPU driver is slow(msg: SetState to 2)(562 ms)] [GFX0 driver is slow(msg: SetState to 2)(555 ms)] [ADIO driver is slow(msg: SetState to 2)(548 ms)] [Apple Internal Keyboard / Trackpad driver is slow(msg: WillChangeState to 2)(705 ms)] [AppleIntelFramebuffer driver is slow(msg: SetState to 2)(381 ms)] [AMDFramebufferVIB driver is slow(msg: SetState to 2)(641 ms)]
2019-07-04 07:43:01 -0300 Assertions            PID 60(TeamViewer_Service) Created UserIsActive "TeamViewer user activity" 00:00:00  id:0x0x90000849c [System: PrevIdle DeclUser NetAcc IPushSrvc kCPU kDisp]
2019-07-04 07:43:02 -0300 Assertions            PID 110(hidd) Created UserIsActive "com.apple.iohideventsystem.queue.tickle.0.29" 00:00:00  id:0x0x9000084ae [System: PrevIdle DeclUser NetAcc IPushSrvc kCPU kDisp]

Total Sleep/Wakes since boot at 2019-07-01 12:09:18 -0300 :72

2019-07-04 07:43:32 -0300 : Showing all currently held IOKit power assertions
Assertion status system-wide:
   BackgroundTask                 0
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    0
   PreventSystemSleep             0
   ExternalMedia                  0
   PreventUserIdleSystemSleep     1
   NetworkClientActive            1
Listed by owning process:
   pid 84(apsd): [0x0000f02e000b84d3] 00:00:11 ApplePushServiceTask named: "com.apple.apsd-waitingformessages-push.apple.com" 
   pid 881(iTunes): [0x0000efe00011845f] 03:31:27 NetworkClientActive named: "com.apple.iTunes.server" 
   pid 345(sharingd): [0x0000f01900018497] 00:00:32 PreventUserIdleSystemSleep named: "Handoff" 
   pid 110(hidd): [0x0000f01b000984ae] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294999640.3" 
    Timeout will fire in 179 secs Action=TimeoutActionRelease
   pid 60(TeamViewer_Service): [0x0000f01a0009849c] 00:00:31 UserIsActive named: "TeamViewer user activity" 
    Timeout will fire in 149 secs Action=TimeoutActionRelease
No kernel assertions.
Idle sleep preventers: IODisplayWrangler

I'd like to direct attention to the DarkWakes every 2 hours (18:10, 20:10, 22:11, etc.) It appears that the reason logged (EC.RTC/Maintenance) would be due to PowerNap, but it is disabled for battery power.

Given the frequent wakeups, which I assume are preventing the laptop from going into standby mode (which, as shown in the log, is configured for 10800 seconds, i.e. 3 hours), this probably explains why the battery is draining, but I have no idea how to prevent it. While I could reduce standbydelay, and probably will do so, I'd still like to figure out what's making the computer wake up every 2 hours before fiddling with this configuration.

1

There were two different settings I had to fiddle with to get the computer to go into standby mode when I wanted it to, without periodic wakeups. This doesn't mean the battery drain issue was solved, though; I suggest reading the "Ongoing battery drain issues" section near the end of the answer for an explanation.

For those interested only in this partial fix, here are the commands to issue in Terminal:

$ sudo pmset -b tcpkeepalive 0
$ sudo pmset -b standbydelaylow 3600
$ sudo pmset -b standbydelayhigh 3600

TCPKeepAliveDuringSleep

First. I found TCPKeepAliveDuringSleep with the help of this. It is on by default in my hardware:

$ ioreg -l | grep IOPlatformFeatureDefaults
    | | |   "IOPlatformFeatureDefaults" = {"TCPKeepAliveDuringSleep"=Yes,"DNDWhileDisplaySleeps"=No,"TCPKeepAliveExpirationTimeout"=43200,"NotificationWake"=Yes}

The timeout is 43200 seconds (exactly 12 hours), and as can be seen in the log, the computer woke up every 2 hours and a few seconds after the first at July 3rd 18:10, but not anymore after 12 hours (i.e. no wakeups at July 4th 6:12). The same thing happened from July 4th to July 5th: first wakeup at July 4th 18:48 and then one every 2 hours and a few seconds, but no wakeup at July 5th 6:49.

This may explain why the computer never went into standby mode, since it is configured to do so after 3 hours, but TCPKeepAliveDuringSleep was waking it up every 2 hours.

Now onto an attempted fix.

Confirming the TCPKeepAlive setting hasn't been fiddled with (the command was run while on battery):

$ pmset -g
System-wide power settings:
Currently in use:
 standbydelaylow      10800
 standby              1
 halfdim              1
 hibernatefile        /var/vm/sleepimage
 proximitywake        0
 powernap             0
 gpuswitch            2
 disksleep            10
 standbydelayhigh     86400
 sleep                3 (sleep prevented by sharingd)
 hibernatemode        3
 ttyskeepawake        1
 displaysleep         3
 tcpkeepalive         1
 highstandbythreshold 50
 acwake               0
 lidwake              1

Note tcpkeepalive 1 near the end.

I ran this command to disable it:

$ sudo pmset -b tcpkeepalive 0
Password:
Warning: This option disables TCP Keep Alive mechanism when sytem is sleeping. This will result in some critical features like 'Find My Mac' not to function properly.

I ran pmset -g again to make sure the setting was indeed changed:

$ pmset -g
System-wide power settings:
Currently in use:
 standbydelaylow      10800
 standby              1
 halfdim              1
 hibernatefile        /var/vm/sleepimage
 proximitywake        0
 powernap             0
 gpuswitch            2
 disksleep            10
 standbydelayhigh     86400
 sleep                3 (sleep prevented by sharingd)
 hibernatemode        3
 ttyskeepawake        1
 displaysleep         3
 tcpkeepalive         0
 highstandbythreshold 50
 acwake               0
 lidwake              1

standbydelaylow and standbydelayhigh

While disabling TCPKeepAliveDuringSleep made sure the wakeups every 2 hours were gone, the computer appeared not to go into standby mode for 24 hours, draining the battery in the meanwhile.

From the test made after disabling TCPKeepAliveDuringSleep, battery was down from 62% charge to, allegedly, 51% at the end, about 37.5 hours after closing the lid (in truth, I checked the battery percentage right after opening the lid and it was at 43%).

The log shows the computer woke up a few times: 12 hours after closing the lid; 20 hours after closing the lid; and finally 24 hours after closing the lid. To simplify parsing the logs, here are the sleep and wake events filtered from the log:

2019-07-05 18:58:49 -0300 Sleep                 Entering Sleep state due to 'Clamshell Sleep':TCPKeepAlive=disabled Using Batt (Charge:62%) 43208 secs
2019-07-06 06:58:57 -0300 DarkWake              DarkWake from Normal Sleep [CDN] due to EC.RTC/SleepService: Using BATT (Charge:58%) 0 secs
2019-07-06 06:58:57 -0300 Sleep                 Entering Sleep state due to 'Sleep Service Back to Sleep':TCPKeepAlive=disabled Using Batt (Charge:58%) 28806 secs
2019-07-06 14:59:03 -0300 DarkWake              DarkWake from Normal Sleep [CDN] due to EC.RTC/SleepService: Using BATT (Charge:53%) 0 secs
2019-07-06 14:59:03 -0300 Sleep                 Entering Sleep state due to 'Sleep Service Back to Sleep':TCPKeepAlive=disabled Using Batt (Charge:53%) 14423 secs
2019-07-06 18:59:26 -0300 DarkWake              DarkWake from Normal Sleep [CDN] due to EC.SleepTimer/SleepTimer: Using BATT (Charge:51%) 0 secs
2019-07-06 18:59:26 -0300 Sleep                 Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=disabled Using Batt (Charge:51%) 48731 secs
2019-07-07 08:31:37 -0300 Wake                  Wake from Standby [CDNVA] due to EC.LidOpen/Lid Open: Using BATT (Charge:51%)

Fiddling some more, I was able to control exactly when the computer goes into standby mode. For this, one needs to run pmset -a standbydelaylow 3600 and pmset -a standbydelayhigh 3600, replacing 3600 by the desired time in seconds.

Originally, standbydelaylow was 10800, and hence it should take 3 hours to go into standby mode. However, standbydelayhigh was 86400 (24 hours) and the battery charge was high enough (this controlled by the highstandbythreshold parameter of pmset, which is 50% in my case) that the computer would wait for 24 hours before going into standby mode.

Setting both standbydelaylow and standbydelayhigh to the same value solves the problem.

Here's the output from another long (42 hours) sleep, after this setting was changed:

Time stamp                Domain                Message                                                                     Duration    Delay
==========                ======                =======                                                                     ========    =====
UUID: 58E38EDD-2A6C-418F-826A-4B11FE80D4C2
2019-07-13 13:28:37 -0300 Notification          Display is turned off
2019-07-13 13:28:37 -0300 Assertions            PID 345(sharingd) Summary PreventUserIdleSystemSleep "Handoff" 00:00:24  id:0x0x10000857e [System: PrevIdle DeclUser kDisp]
2019-07-13 13:28:37 -0300 Assertions            PID 60(TeamViewer_Service) Summary UserIsActive "TeamViewer user activity" 00:00:23  id:0x0x900008582 [System: PrevIdle DeclUser kDisp]
2019-07-13 13:28:37 -0300 Assertions            PID 110(hidd) Summary UserIsActive "com.apple.iohideventsystem.queue.tickle.4295090251.11" 00:00:06  id:0x0x90000846a [System: PrevIdle DeclUser kDisp]
2019-07-13 13:28:37 -0300 Assertions            PID 84(apsd) Summary ApplePushServiceTask "com.apple.apsd-waitingformessages-push.apple.com" 00:00:11  id:0x0xb000085a3 [System: PrevIdle DeclUser kDisp]
2019-07-13 13:28:37 -0300 Assertions            Kernel Idle sleep preventers: -None-
2019-07-13 13:28:37 -0300 Assertions            PID 345(sharingd) Released PreventUserIdleSystemSleep "Handoff" 00:00:24  id:0x0x10000857e [System: PrevIdle DeclUser kDisp]
2019-07-13 13:28:37 -0300 Assertions            PID 59(powerd) Created InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:00  id:0x0xd000085ac [System: PrevIdle DeclUser SRPrevSleep kCPU kDisp]
2019-07-13 13:28:52 -0300 Assertions            PID 59(powerd) TimedOut InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:15  id:0x0xd000085ac [System: DeclUser SRPrevSleep kCPU kDisp]
2019-07-13 13:28:52 -0300 Sleep                 Entering Sleep state due to 'Clamshell Sleep':TCPKeepAlive=disabled Using Batt (Charge:26%) 3621 secs
2019-07-13 13:28:54 -0300 Assertions            PID 84(apsd) Released ApplePushServiceTask "com.apple.apsd-waitingformessages-push.apple.com" 00:00:28  id:0x0xb000085a3 [System: DeclUser kDisp]
2019-07-13 13:29:07 -0300 Assertions            PID 84(apsd) Released InteractivePushServiceTask "com.apple.apsd-requestkeepaliveproxy-push.apple.com" 00:00:15  id:0x0x12000085c5 [System: DeclUser kDisp]
2019-07-13 13:29:09 -0300 PM Client Acks        Delays to Sleep notifications: [com.apple.apsd is slow(17016 ms)]
2019-07-13 14:29:12 -0300 Kernel Client Acks    Delays to Sleep notifications: [AppleIntelFramebuffer driver is slow(msg: SetState to 1)(1585 ms)] [powerd is slow(17022 ms)] [UPSB driver is slow(msg: SetState to 2)(942 ms)] [UPSB driver is slow(msg: SetState to 2)(941 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(1063 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(1064 ms)] [AppleUSBVHCIBCE driver is slow(msg: SetState to 1)(325 ms)] [RP01 driver is slow(msg: SetState to 0)(1008 ms)]
2019-07-13 14:29:12 -0300 Assertions            PID 184(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd000085cd [System: DeclUser kDisp]
2019-07-13 14:29:12 -0300 Assertions            PID 184(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd000085cd [System: DeclUser kDisp]
2019-07-13 14:29:13 -0300 DarkWake              DarkWake from Normal Sleep [CDN] due to EC.SleepTimer/SleepTimer: Using BATT (Charge:25%) 0 secs
2019-07-13 14:29:13 -0300 HibernateStats        hibmode=3 standbydelay=3600                                                           rd=788 ms
2019-07-13 14:29:13 -0300 WakeTime              WakeTime: 2.253 sec
2019-07-13 14:29:13 -0300 Kernel Client Acks    Delays to Wake notifications: [UPSB driver is slow(msg: SetState to 2)(540 ms)] [UPSB driver is slow(msg: SetState to 2)(540 ms)] [ADIO driver is slow(msg: SetState to 2)(537 ms)] [AMDFramebufferVIB driver is slow(msg: SetState to 1)(383 ms)]
2019-07-13 14:29:13 -0300 Sleep                 Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=disabled Using Batt (Charge:25%) 150908 secs
2019-07-13 14:29:22 -0300 PM Client Acks        Delays to Sleep notifications: [com.apple.apsd is slow(1001 ms)] [AirPort configd plug-in is slow(9213 ms)]
2019-07-15 08:24:21 -0300 Kernel Client Acks    Delays to Sleep notifications: [powerd is slow(9218 ms)] [AppleIntelFramebuffer driver is slow(msg: SetState to 0)(343 ms)] [AMDFramebufferVIB driver is slow(msg: SetState to 0)(342 ms)] [AVExFramebuffer driver is slow(msg: SetState to 0)(343 ms)] [AppleUSBVHCIBCE driver is slow(msg: SetState to 1)(320 ms)] [RP01 driver is slow(msg: SetState to 0)(1006 ms)] [UPSB driver is slow(msg: SetState to 2)(546 ms)] [UPSB driver is slow(msg: SetState to 2)(545 ms)] [ADIO driver is slow(msg: SetState to 2)(550 ms)] [AMDFramebufferVIB driver is slow(msg: SetState to 1)(402 ms)]
2019-07-15 08:24:21 -0300 Assertions            PID 59(powerd) Created InternalPreventSleep "Holding in darkwake for up to 30 seconds to update inactivity prediction" 00:00:00  id:0x0xd000085d9 [System: DeclUser SRPrevSleep kCPU kDisp]
2019-07-15 08:24:21 -0300 Assertions            PID 59(powerd) Created InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:00  id:0x0xd000085da [System: DeclUser SRPrevSleep kCPU kDisp]
2019-07-15 08:24:21 -0300 DarkWake              DarkWake from Standby [CDN] due to EC.ACAttach/HID Activity: Using BATT (Charge:25%) 0 secs
2019-07-15 08:24:21 -0300 HibernateStats        hibmode=3 standbydelay=3600                                                           rd=788 ms
2019-07-15 08:24:21 -0300 WakeTime              WakeTime: 4.639 sec
2019-07-15 08:24:21 -0300 Assertions            Summary- [System: DeclUser SRPrevSleep kCPU kDisp] Using AC(Charge: 7)
2019-07-15 08:24:21 -0300 Notification          Display is turned on
2019-07-15 08:24:21 -0300 Assertions            PID 1144(PowerChime) Created DisplayWake "com.apple.chimeOnAttach" 00:00:00  id:0x0xe000085dc [System: DeclUser SRPrevSleep DispWake kCPU kDisp]
2019-07-15 08:24:21 -0300 Assertions            PID 84(apsd) Released ApplePushServiceTask "com.apple.apsd-connectionestablish-push.apple.com" 41:55:05  id:0x0xb000085d5 [System: DeclUser SRPrevSleep DispWake kCPU kDisp]
2019-07-15 08:24:21 -0300 Assertions            Kernel Idle sleep preventers: IODisplayWrangler
2019-07-15 08:24:21 -0300 Wake                  DarkWake to FullWake from Standby [CDNVA] due to Notification: Using AC (Charge:7%)
2019-07-15 08:24:21 -0300 HibernateStats        hibmode=3 standbydelay=3600                                                           rd=788 ms
2019-07-15 08:24:21 -0300 WakeTime              WakeTime: 0.194 sec
2019-07-15 08:24:21 -0300 Assertions            PID 184(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd000085de [System: DeclUser SRPrevSleep DispWake kCPU kDisp]
2019-07-15 08:24:21 -0300 Assertions            PID 844(prl_vm_app) Created NetworkClientActive "CMacPowerHelper::Do Background Tasks" 00:00:00  id:0x0x11000085df [System: DeclUser SRPrevSleep DispWake NetAcc kCPU kDisp]
2019-07-15 08:24:21 -0300 Assertions            PID 184(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd000085de [System: DeclUser SRPrevSleep DispWake NetAcc kCPU kDisp]
2019-07-15 08:24:22 -0300 Assertions            PID 59(powerd) Released InternalPreventSleep "Holding in darkwake for up to 30 seconds to update inactivity prediction" 00:00:01  id:0x0xd000085d9 [System: PrevIdle DeclUser SRPrevSleep DispWake NetAcc IPushSrvc kCPU kDisp]
2019-07-15 08:24:22 -0300 Assertions            PID 59(powerd) Created InternalPreventSleep "Assertion to change proximity monitoring state" 00:00:00  id:0x0xd000085ec [System: PrevIdle DeclUser SRPrevSleep DispWake NetAcc IPushSrvc kCPU kDisp]
2019-07-15 08:24:24 -0300 Assertions            PID 59(powerd) Released InternalPreventSleep "Assertion to change proximity monitoring state" 00:00:01  id:0x0xd000085ec [System: PrevIdle DeclUser SRPrevSleep DispWake NetAcc IPushSrvc kCPU kDisp]
2019-07-15 08:24:25 -0300 Assertions            PID 59(powerd) Created InternalPreventSleep "Assertion to change proximity monitoring state" 00:00:00  id:0x0xd000085f6 [System: PrevIdle DeclUser SRPrevSleep DispWake NetAcc IPushSrvc kCPU kDisp]
2019-07-15 08:24:25 -0300 Assertions            PID 59(powerd) Released InternalPreventSleep "Assertion to change proximity monitoring state" 00:00:00  id:0x0xd000085f6 [System: PrevIdle DeclUser SRPrevSleep DispWake NetAcc IPushSrvc kCPU kDisp]
2019-07-15 08:24:27 -0300 Assertions            PID 881(iTunes) Created NetworkClientActive "com.apple.iTunes.server" 00:00:00  id:0x0x11000085f8 [System: PrevIdle DeclUser SRPrevSleep DispWake NetAcc IPushSrvc kCPU kDisp]
2019-07-15 08:24:29 -0300 WakeTime              WakeTime: 0.194 sec

As can be seen, after 1 hour, the computer goes into standby mode, and only comes back when I open the lid.

Ongoing battery drain issues

After implementing both fixes above, although the computer is correctly going into standby mode now, there is still an issue with the battery. Note that, when the lid was closed, the computer had 26% charge:

2019-07-13 13:28:52 -0300 Sleep                 Entering Sleep state due to 'Clamshell Sleep':TCPKeepAlive=disabled Using Batt (Charge:26%) 3621 secs

After 1 hour, when going into standby mode, it had 25% charge:

2019-07-13 14:29:13 -0300 DarkWake              DarkWake from Normal Sleep [CDN] due to EC.SleepTimer/SleepTimer: Using BATT (Charge:25%) 0 secs
...
2019-07-13 14:29:13 -0300 Sleep                 Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=disabled Using Batt (Charge:25%) 150908 secs

When the computer woke up, it thought it still had 25% charge, but this quickly adjusted to 7%, which matched the value I found in the battery menu bar icon:

2019-07-15 08:24:21 -0300 DarkWake              DarkWake from Standby [CDN] due to EC.ACAttach/HID Activity: Using BATT (Charge:25%) 0 secs 
...
2019-07-15 08:24:21 -0300 Wake                  DarkWake to FullWake from Standby [CDNVA] due to Notification: Using AC (Charge:7%)

This means the battery drained 18% in a 42 hour interval. Extrapolating this, it would mean that, had the battery started at 100%, it would have drained to 0% in about 233 hours, i.e. less than 10 days. This falls quite short of Apple's claim of "up to 30 days standby time" (see here, under "Battery and Power"). This appears to be a widespread issue, and unfortunately, keeping with Apple's standard procedure in such cases, they're pretending the problem doesn't exist.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .