summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuchi Kandoi2015-08-12 19:49:42 -0500
committerRuchi Kandoi2015-08-25 16:51:48 -0500
commita679508acaa74c6341999d40c6515e0b363093eb (patch)
treee133f64b0a3a250b0a8626119af7d3ddf2349842 /include
parentf364393a01824bf4d805b6fffc78bb00d426eb9f (diff)
downloadframeworks-native-a679508acaa74c6341999d40c6515e0b363093eb.tar.gz
frameworks-native-a679508acaa74c6341999d40c6515e0b363093eb.tar.xz
frameworks-native-a679508acaa74c6341999d40c6515e0b363093eb.zip
BatteryProperties: Adds batteryCycleCount, batteryCurrent,
batteryFullCharge fields in the the battery properties. Bug: 22981343 Change-Id: I426b4b7d1eb544d2b1d97d87ae1eba0fdf35c503 Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/batteryservice/BatteryService.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/batteryservice/BatteryService.h b/include/batteryservice/BatteryService.h
index 6211cf4ca..cf19add55 100644
--- a/include/batteryservice/BatteryService.h
+++ b/include/batteryservice/BatteryService.h
@@ -63,6 +63,9 @@ struct BatteryProperties {
63 int batteryLevel; 63 int batteryLevel;
64 int batteryVoltage; 64 int batteryVoltage;
65 int batteryTemperature; 65 int batteryTemperature;
66 int batteryCurrent;
67 int batteryCycleCount;
68 int batteryFullCharge;
66 String8 batteryTechnology; 69 String8 batteryTechnology;
67 70
68 status_t writeToParcel(Parcel* parcel) const; 71 status_t writeToParcel(Parcel* parcel) const;