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
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • 当因为被骂而愤怒时,你的愤怒只是因为不愿承认被骂的内容!!!!
    参与商的相遇阅读 255评论 0 0
  • 在mysql安装的时候会有一个随机密码,但是在安装的时候并没有注意到,因此在数据库登录的时候就不知道密码。接下来就...
    RosalindJuan阅读 329评论 0 0
  • 本文介绍如何将谷歌优化的代码添加到网站上,以及如何使用GA和GTM确保跟踪的效果。 入门 为了设置和使用谷歌优化,...
    Zhang_SEM阅读 1,467评论 0 0
  • 10.20感恩日记 感恩天气转晴,阳光普照大地,一片祥和的气息,给人们带来了欢乐! 感恩电工师傅帮忙修电路,很用心...
    rainlove2011阅读 203评论 0 0

友情链接更多精彩内容