diff --git a/XPS-13-7390-2-in-1--.md b/XPS-13-7390-2-in-1--.md index 9596a7e..3d20ef4 100644 --- a/XPS-13-7390-2-in-1--.md +++ b/XPS-13-7390-2-in-1--.md @@ -214,6 +214,18 @@ Action=org.freedesktop.login1.hibernate;org.freedesktop.login1.handle-hibernate- ResultActive=yes ~~~ +## configure hibernate to auto switch from sleep to hibernate + +edit : */etc/systemd/sleep.conf* + +And add this value to it (The number represents seconds you want to pass in sleep, after which the computer will switch to hibernation, so you can put it in 60 seconds or something short just to check it's working and after that you can put whatever ammount of time you want): + +~~~ +[Sleep] + +HibernateDelaySec=7200 +~~~ + [](https://doc.ubuntu-fr.org/tutoriel/activer_hibernation) kernel lockdown prevent hibernation :