summaryrefslogtreecommitdiff
path: root/src/org.freedesktop.UPower.xml
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2014-05-07 09:27:24 +0200
committerBastien Nocera <hadess@hadess.net>2014-05-07 09:27:24 +0200
commit135339acc197f0d6a92b71c85048c5a7cb6ce9d6 (patch)
treea7fcbd66ffc496fb480c2dc4bcab29707a51dcdc /src/org.freedesktop.UPower.xml
parentdbf7eb7e557674a9b888a088f1cae4f36b77e14d (diff)
downloadupower-135339acc197f0d6a92b71c85048c5a7cb6ce9d6.tar.gz
daemon: Deprecate "IsDocked" property
The IsDocked property has been incorrect for a number of laptops for a while, as it thought that laptops with hybrid graphics cards were always docked. The alternative would have been to use the platform/dock_station devices, but those are only exported for ACPI docking stations. Instead, whether an external display is attached (which isn't really docking) should be checked in the same place where the policy depending on the value should be applied, such as gnome-settings-daemon. https://bugs.freedesktop.org/show_bug.cgi?id=36818
Diffstat (limited to 'src/org.freedesktop.UPower.xml')
-rw-r--r--src/org.freedesktop.UPower.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/org.freedesktop.UPower.xml b/src/org.freedesktop.UPower.xml
index 141cbac..9b2319d 100644
--- a/src/org.freedesktop.UPower.xml
+++ b/src/org.freedesktop.UPower.xml
@@ -204,8 +204,10 @@ method return sender=:1.386 -> dest=:1.451 reply_serial=2
<doc:description>
<doc:para>
If the system is currently docked.
- Note: the "is-docked" value is the result of a heuristic,
- which may involve testing the display output.
+ Note: the "is-docked" value is now always False.
+ Whether an external display is in use should be checked within
+ the session service applying policy on the presence or absence
+ of an external display, such as gnome-settings-daemon.
</doc:para>
</doc:description>
</doc:doc>