summaryrefslogtreecommitdiff
path: root/libdevkit-power
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2008-08-22 10:05:53 +0100
committerRichard Hughes <richard@hughsie.com>2008-08-22 10:05:53 +0100
commitc5415a35a6645ef4328a3e502027907fa8cec5f8 (patch)
tree66f1e4d13942a7b2a1b19a91aed56abd785282bd /libdevkit-power
parentea2847339f021a6f4be07bb2ecd02e82484a248c (diff)
trivial: add some unit comments
Diffstat (limited to 'libdevkit-power')
-rw-r--r--libdevkit-power/dkp-object.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/libdevkit-power/dkp-object.h b/libdevkit-power/dkp-object.h
index 103be6e..3a55635 100644
--- a/libdevkit-power/dkp-object.h
+++ b/libdevkit-power/dkp-object.h
@@ -39,15 +39,15 @@ typedef struct {
DkpDeviceType type;
DkpDeviceState battery_state;
DkpDeviceTechnology battery_technology;
- gdouble battery_capacity;
- gdouble battery_energy;
- gdouble battery_energy_empty;
- gdouble battery_energy_full;
- gdouble battery_energy_full_design;
- gdouble battery_energy_rate;
- gint64 battery_time_to_empty;
- gint64 battery_time_to_full;
- gdouble battery_percentage;
+ gdouble battery_capacity; /* percent */
+ gdouble battery_energy; /* Watt Hours */
+ gdouble battery_energy_empty; /* Watt Hours */
+ gdouble battery_energy_full; /* Watt Hours */
+ gdouble battery_energy_full_design; /* Watt Hours */
+ gdouble battery_energy_rate; /* Watts */
+ gint64 battery_time_to_empty; /* seconds */
+ gint64 battery_time_to_full; /* seconds */
+ gdouble battery_percentage; /* percent */
} DkpObject;
DkpObject *dkp_object_new (void);