aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/etc/systemd/logind.conf.d/20-lid-ac.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/systemd/logind.conf.d/20-lid-ac.conf')
-rw-r--r--etc/systemd/logind.conf.d/20-lid-ac.conf14
1 files changed, 2 insertions, 12 deletions
diff --git a/etc/systemd/logind.conf.d/20-lid-ac.conf b/etc/systemd/logind.conf.d/20-lid-ac.conf
index 08e5014..6865232 100644
--- a/etc/systemd/logind.conf.d/20-lid-ac.conf
+++ b/etc/systemd/logind.conf.d/20-lid-ac.conf
@@ -1,14 +1,4 @@
[Login]
-# Suspend policy: closing the lid suspends ONLY when on battery. When
-# AC is connected the lid switch is ignored entirely. The rationale is
-# simple and matches user mental model -- if you don't want the
-# machine to sleep, plug it in.
-#
-# This obsoletes the previous SSH/zellij-aware inhibit machinery: any
-# long-running task (build, download, SSH session, server) just needs
-# AC and will never be suspended out from under itself.
-#
-# `HandleLidSwitch` (default = suspend) still applies on battery.
-# `HandleLidSwitchDocked` (default = ignore) still applies when an
-# external monitor / dock is attached.
+# On AC, closing the lid does not suspend. Battery/docked behavior uses
+# logind defaults.
HandleLidSwitchExternalPower=ignore