diff options
author | Richard Hughes <richard@hughsie.com> | 2011-02-02 13:44:09 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2011-02-02 13:44:09 +0000 |
commit | b31de44eeeacb3473fe83d8f4cd3f6a5afc9ae42 (patch) | |
tree | 61b33e8032d2e94b3b1bc0c5b476a0052190cc3d /libupower-glib/up-client.h | |
parent | 6343de2dd658d81935481ba4063a71743e379b53 (diff) | |
download | upower-b31de44eeeacb3473fe83d8f4cd3f6a5afc9ae42.tar.gz |
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 'libupower-glib/up-client.h')
-rw-r--r-- | libupower-glib/up-client.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libupower-glib/up-client.h b/libupower-glib/up-client.h index 05c8a07..aa522ab 100644 --- a/libupower-glib/up-client.h +++ b/libupower-glib/up-client.h @@ -99,6 +99,7 @@ const gchar *up_client_get_daemon_version (UpClient *client); gboolean up_client_get_can_hibernate (UpClient *client); gboolean up_client_get_lid_is_closed (UpClient *client); gboolean up_client_get_lid_is_present (UpClient *client); +gboolean up_client_get_lid_force_sleep (UpClient *client); gboolean up_client_get_is_docked (UpClient *client); gboolean up_client_get_can_suspend (UpClient *client); gboolean up_client_get_on_battery (UpClient *client); |