summaryrefslogtreecommitdiff
path: root/src/org.freedesktop.UPower.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/org.freedesktop.UPower.xml')
-rw-r--r--src/org.freedesktop.UPower.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/org.freedesktop.UPower.xml b/src/org.freedesktop.UPower.xml
index 6cb636d..c37d218 100644
--- a/src/org.freedesktop.UPower.xml
+++ b/src/org.freedesktop.UPower.xml
@@ -304,6 +304,24 @@ method return sender=:1.386 -> dest=:1.451 reply_serial=2
</doc:doc>
</property>
+ <property name="LidForceSleep" type="b" access="read">
+ <doc:doc>
+ <doc:description>
+ <doc:para>
+ If the system really has to sleep when the lid is closed.
+ Some laptops actually melt (!) if the lid is closed and the
+ computer keeps running. We blacklist those, and do something
+ sane for the other machines.
+ </doc:para>
+ <doc:para>
+ This allows us to set the default session policy to not
+ suspend on lid close if the laptop is docked, and be sure
+ the machine is not going to melt.
+ </doc:para>
+ </doc:description>
+ </doc:doc>
+ </property>
+
<property name="IsDocked" type="b" access="read">
<doc:doc>
<doc:description>