summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlokilee73 <changjoo.lee@samsung.com>2018-05-15 02:32:08 (GMT)
committerHyotaek Shim <hyotaek.shim@samsung.com>2018-07-06 10:41:07 (GMT)
commiteb61f5e1ebe28e20f24c25e66f44fa12e85a6838 (patch)
tree2b90dc15e60c2ac5a934e0117d3a2b1912f0498e
parent8485654827de7c116f12a5c706f8d28fd844d7e1 (diff)
downloadlibdevice-node-eb61f5e1ebe28e20f24c25e66f44fa12e85a6838.zip
libdevice-node-eb61f5e1ebe28e20f24c25e66f44fa12e85a6838.tar.gz
libdevice-node-eb61f5e1ebe28e20f24c25e66f44fa12e85a6838.tar.bz2
Change-Id: Ia93aecb173b11db66d9c397bf53e048751ccd080 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
-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);