¿Por qué mi MacBook Pro quemó el 15% de la batería mientras dormía?

¿Por qué mi MacBook Pro quemó el 15% de la batería mientras dormía?

RESUMEN

Mi MacBook Pro no ha estado durmiendo. Por ejemplo, todavía está caliente después de haber estado cerrada en mi bolso durante horas. Aquí hay información del registro pmset de la última vez que sucedió esto. Las líneas clave están aquí:

Cerré la tapa aquí:

2019-05-22 21:47:04 -0700 Sleep                 Entering Sleep state due to 'Clamshell Sleep':TCPKeepAlive=active Using Batt (Charge:70%) 9808 secs

... Luego, después de que lo abrí, informó esto:

2019-05-23 07:59:52 -0700 DarkWake              DarkWake from Standby [CDN] due to EC.DarkPME ARPT/HID Activity: Using BATT (Charge:55%) 2 secs   

He probado lo siguiente:

  • Al verificar el Monitor de actividad en busca de cualquier cosa que impida el sueño, nada lo es.

La actividad del registro parece un poco extraña, informa un 70% de batería segundos antes de cambiar al 55%, por lo que tal vez también haya algo más mal.

RESULTADOS COMPLETOS DEpmset -g log

Time stamp                Domain                Message                                                                     Duration    Delay     
==========                ======                =======                                                                     ========    =====     
UUID: EDA2A8FD-4588-409D-9336-2CF55A415196
2019-05-22 21:47:04 -0700 Sleep                 Entering Sleep state due to 'Clamshell Sleep':TCPKeepAlive=active Using Batt (Charge:70%) 9808 secs 
2019-05-22 21:47:18 -0700 Assertions            PID 87(apsd) Released ApplePushServiceTask "com.apple.apsd-connectionestablish-push.apple.com" 00:00:20  id:0x0xb0000830e [System: PrevIdle DeclUser IntPrevDisp kDisp]          
2019-05-22 21:47:32 -0700 Wake Requests         [*proc=powerd request=TCPKATurnOff inDelta=43232]           
2019-05-22 21:47:32 -0700 PM Client Acks        Delays to Sleep notifications: [mDNSResponder is slow(5017 ms)] [com.apple.apsd timed out(28001 ms)]           
2019-05-23 00:30:31 -0700 Kernel Client Acks    Delays to Sleep notifications: [AppleIntelFramebuffer driver is slow(msg: SetState to 1)(1743 ms)] [SymDaemon timed out(30000 ms)] [powerd is slow(28003 ms)] [UPSB driver is slow(msg: SetState to 2)(937 ms)] [UPSB driver is slow(msg: SetState to 2)(938 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(1055 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(1055 ms)]           
2019-05-23 00:30:31 -0700 Assertions            PID 187(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd00008315 [System: PrevIdle DeclUser IntPrevDisp kDisp]          
2019-05-23 00:30:31 -0700 Assertions            PID 2111(cloudphotosd) Released BackgroundTask "com.apple.cloudphotosd.darkwake.sync" 02:43:56  id:0x0xb00008301 [System: PrevIdle DeclUser IntPrevDisp kDisp]          
2019-05-23 00:30:31 -0700 Notification          Next immediate inactivity window start:'2019-05-23 00:30:00 -0700' end:'2019-05-23 09:00:00 -0700'            
2019-05-23 00:30:31 -0700 Assertions            PID 187(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd00008315 [System: PrevIdle DeclUser IntPrevDisp kDisp]          
2019-05-23 00:30:32 -0700 DarkWake              DarkWake from Normal Sleep [CDN] due to EC.SleepTimer/SleepTimer: Using BATT (Charge:70%) 42 secs   
2019-05-23 00:30:32 -0700 HibernateStats        hibmode=3 standbydelay=10800                                                          146           
2019-05-23 00:30:32 -0700 WakeTime              WakeTime: 2.276 sec                                                                   
2019-05-23 00:30:32 -0700 Kernel Client Acks    Delays to Wake notifications: [AirPort_BrcmNIC driver is slow(msg: SetState to 2)(315 ms)] [UPSB driver is slow(msg: SetState to 2)(542 ms)] [UPSB driver is slow(msg: SetState to 2)(542 ms)] [AMDFramebufferVIB driver is slow(msg: SetState to 1)(315 ms)]           
2019-05-23 00:30:32 -0700 Assertions            PID 91(timed) Released NoIdleSleepAssertion "com.apple.timed.ntp" 02:43:26  id:0x0x100008310 [System: DeclUser IntPrevDisp IPushSrvc kCPU kDisp]          
2019-05-23 00:30:44 -0700 Assertions            PID 87(apsd) Released ApplePushServiceTask "com.apple.apsd-connectionestablish-push.apple.com" 02:43:26  id:0x0xb00008313 [System: PrevIdle DeclUser IntPrevDisp IPushSrvc kCPU kDisp]          
2019-05-23 00:30:52 -0700 Assertions            PID 87(apsd) Released InteractivePushServiceTask "com.apple.apsd-wakeconnection-push.apple.com" 00:00:19  id:0x0x120000831a [System: PrevIdle DeclUser IntPrevDisp IPushSrvc kCPU kDisp]          
2019-05-23 00:31:03 -0700 Assertions            PID 2838(diskmanagementd) Released PreventUserIdleSystemSleep "com.apple.diskmanagementd" 00:00:15  id:0x0x100008320 [System: PrevIdle DeclUser IntPrevDisp IPushSrvc kCPU kDisp]          
2019-05-23 00:31:05 -0700 Assertions            PID 91(timed) Released NoIdleSleepAssertion "com.apple.timed.ntp" 00:00:30  id:0x0x10000831b [System: DeclUser IntPrevDisp IPushSrvc kCPU kDisp]          
2019-05-23 00:31:14 -0700 Assertions            PID 87(apsd) Released InteractivePushServiceTask "com.apple.apsd-connectionestablish-push.apple.com" 00:00:30  id:0x0x120000831d [System: PrevIdle DeclUser IntPrevDisp kDisp]          
2019-05-23 00:31:14 -0700 Sleep                 Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using Batt (Charge:70%) 26918 secs
2019-05-23 00:31:14 -0700 Wake Requests         [*proc=powerd request=AdaptiveWake inDelta=26925] [proc=powerd request=TCPKATurnOff inDelta=33410]           
2019-05-23 07:59:51 -0700 Assertions            PID 61(powerd) TimedOut InternalPreventDisplaySleep "com.apple.powermanagement.delayDisplayOff" 10:13:30  id:0x0x1000008185 [System: PrevIdle DeclUser IntPrevDisp kDisp]          
2019-05-23 07:59:51 -0700 Assertions            Summary- [System: PrevIdle DeclUser kDisp] Using Batt(Charge: 70)          
2019-05-23 07:59:51 -0700 Kernel Client Acks    Delays to Sleep notifications: [UPSB driver is slow(msg: SetState to 2)(939 ms)] [UPSB driver is slow(msg: SetState to 2)(939 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(1056 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(1056 ms)] [AirPort_BrcmNIC driver is slow(msg: SetState to 2)(312 ms)]           
2019-05-23 07:59:51 -0700 Assertions            PID 61(powerd) Created InternalPreventSleep "Holding in darkwake for up to 30 seconds to update inactivity prediction" 00:00:00  id:0x0xd00008326 [System: PrevIdle DeclUser SRPrevSleep kCPU kDisp]          
2019-05-23 07:59:51 -0700 Assertions            PID 187(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd00008329 [System: PrevIdle DeclUser SRPrevSleep kCPU kDisp]          
2019-05-23 07:59:51 -0700 Notification          Next largest inactivity window start:'2019-05-23 20:15:00 -0700' end:'2019-05-24 09:00:00 -0700'              
2019-05-23 07:59:51 -0700 Assertions            PID 61(powerd) Released InternalPreventSleep "Holding in darkwake for up to 30 seconds to update inactivity prediction" 00:00:00  id:0x0xd00008326 [System: PrevIdle DeclUser kDisp]          
2019-05-23 07:59:51 -0700 Assertions            PID 113(hidd) TurnedOn UserIsActive "com.apple.iohideventsystem.queue.tickle.4294970777.3" 00:00:00  id:0x0x900008212 [System: PrevIdle DeclUser kDisp]          
2019-05-23 07:59:51 -0700 Assertions            PID 113(hidd) TurnedOn UserIsActive "com.apple.iohideventsystem.queue.tickle.4294970777.3" 00:00:00  id:0x0x900008212 [System: PrevIdle DeclUser kDisp]          
2019-05-23 07:59:52 -0700 Assertions            PID 61(powerd) Created InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:00  id:0x0xd0000832a [System: PrevIdle DeclUser kDisp]          
2019-05-23 07:59:52 -0700 DarkWake              DarkWake from Standby [CDN] due to EC.DarkPME ARPT/HID Activity: Using BATT (Charge:55%) 2 secs    
2019-05-23 07:59:52 -0700 WakeDetails           DriverReason:ARPT - DriverDetails:                                         
DriverReason:WiFi.ScanOffload-Group key handshake timeout - DriverDetails: 
2019-05-23 07:59:52 -0700 HibernateStats        hibmode=3 standbydelay=10800                                                          rd=539 ms     
2019-05-23 07:59:52 -0700 WakeTime              WakeTime: 4.728 sec                                                                   
2019-05-23 07:59:52 -0700 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)] [AMDFramebufferVIB driver is slow(msg: SetState to 1)(319 ms)]           
2019-05-23 07:59:53 -0700 Assertions            PID 187(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:01  id:0x0xd00008329 [System: PrevIdle DeclUser SRPrevSleep kCPU kDisp]          
2019-05-23 07:59:53 -0700 Assertions            Kernel Idle sleep preventers: IODisplayWrangler          
2019-05-23 07:59:53 -0700 Notification          Display is turned on                                                                  
2019-05-23 07:59:54 -0700 Wake                  DarkWake to FullWake from Standby [CDNVA] due to HID Activity: Using BATT (Charge:55%)           
2019-05-23 07:59:54 -0700 WakeDetails           DriverReason:ARPT - DriverDetails:                                         
DriverReason:WiFi.ScanOffload-Group key handshake timeout - DriverDetails: 
2019-05-23 07:59:54 -0700 HibernateStats        hibmode=3 standbydelay=10800                                                          rd=539 ms     
2019-05-23 07:59:54 -0700 WakeTime              WakeTime: 0.462 sec                                                                   
2019-05-23 07:59:54 -0700 Kernel Client Acks    Delays to Wake notifications: [AppleHDADriver driver is slow(msg: SetState to 1)(432 ms)]           
2019-05-23 08:00:08 -0700 Assertions            PID 61(powerd) Released InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:16  id:0x0xd0000832a [System: DeclUser IPushSrvc kCPU kDisp]          
Total Sleep/Wakes since boot at 2019-05-22 21:06:36 -0700 :2
2019-05-23 08:00:43 -0700 : Showing all currently held IOKit power assertions
Assertion status system-wide:
   BackgroundTask                 0
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    0
   InteractivePushServiceTask     1
   PreventSystemSleep             0
   ExternalMedia                  0
   PreventUserIdleSystemSleep     1
   NetworkClientActive            0
Listed by owning process:
   pid 91(timed): [0x00000a080001835b] 00:00:03 NoIdleSleepAssertion named: "com.apple.timed.ntp" 
    Timeout will fire in 107 secs Action=TimeoutActionTurnOff
   pid 113(hidd): [0x000004c500098212] 00:00:01 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294970661.3" 
    Timeout will fire in 119 secs Action=TimeoutActionRelease
   pid 2111(cloudphotosd): [0x000009db000b833d] 00:00:48 BackgroundTask named: "com.apple.cloudphotosd.darkwake.sync" 
    Details: cloudphotosd darkwake power assertion for initial and large iCPL downloads/uploads
    Timeout will fire in 1752 secs Action=TimeoutActionTurnOff
   pid 473(UserEventAgent): [0x000009eb000b8353] 00:00:32 BackgroundTask named: "com.apple.AddressBook.ScheduledSync" 
    Created for PID: 3022. 
   pid 87(apsd): [0x000009f900128357] 00:00:18 InteractivePushServiceTask named: "com.apple.apsd-connectionestablish-push.apple.com" 
    Timeout will fire in 162 secs Action=TimeoutActionTurnOff
   pid 3022(AddressBookSourceSync): [0x000009eb00018352] 00:00:32 PreventUserIdleSystemSleep named: "Address Book Source Sync" 
    Timeout will fire in 1767 secs Action=TimeoutActionTurnOff
   pid 254(mds_stores): [0x00000a0b000b835c] 00:00:01 BackgroundTask named: "com.apple.metadata.mds_stores.power" 
Kernel Assertions: 0x8=BT-HID
   id=504  level=255 0x8=BT-HID mod=12/31/69, 4:00 PM description=com.apple.driver.IOBluetoothHIDDriver owner=IOBluetoothHIDDriver
Idle sleep preventers: IODisplayWrangler

Mi Mac:

  • Nombre del modelo: MacBook Pro
  • Identificador de modelo: MacBookPro14,3
  • Nombre del procesador: Intel Core i7
  • Velocidad del procesador: 3,1 GHz
  • Número de procesadores: 1
  • Número total de núcleos: 4
  • Caché L2 (por núcleo): 256 KB
  • Caché L3: 8 MB
  • Memoria: 16GB
  • Versión de ROM de arranque: 190.0.0.0.0
  • Versión SMC (sistema): 2.45f0

Respuesta1

Verifique en Configuración/Ahorro de energía que Power Nap no esté habilitado en la batería. Lo desactivo incluso cuando estoy conectado.
Consulte también esta respuesta relacionada con la sincronización de la libreta de direcciones:https://apple.stackexchange.com/a/237552/334268

la larga historia

Parece que tu Mac se despertó una vez a las 00:30 desde el modo de suspensión ligera durante casi un minuto, luego a las 07:59 desde el modo de espera cuando abriste la tapa.
También parece que se habría despertado nuevamente a las 09:00 si no lo hubieras abierto antes de que eso sucediera:

2019-05-23 00:30:31 -0700 Notification          Next immediate inactivity window start:'2019-05-23 00:30:00 -0700' end:'2019-05-23 09:00:00 -0700'

De forma predeterminada, los Mac están configurados para permanecer en modo de sueño ligero durante 3 o 4 horas. Durante este tiempo pueden realizar tareas en segundo plano, como sincronizar cosas.
La sección interesante de su registro comienza en Assertion status system-wide:.

Parece que tuviste una sincronización de fotos en la nube que tomó menos de un minuto si mi interpretación es correcta: 00:00:48 BackgroundTask named: "com.apple.cloudphotosd.darkwake.sync", correspondiente a esta entrada:

2019-05-23 00:30:31 -0700 Assertions            PID 2111(cloudphotosd) Released BackgroundTask "com.apple.cloudphotosd.darkwake.sync" 02:43:56  id:0x0xb00008301 [System: PrevIdle DeclUser IntPrevDisp kDisp]

Y una sincronización de libreta de direcciones: 00:00:32 BackgroundTask named: "com.apple.AddressBook.ScheduledSync.
Este último está marcado por PreventUserIdleSystemSleeplo que podría ser el culpable. O tal vez ambas sincronizaciones representen el 15%.
El informe del 70% justo antes del 55% es probablemente un problema técnico antes de que el sistema sondeara la batería para determinar el valor actual. Vi que esto sucedió incluso en la interfaz de usuario al abrir la tapa. Antes de iniciar sesión, la batería mostraría el último valor registrado; después de iniciar sesión, mostraría el valor real.

información relacionada