summaryrefslogtreecommitdiff
path: root/hw/battery.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/battery.h')
-rwxr-xr-x[-rw-r--r--]hw/battery.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/battery.h b/hw/battery.h
index 3302a27..747f3c8 100644..100755
--- a/hw/battery.h
+++ b/hw/battery.h
@@ -49,6 +49,9 @@ struct battery_info {
int current_now;
int current_average;
+ int voltage_now;
+ int voltage_average;
+ int temperature;
};
typedef void (*BatteryUpdated)(struct battery_info *info, void *data);