macOS 盒盖休眠掉电解决办法


2018款MacBookPro,盒盖总是会掉电2%-8%不等。

2018-12-13更新:

恢复tcpkeepalive为1,按照如下方式设置免打扰模式,也能解决掉电问题,昨晚上测试,一个晚上没有掉电。系统版本10.14.2

以下方法废弃,因为关闭tcpkeepalive会禁用find my Mac功能,现在使用上面的设置免打扰的功能进行节电。

–分割线–

使用pmset命令修改tcpkeepalive,降低耗电量。默认是 1 ,打开状态,通过pmset命令修改为0

$ pmset -g custom

设置为关闭,-b参数为仅设置电池模式tcpkeepalive关闭,关闭tcpkeepalive时会出现如下警告信息,直接忽略

$ sudo pmset -b tcpkeepalive 0

Warning: This option disables TCP Keep Alive mechanism when sytem is sleeping. This will result in some critical features like ‘Find My Mac’ not to function properly.

修改完之后结果如下:

$ pmset -g custom
Battery Power:
lidwake 1
standbydelayhigh 86400
standbydelaylow 10800
standby 1
proximitywake 0
ttyskeepawake 1
Standby Battery Threshold 50
powernap 0
gpuswitch 2
hibernatefile /var/vm/sleepimage
hibernatemode 3
displaysleep 2
sleep 1
tcpkeepalive 0
halfdim 1
acwake 0
lessbright 1
disksleep 10
AC Power:
lidwake 1
standbydelayhigh 86400
standbydelaylow 10800
standby 1
proximitywake 1
ttyskeepawake 1
hibernatemode 3
powernap 1
gpuswitch 2
hibernatefile /var/vm/sleepimage
Standby Battery Threshold 50
womp 1
displaysleep 10
networkoversleep 0
sleep 1
tcpkeepalive 1
halfdim 1
acwake 0
disksleep 10

Advertisements

macOS 盒盖休眠掉电解决办法”的一个响应

  1. 我的是2015款的pro,也有这个问题,昨晚按照你说的方法调整了0,今天早上一看,还是老样子——掉了20%多的电

发表评论

Fill in your details below or click an icon to log in:

WordPress.com 徽标

You are commenting using your WordPress.com account. Log Out /  更改 )

Google photo

You are commenting using your Google account. Log Out /  更改 )

Twitter picture

You are commenting using your Twitter account. Log Out /  更改 )

Facebook photo

You are commenting using your Facebook account. Log Out /  更改 )

Connecting to %s

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理