diff options
author | Richard Hughes <richard@hughsie.com> | 2010-07-07 10:07:37 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2010-07-07 10:07:37 +0100 |
commit | 6118ac82ec623970dec712c9257bdc4fbfe450d5 (patch) | |
tree | 48ea33da42d328fec86f55f46234a863fa58e602 /src/up-backend.h | |
parent | ac8fa9d5be28ab20a2827ec3a78b15495bd875f8 (diff) | |
download | upower-6118ac82ec623970dec712c9257bdc4fbfe450d5.tar.gz |
Get the powersave command from the backend rather than hardcoding Linux specifics
Diffstat (limited to 'src/up-backend.h')
-rw-r--r-- | src/up-backend.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/up-backend.h b/src/up-backend.h index d485a2e..154e2c6 100644 --- a/src/up-backend.h +++ b/src/up-backend.h @@ -73,6 +73,8 @@ gboolean up_backend_has_encrypted_swap (UpBackend *backend); gfloat up_backend_get_used_swap (UpBackend *backend); const gchar *up_backend_get_suspend_command (UpBackend *backend); const gchar *up_backend_get_hibernate_command (UpBackend *backend); +const gchar *up_backend_get_powersave_command (UpBackend *backend, + gboolean powersave); G_END_DECLS |