Seit El Capitan (10.11) habe ich Probleme mit dem Entladen der Batterie. Also habe ich in Foren gesucht und keine richtige Antwort gefunden, aber sie haben Befehle gegeben, die Protokolle anzeigen.
Das ist also das Protokoll.
<Notice>: Wake reason: EC.SleepTimer XHC1 (SleepTimer)
<Notice>: Wake reason: (HibernateError)
<Notice>: Wake reason: EC.SleepTimer XHC1 (SleepTimer)
<Notice>: Wake reason: (HibernateError)
<Notice>: Wake reason: EC.SleepTimer XHC1 (SleepTimer)
<Notice>: Wake reason: (HibernateError)
<Notice>: Wake reason: EC.LidOpen XHC1 (User)
Der letzte ist in Ordnung, da ich den Deckel wirklich geöffnet habe. Aber die oben genannten sollten nicht passieren.
Und das Ergebnis des Befehls grep -i wake /var/log/system.log:
Oct 17 02:39:56 MBP-Tomasz-2 kernel[0]: Wake reason: EC.SleepTimer (SleepTimer)
Oct 17 02:39:56 MBP-Tomasz-2 kernel[0]: AppleCamIn::systemWakeCall - messageType = 0xE0000340
Oct 17 02:39:56 MBP-Tomasz-2 kernel[0]: AppleCamIn::wakeEventHandlerThread
Oct 17 02:39:56 MBP-Tomasz-2 PowerChime[337]: 141453.711174: EARLY WAKE: kStateAsleep -> kStateEarlyWake
Oct 17 02:39:56 MBP-Tomasz-2 kernel[0]: AppleThunderboltNHIType2::prePCIWake - power up complete - took 64409 us
Oct 17 02:39:56 MBP-Tomasz-2 kernel[0]: AppleThunderboltGenericHAL::earlyWake - complete - took 1 milliseconds
Oct 17 02:39:56 MBP-Tomasz-2 kernel[0]: ARPT: 27059.087764: AirPort_Brcm43xx::powerChange: System Wake - Full Wake/ Dark Wake / Maintenance wake
Oct 17 02:39:56 MBP-Tomasz-2 kernel[0]: ARPT: 27059.088510: IOPMPowerSource Information: onWake, SleepType: Deep Idle, 'ExternalConnected': No, 'TimeRemaining': 7974,
Oct 17 02:39:56 MBP-Tomasz-2 kernel[0]: AppleCamIn::systemWakeCall - messageType = 0xE0000340
Oct 17 02:39:56 MBP-Tomasz-2 kernel[0]: AppleCamIn::wakeEventHandlerThread
Oct 17 02:39:56 MBP-Tomasz-2 PowerChime[337]: 141454.445396: DARK WAKE: kStateEarlyWake -> kStateDarkWake
Oct 17 02:39:56 MacBook-Pro-Tomasz-2 PowerChime[337]: 141454.462163: GOING TO SLEEP: kStateDarkWake -> kStateAsleep
Oct 17 02:39:55 MacBook-Pro-Tomasz-2 ntpd[232]: wake time set -2.385026 s
Oct 17 02:39:57 MacBook-Pro-Tomasz-2 kernel[0]: AppleCamIn::systemWakeCall - messageType = 0xE0000340
Oct 17 10:17:09 MacBook-Pro-Tomasz-2 kernel[0]: AppleCamIn::handleWakeEvent_gated
Oct 17 10:17:09 MacBook-Pro-Tomasz-2 kernel[0]: AppleCamIn::systemWakeCall - messageType = 0xE0000340
Oct 17 10:17:09 MacBook-Pro-Tomasz-2 kernel[0]: Wake reason: EC.LidOpen (User)
Oct 17 10:17:09 MacBook-Pro-Tomasz-2 kernel[0]: vm_compressor_fastwake_warmup (6201 - 10125) - starting
Oct 17 10:17:09 MacBook-Pro-Tomasz-2 kernel[0]: AppleCamIn::systemWakeCall - messageType = 0xE0000320
Oct 17 10:17:09 MacBook-Pro-Tomasz-2 kernel[0]: AppleCamIn::systemWakeCall - messageType = 0xE0000340
Oct 17 10:17:09 MacBook-Pro-Tomasz-2 kernel[0]: AppleCamIn::wakeEventHandlerThread
Oct 17 10:17:09 MacBook-Pro-Tomasz-2 kernel[0]: AppleThunderboltNHIType2::prePCIWake - power up complete - took 172 us
Oct 17 10:17:09 MacBook-Pro-Tomasz-2 kernel[0]: AppleThunderboltGenericHAL::earlyWake - complete - took 1 milliseconds
Oct 17 10:17:09 MacBook-Pro-Tomasz-2 PowerChime[337]: 168887.170875: EARLY WAKE: kStateAsleep -> kStateEarlyWake
Oct 17 10:17:09 MacBook-Pro-Tomasz-2 WindowServer[193]: CGXDisplayDidWakeNotification [27075365873210]: posting kCGSDisplayDidWake
Oct 17 10:17:10 MacBook-Pro-Tomasz-2 kernel[0]: ARPT: 27075.858912: AirPort_Brcm43xx::powerChange: System Wake - Full Wake/ Dark Wake / Maintenance wake
Oct 17 10:17:10 MacBook-Pro-Tomasz-2 kernel[0]: ARPT: 27075.858945: IOPMPowerSource Information: onWake, SleepType: Standby, 'ExternalConnected': No, 'TimeRemaining': 901,
Oct 17 10:17:10 MacBook-Pro-Tomasz-2 kernel[0]: AppleCamIn::systemWakeCall - messageType = 0xE0000340
Oct 17 10:17:10 MacBook-Pro-Tomasz-2 kernel[0]: AppleCamIn::wakeEventHandlerThread
Oct 17 10:17:14 MBP-Tomasz-2 kernel[0]: AppleCamIn::handleWakeEvent_gated
Oct 17 10:17:15 MBP-Tomasz-2 PowerChime[337]: 168893.051751: FULL WAKE: kStateEarlyWake -> kStateAwake
Oct 17 10:17:15 MBP-Tomasz-2 PowerChime[337]: 168893.051830: Calling fullWakeBlock
Oct 17 10:17:15 MBP-Tomasz-2 PowerChime[337]: 168893.051891: handleFullWake ENTERED
Oct 17 10:17:15 MBP-Tomasz-2 kernel[0]: AppleCamIn::systemWakeCall - messageType = 0xE0000300
Oct 17 10:17:15 MBP-Tomasz-2 sharingd[293]: 10:17:15.363 : Starting AirDrop server for user 501 on wake
Oct 17 10:17:14 MBP-Tomasz-2 ntpd[232]: wake time set -1.061934 s
Oct 17 10:17:16 MBP-Tomasz-2 kernel[0]: vm_compressor_fastwake_warmup completed - took 9003 msecs
Gibt es dafür eine Lösung?
grep -i wake /var/log/system.log
pmset -g sched
. Dadurch werden alle geplanten Weck-, Schlaf- oder Energieereignisse aufgelistet. Es ist unwahrscheinlich, dass irgendwelche geplant sind, aber es lohnt sich, sie zu überprüfen.