diff --git a/plinth/modules/power/data/usr/lib/systemd/login.conf.d/50-freedombox.conf b/plinth/modules/power/data/usr/lib/systemd/login.conf.d/50-freedombox.conf new file mode 100644 index 000000000..253d15dd6 --- /dev/null +++ b/plinth/modules/power/data/usr/lib/systemd/login.conf.d/50-freedombox.conf @@ -0,0 +1,12 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later +# +# Disable sleep when laptop lid is closed, whether on battery or on +# external power. This configuration is for Debian laptops with freedombox +# installed as a package. +# +# To override the configuration in this file, a system administration can copy +# this file to /etc/systemd/logind.conf.d/90-my.conf (or /etc/systemd/logind.conf) +# and set the values to 'yes'. +[Login] +HandleLidSwitch=ignore +HandleLidSwitchExternalPower=ignore