RMBP睡眠后耗电的问题

RMBP睡眠后耗电的问题

现象

RMBP无论是电源还是电池状态,在长时间睡眠后,笔记本发热量巨大,原因不明。

因为之前某L系本在睡眠的时候发热,导致屏幕脱胶,所以心有顾忌。

分析

执行下述命令,查看日志中的信息。

$ log show | grep -E '^2018-08-02' | grep 'Wake reason'
2018-08-02 02:39:24.993930+0800 0x74       Default     0x0                  0      0    kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC (Alarm)
2018-08-02 02:39:24.993931+0800 0x74       Default     0x0                  0      0    kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC (Alarm)
2018-08-02 06:22:02.012726+0800 0x74       Default     0x0                  0      0    kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: EC.LidOpen (User)
2018-08-02 06:22:02.012728+0800 0x74       Default     0x0                  0      0    kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: EC.LidOpen (User)
2018-08-02 10:22:42.819450+0800 0x74       Default     0x0                  0      0    kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XHC1
2018-08-02 10:22:42.819452+0800 0x74       Default     0x0                  0      0    kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XHC1
2018-08-02 10:52:24.622805+0800 0x74       Default     0x0                  0      0    kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XHC1
2018-08-02 10:52:24.622807+0800 0x74       Default     0x0                  0      0    kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XHC1
2018-08-02 11:59:57.355996+0800 0x74       Default     0x0                  0      0    kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC (Alarm)
2018-08-02 11:59:57.355998+0800 0x74       Default     0x0                  0      0    kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC (Alarm)
2018-08-02 12:33:39.941944+0800 0x74       Default     0x0                  0      0    kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC (Alarm)
2018-08-02 12:33:39.941946+0800 0x74       Default     0x0                  0      0    kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC (Alarm)
2018-08-02 13:39:02.833282+0800 0x74       Default     0x0                  0      0    kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XHC1
2018-08-02 13:39:02.833284+0800 0x74       Default     0x0                  0      0    kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XHC1
2018-08-02 15:13:08.088517+0800 0x74       Default     0x0                  0      0    kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XHC1
2018-08-02 15:13:08.088519+0800 0x74       Default     0x0                  0      0    kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XHC1
2018-08-02 16:02:01.788774+0800 0x74       Default     0x0                  0      0    kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XHC1
2018-08-02 16:02:01.788776+0800 0x74       Default     0x0                  0      0    kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XHC1

挨个了解了下,发现没有什么有价值的内容。

手动在Console中查看,发现系统日志在凌晨时有大量GoogleSoftwareUpdateAgent相关的内容,琢磨着先卸载了。

解决

卸载GoogleSoftwareUpdateAgent,具体操作如下:

~/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/ksinstall --uninstall
rm -rf ~/Library/Google/GoogleSoftwareUpdate
touch ~/Library/Google/GoogleSoftwareUpdate

卸载GoogleUpdateAgent之后,Console中只有170条日志(凌晨期间),夜间睡眠期间再也不发热了,笔记本恢复正常。

遗留问题

从家里断电拿到公司的过程中,笔记本有些发热,但是日志中并没有记录什么。

其他

额外收益,日常使用中发热量降低,风扇更少转动了。

参考

  1. https://applehelpwriter.com/2014/07/13/how-to-remove-googles-secret-update-software-from-your-mac/
  2. https://bbs.feng.com/read-htm-tid-11324251.html

你可能感兴趣的:(RMBP睡眠后耗电的问题)