自从El Capitan(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的结果唤醒/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
那么有没有解决的办法?
@GrahamMiln是的,没有安排任何时间,所以这不是问题。我在bugreport.apple.com上提交了一个错误,正在等待回应。如果他们说些有趣的话,我会放在这里。
—
Tomasz Kasperek
@GrahamMiln当我请求sched时,我没有在10.11上列出我的电源午睡唤醒。
—
bmike
您可以编辑它以显示您运行的命令以获取那些日志吗?它似乎缺少时间,并且如果您检查,您的系统日志也应该有很多“唤醒”命中项。
—
bmike
grep -i wake /var/log/system.log
@bmike添加了您给我的命令结果。这是从昨晚开始的,只有那些时间是凌晨02点才应该发生
—
Tomasz Kasperek
pmset -g sched
。这将列出所有计划的唤醒,睡眠或电源事件。不太可能安排任何时间,但值得检查。