summaryrefslogtreecommitdiff
path: root/src/up-daemon.h
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/up-daemon.h
parent6343de2dd658d81935481ba4063a71743e379b53 (diff)
downloadupower-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 'src/up-daemon.h')
-rw-r--r--src/up-daemon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/up-daemon.h b/src/up-daemon.h
index 4d92b19..99fb9da 100644
--- a/src/up-daemon.h
+++ b/src/up-daemon.h
@@ -77,6 +77,8 @@ 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_lid_force_sleep (UpDaemon *daemon,
+ gboolean lid_force_sleep);
void up_daemon_set_is_docked (UpDaemon *daemon,
gboolean is_docked);
void up_daemon_set_on_battery (UpDaemon *daemon,