diff options
author | Richard Hughes <richard@hughsie.com> | 2009-05-05 12:51:26 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2009-05-05 12:51:26 +0100 |
commit | 7bd2dfefcb88d2e40402f4e1272dd70255d34b87 (patch) | |
tree | 7dbd6b4122221439c54153c329b60b3a26ebce78 /tools | |
parent | dccd5fc898bcb3d66038902cfddeb9ea935f5a18 (diff) | |
download | upower-7bd2dfefcb88d2e40402f4e1272dd70255d34b87.tar.gz |
Add a property lid-is-closed so that we can finally drop the HAL dep in g-p-m and x-p-m
Diffstat (limited to 'tools')
-rw-r--r-- | tools/dkp-tool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/dkp-tool.c b/tools/dkp-tool.c index 15723f0..80c7d29 100644 --- a/tools/dkp-tool.c +++ b/tools/dkp-tool.c @@ -86,6 +86,7 @@ dkp_client_print (DkpClient *client) g_print (" can-hibernate %s\n", dkp_client_can_hibernate (client) ? "yes" : "no"); g_print (" on-battery: %s\n", dkp_client_on_battery (client) ? "yes" : "no"); g_print (" on-low-battery: %s\n", dkp_client_on_low_battery (client) ? "yes" : "no"); + g_print (" lid-is-closed: %s\n", dkp_client_lid_is_closed (client) ? "yes" : "no"); } /** |