summaryrefslogtreecommitdiff
path: root/src/up-backend.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2010-03-29 14:21:51 +0100
committerRichard Hughes <richard@hughsie.com>2010-03-29 14:21:51 +0100
commit4b5dc883e60adcd41d005eb6f9e2feb012a1a7de (patch)
treef30883772346c6692fc1561d8da6c3c2f9bbf8cd /src/up-backend.h
parent0198498350363a79cf42707543b43b31cedbc731 (diff)
downloadupower-4b5dc883e60adcd41d005eb6f9e2feb012a1a7de.tar.gz
Get the swap size from the backend, rather than hardcoding Linux specifics
Diffstat (limited to 'src/up-backend.h')
-rw-r--r--src/up-backend.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/up-backend.h b/src/up-backend.h
index 823ab95..2384388 100644
--- a/src/up-backend.h
+++ b/src/up-backend.h
@@ -70,6 +70,7 @@ gboolean up_backend_coldplug (UpBackend *backend,
gboolean up_backend_kernel_can_suspend (UpBackend *backend);
gboolean up_backend_kernel_can_hibernate (UpBackend *backend);
gboolean up_backend_has_encrypted_swap (UpBackend *backend);
+gfloat up_backend_get_used_swap (UpBackend *backend);
G_END_DECLS