mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
power: logind config to ignore laptop lid close
Defined two settings for ignoring laptop lid close action. They handle the two cases - running on battery power and running on external power. Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
This commit is contained in:
parent
0081d1ffeb
commit
0a9341851f
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user