[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. HandleLidSwitchExternalPower=ignore