Suspend then hibernate when battery low

After suspending laptop, it will wake up again when battery drop below 5% (Thinkpad) then it will stay powered on
If you set handle lid switch to suspend, it will rapidly resume, suspend which is not good
To put laptop hibernate when it wake up, edit /etc/UPower/UPower.conf

And set PercentageAction=4
CriticalPowerAction=hibernate

And reboot your laptop

Comments

Popular posts from this blog

Optimize SSD on Linux

Manually clean up zimbra zmcat/zmcpustat exploit

Ports to allow for whatsapp call