Enable Hibernate
------------------
/var/lib/polkit-1/localauthority/50-local.d/hibernate.pkla
[Re-enable hibernate by default in upower]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes
[Re-enable hibernate by default in logind]
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate
ResultActive=yes
Hibernate your laptop when lid is closed
------------------------------------------
sudo gedit /etc/systemd/logind.conf
Change the line #HandleLidSwitch=suspend to HandleLidSwitch=hibernate
0 comments:
Post a Comment