summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2011-03-28 16:41:02 +0100
committerRichard Hughes <richard@hughsie.com>2011-03-28 16:41:02 +0100
commitc98ca6f8f5d893b747779ba037b75b1d25d4821c (patch)
tree4062f6ecb02bfa0f30a446027f2de7f4062055d7 /etc
parent37875310965541c8774b495397814d4b3780f0b6 (diff)
downloadupower-c98ca6f8f5d893b747779ba037b75b1d25d4821c.tar.gz
Add a config option 'IgnoreLid' so users with broken / inverted lid switches don't suspend at session start
Diffstat (limited to 'etc')
-rw-r--r--etc/UPower.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/UPower.conf b/etc/UPower.conf
index ca120dc..c9da9cd 100644
--- a/etc/UPower.conf
+++ b/etc/UPower.conf
@@ -43,3 +43,12 @@ EnableWattsUpPro=true
# default=false
PollDockDevices=false
+# Do we ignore the lid state
+#
+# Some laptops are broken. The lid state is either inverted, or stuck
+# on or off. We can't do much to fix these problems, but this is a way
+# for users to make the laptop panel vanish and for programs like
+# gnome-power-manager to not suspend on system startup.
+#
+# default=false
+IgnoreLid=false