From 97d6f5c483b6438dacac29eeb255e6ae9d5afd00 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Wed, 20 Nov 2019 22:26:25 +0200 Subject: [PATCH] Disabled suspend-then-hibernate Signed-off-by: Marko Korhonen --- config-root.yaml | 1 - root/etc/systemd/logind.conf | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/config-root.yaml b/config-root.yaml index 51ba8040..493e2ef8 100644 --- a/config-root.yaml +++ b/config-root.yaml @@ -137,7 +137,6 @@ profiles: - f_99-sysctl.conf - f_getty.conf - f_99-lowbat.rules - - f_sleep.conf - f_ignore - f_zsh.hook include: diff --git a/root/etc/systemd/logind.conf b/root/etc/systemd/logind.conf index 2c12aa95..6451c9c5 100644 --- a/root/etc/systemd/logind.conf +++ b/root/etc/systemd/logind.conf @@ -1,5 +1,5 @@ [Login] -HandlePowerKey=suspend-then-hibernate -HandleLidSwitch=suspend-then-hibernate -HandleLidSwitchExternalPower=suspend-then-hibernate +HandlePowerKey=suspend +HandleLidSwitch=suspend +HandleLidSwitchExternalPower=suspend HandleLidSwitchDocked=ignore