summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGreg Bellows <greg.bellows@linaro.org>2014-11-11 14:50:15 -0600
committerGreg Bellows <greg.bellows@linaro.org>2014-11-19 15:27:26 -0600
commit376194a7a48acfb030d1bbb72988569613fdfb40 (patch)
tree4a2736bed09c2c0bec644854900070e1d01e8718 /include
parent3a4b799cf005f448de63d2cda76b3f33e6a3a8ab (diff)
android-console: Add GF battery property getter
Add a function for acquiring each of the goldfish battery properties. Signed-off-by: Greg Bellows <greg.bellows@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/hw/misc/goldfish_battery.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/misc/goldfish_battery.h b/include/hw/misc/goldfish_battery.h
index f497538a5..2d02a3824 100644
--- a/include/hw/misc/goldfish_battery.h
+++ b/include/hw/misc/goldfish_battery.h
@@ -69,5 +69,6 @@ enum power_supply_property {
};
extern void goldfish_battery_display(Monitor *mon);
+void goldfish_battery_set_prop(int ac, int property, int value);
#endif /* _HW_GOLDFISH_BATTERY_H */