From 135339acc197f0d6a92b71c85048c5a7cb6ce9d6 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 7 May 2014 09:27:24 +0200 Subject: 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 --- src/org.freedesktop.UPower.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/org.freedesktop.UPower.xml') 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 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. -- cgit v1.2.1