summaryrefslogtreecommitdiff
path: root/libdevkit-power/dkp-object.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2008-11-07 10:40:11 +0000
committerRichard Hughes <richard@hughsie.com>2008-11-07 10:40:11 +0000
commitf5ea862a06a43c804fa23f289727132602c851b3 (patch)
tree6b2bb315f5e1946f61a4069da68272fca620a10a /libdevkit-power/dkp-object.h
parent75e202c0977068d7c34565d64232760a42c1a0ce (diff)
feature: add voltage property of a power device
Diffstat (limited to 'libdevkit-power/dkp-object.h')
-rw-r--r--libdevkit-power/dkp-object.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdevkit-power/dkp-object.h b/libdevkit-power/dkp-object.h
index 1261e57..c836360 100644
--- a/libdevkit-power/dkp-object.h
+++ b/libdevkit-power/dkp-object.h
@@ -47,6 +47,7 @@ typedef struct {
gdouble energy_full; /* Watt Hours */
gdouble energy_full_design; /* Watt Hours */
gdouble energy_rate; /* Watts */
+ gdouble voltage; /* Volts */
gint64 time_to_empty; /* seconds */
gint64 time_to_full; /* seconds */
gdouble percentage; /* percent */