MacBook Air 2012与Sierra 10.12.6
有些东西在一夜之间耗尽了我的电池。
该pmset -g assertions
断言状态系统范围:
BackgroundTask 0
ApplePushServiceTask 0
UserIsActive 1
PreventUserIdleDisplaySleep 0
PreventSystemSleep 0
ExternalMedia 0
PreventUserIdleSystemSleep 0
NetworkClientActive 0
Listed by owning process:
pid 117(hidd): [0x00052d7300099bbd] 02:56:54 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294976712.3"
Timeout will fire in 1440 secs Action=TimeoutActionRelease
No kernel assertions.
Idle sleep preventers: IODisplayWrangler
关闭WiFi和任何会唤醒或保持清醒的问题仍然存在。在8小时的睡眠时间内,电池电量降至5-10%。电池是新的(6个月大)
Charge Information:
Charge Remaining (mAh): 7334
Fully Charged: Yes
Charging: No
Full Charge Capacity (mAh): 7340
Health Information:
Cycle Count: 15
Condition: Normal
Battery Installed: Yes
以下是关闭时间的活动:邮件,Skype,Chrome(有10个标签)
找到了解决以下问题的建议:
Idle sleep preventers: IODisplayWrangler
删除/重置打印机和其他东西 https://discussions.apple.com/thread/7275550?start=0&tstart=0 没有帮助。
更新:
运行log show --style syslog | fgrep "Wake reason"
显示在感兴趣的小时内注意!
手动方法:查看控制台系统日志...发现Google Chrome报告错误导致的巨大活动
Aug 16 01:22:29 myMBA Google Chrome[18176]: objc[18176]: __weak variable at 0x600001228a50 holds 0x2121212121212121 instead of 0x600000c279a0. This is probably incorrect use of objc_storeWeak() and objc_loadWeak(). Break on objc_weak_error to debug.
和谷歌软件试图重复更新?
8月16日01:40:11 myMBA GoogleSoftwareUpdateAgent一夜之间关闭Chrome,仍然一样。
更多调查(并且每晚30秒重复一次):
pmset -g log
UUID: C67362CF-C70A-4AC3-AB1E-EC803FD0563F
2017-08-18 04:53:46 -0700 Notification Display is turned off
2017-08-18 04:53:46 -0700 Assertions PID 117(hidd) Summary UserIsActive "com.apple.iohideventsystem.queue.tickle.4294968070.3" 07:57:39 id:0x0x90000926c [System: DeclUser kDisp]
2017-08-18 04:53:46 -0700 Assertions PID 50(UserEventAgent) Summary BackgroundTask "com.apple.mds.3" 36:06:15 id:0x0xb00008082 [System: DeclUser kDisp]
2017-08-18 04:53:46 -0700 Assertions Kernel Idle sleep preventers: -None-
2017-08-18 04:53:46 -0700 Assertions PID 62(powerd) Created InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:00 id:0x0xd0000937e [System: PrevIdle DeclUser SRPrevSleep kCPU kDisp]
2017-08-18 04:53:47 -0700 Assertions Kernel Idle sleep preventers: IODisplayWrangler
2017-08-18 04:53:47 -0700 Notification Display is turned on
2017-08-18 04:53:49 -0700 Kernel Client Acks Delays to Sleep notifications: [AppleBacklightDisplay driver is slow(msg: SetState to 0)(984 ms)] [AppleIntelFramebuffer driver is slow(msg: SetState to 1)(420 ms)] [AppleHDADriver driver is slow(msg: SetState to 1)(409 ms)] [AppleHDADriver driver is slow(msg: SetState to 1)(441 ms)] [AppleIntelFramebuffer driver is slow(msg: SetState to 2)(1027 ms)]
2017-08-18 04:54:01 -0700 Assertions PID 62(powerd) TimedOut InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:15 id:0x0xd0000937e [System: DeclUser SRPrevSleep kCPU kDisp]
Sleep/Wakes since boot at 2017-08-16 16:47:11 -0700 :0 Dark Wake Count in this sleep cycle:1
问题仍然存在,有些东西正在耗尽电池。我怎样才能防止这种消耗?