एल कैपिटान (10.11) के बाद से मुझे बैटरी खत्म होने की समस्या है। इसलिए मैंने मंचों के माध्यम से खोज की और सही उत्तर नहीं मिला, लेकिन उन्होंने कमांड दी जो लॉग दिखाती है।
तो यह लॉग है।
<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)
पिछले एक ठीक है, क्योंकि मैंने वास्तव में ढक्कन खोला था। लेकिन ऊपर वालों को ऐसा नहीं करना चाहिए।
और grep -i aw /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
तो क्या इसके लिए कोई फिक्स है?
grep -i wake /var/log/system.log
pmset -g sched
। यह किसी भी अनुसूचित जगा, नींद या बिजली की घटनाओं को सूचीबद्ध करेगा। यह किसी भी अनुसूचित होने की संभावना नहीं है, लेकिन जांच के लायक है।