Solved:MacOS Mojave Battery Drain
解決Mojave更新後休眠耗電問題
依下列指令設定電池模式的休眠參數:
等待時間(秒)可依個人需求調整,範例中14400 = 4小時
等待時間(秒)可依個人需求調整,範例中14400 = 4小時
sudo pmset -b tcpkeepalive 0
sudo pmset -b autopoweroffdelay 14400
sudo pmset -b standbydelayhigh 14400
sudo pmset -b standbydelaylow 14400
設定完畢後重開機
用以下指令查看參數是否設定成功:
pmset -g custom
設定成功結果如下:
Battery Power:
lidwake 1
autopoweroff 1
lidwake 1
autopoweroff 1
standbydelayhigh 14400
autopoweroffdelay 14400
proximitywake 0
standby 1
standbydelaylow 14400
ttyskeepawake 1
Standby Battery Threshold 50
powernap 0
gpuswitch 2
hibernatefile /var/vm/sleepimage
hibernatemode 3
displaysleep 2
sleep 2
tcpkeepalive 0
halfdim 1
acwake 0
lessbright 1
disksleep 10
設定後實測,休眠12小時耗電從 5% 降到 1%
留言
張貼留言