From e4b737266687e8ea4d5e97cb7e22f107335028c1 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 10 Feb 2026 14:07:40 +0100 Subject: [PATCH] Cannot get suspend to hibernate to work consistently across different laptops Too many failures where it's stuck in a suspend-wake-up loop --- bin/omarchy-hibernation-setup | 6 +----- default/systemd/hibernate.conf | 3 --- default/systemd/lid.conf | 2 -- 3 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 default/systemd/hibernate.conf delete mode 100644 default/systemd/lid.conf diff --git a/bin/omarchy-hibernation-setup b/bin/omarchy-hibernation-setup index 597a6839..108e8ffa 100755 --- a/bin/omarchy-hibernation-setup +++ b/bin/omarchy-hibernation-setup @@ -59,11 +59,7 @@ sudo mkdir -p /etc/mkinitcpio.conf.d echo "Adding resume hook to $MKINITCPIO_CONF" echo "HOOKS+=(resume)" | sudo tee "$MKINITCPIO_CONF" >/dev/null -# Configure suspend-then-hibernate -echo "Configuring suspend-then-hibernate" -sudo mkdir -p /etc/systemd/logind.conf.d /etc/systemd/sleep.conf.d /usr/lib/systemd/system-sleep -sudo cp "$OMARCHY_PATH/default/systemd/lid.conf" /etc/systemd/logind.conf.d/ -sudo cp "$OMARCHY_PATH/default/systemd/hibernate.conf" /etc/systemd/sleep.conf.d/ +# Ensure keyboard backlight doesn't prevent sleep sudo cp -p "$OMARCHY_PATH/default/systemd/system-sleep/keyboard-backlight" /usr/lib/systemd/system-sleep/ # Use ACPI alarm for RTC wakeup on s2idle systems (needed for suspend-then-hibernate) diff --git a/default/systemd/hibernate.conf b/default/systemd/hibernate.conf deleted file mode 100644 index 8268c41a..00000000 --- a/default/systemd/hibernate.conf +++ /dev/null @@ -1,3 +0,0 @@ -[Sleep] -HibernateDelaySec=90min -SuspendEstimationSec=0 diff --git a/default/systemd/lid.conf b/default/systemd/lid.conf deleted file mode 100644 index c6ecbcb7..00000000 --- a/default/systemd/lid.conf +++ /dev/null @@ -1,2 +0,0 @@ -[Login] -HandleLidSwitch=suspend-then-hibernate