From 5b25b48386744298574cc8b5e859682aba3276e2 Mon Sep 17 00:00:00 2001 From: Michel Le Cocq Date: Mon, 22 Jun 2020 09:01:44 +0200 Subject: [PATCH] --- XPS-13-7390-2-in-1--.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 :