summaryrefslogtreecommitdiffstats
path: root/healthd/healthd.cpp
diff options
context:
space:
mode:
authorRuchi Kandoi <kandoiruchi@google.com>2015-08-24 13:01:16 -0700
committerRuchi Kandoi <kandoiruchi@google.com>2015-08-24 13:01:16 -0700
commitcc338801e46776541fb661956ce76a3c97f5bb45 (patch)
tree1e25bd34f84f696427573b3f37ccaa74df564029 /healthd/healthd.cpp
parente3c028836f892e74c737c8b16ff96321cee82d25 (diff)
downloadcore-cc338801e46776541fb661956ce76a3c97f5bb45.tar.gz
core-cc338801e46776541fb661956ce76a3c97f5bb45.tar.bz2
core-cc338801e46776541fb661956ce76a3c97f5bb45.zip
healthd: Adds cycle_count, current_now and full_charge properties.
Bug: 22981343 Change-Id: I4b942b891f61e6bf12e3b23f4e0ada5b7f14fd83 Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
Diffstat (limited to 'healthd/healthd.cpp')
-rw-r--r--healthd/healthd.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/healthd/healthd.cpp b/healthd/healthd.cpp
index 1fee855c0..cc6824ab5 100644
--- a/healthd/healthd.cpp
+++ b/healthd/healthd.cpp
@@ -52,6 +52,8 @@ static struct healthd_config healthd_config = {
.batteryCurrentNowPath = String8(String8::kEmptyString),
.batteryCurrentAvgPath = String8(String8::kEmptyString),
.batteryChargeCounterPath = String8(String8::kEmptyString),
+ .batteryFullChargePath = String8(String8::kEmptyString),
+ .batteryCycleCountPath = String8(String8::kEmptyString),
.energyCounter = NULL,
.screen_on = NULL,
};