diff options
author | Bastien Nocera <hadess@hadess.net> | 2014-05-07 09:27:24 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2014-05-07 09:27:24 +0200 |
commit | 135339acc197f0d6a92b71c85048c5a7cb6ce9d6 (patch) | |
tree | a7fcbd66ffc496fb480c2dc4bcab29707a51dcdc /src/up-daemon.h | |
parent | dbf7eb7e557674a9b888a088f1cae4f36b77e14d (diff) | |
download | upower-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/up-daemon.h')
-rw-r--r-- | src/up-daemon.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/up-daemon.h b/src/up-daemon.h index ba58a00..2d25bb2 100644 --- a/src/up-daemon.h +++ b/src/up-daemon.h @@ -77,8 +77,6 @@ void up_daemon_set_lid_is_closed (UpDaemon *daemon, gboolean lid_is_closed); void up_daemon_set_lid_is_present (UpDaemon *daemon, gboolean lid_is_present); -void up_daemon_set_is_docked (UpDaemon *daemon, - gboolean is_docked); void up_daemon_set_on_battery (UpDaemon *daemon, gboolean on_battery); void up_daemon_set_warning_level (UpDaemon *daemon, |