summaryrefslogtreecommitdiff
path: root/src/org.freedesktop.UPower.xml
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2011-02-02 13:44:09 +0000
committerRichard Hughes <richard@hughsie.com>2011-02-02 13:44:09 +0000
commitb31de44eeeacb3473fe83d8f4cd3f6a5afc9ae42 (patch)
tree61b33e8032d2e94b3b1bc0c5b476a0052190cc3d /src/org.freedesktop.UPower.xml
parent6343de2dd658d81935481ba4063a71743e379b53 (diff)
Add a LidForceSleep property to ensure that we don't melt any laptops
We still need to add the DMI quirks, but I'm waiting for the community to supply them now.
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>