summaryrefslogtreecommitdiffstats
path: root/health
diff options
context:
space:
mode:
authorStephane Lee <stayfan@google.com>2019-12-19 15:04:51 -0800
committerStephane Lee <stayfan@google.com>2020-01-17 15:57:33 -0800
commit8bc403e1e21735609741e1150ec5fbda548e1742 (patch)
treeaa390eb8435a516edf9afbb5e85739e173e517ac /health
parent79fc8d02124b13ae363a463720c3521fed3eaa59 (diff)
downloadplatform_hardware_interfaces-8bc403e1e21735609741e1150ec5fbda548e1742.tar.gz
platform_hardware_interfaces-8bc403e1e21735609741e1150ec5fbda548e1742.tar.bz2
platform_hardware_interfaces-8bc403e1e21735609741e1150ec5fbda548e1742.zip
Initialize paths for health 2.1
+ batteryCapacityLevelPath + batteryChargeTimeToFullNowPath Bug: 137790244 Test: lshal debug (health service) Change-Id: I219ecc3dc77be70073761d9da5f5ee39ad76387d
Diffstat (limited to 'health')
-rw-r--r--health/utils/libhealthloop/utils.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/health/utils/libhealthloop/utils.cpp b/health/utils/libhealthloop/utils.cpp
index b0d153f583..ebfd8d8c6a 100644
--- a/health/utils/libhealthloop/utils.cpp
+++ b/health/utils/libhealthloop/utils.cpp
@@ -40,6 +40,8 @@ void InitHealthdConfig(struct healthd_config* healthd_config) {
.batteryChargeCounterPath = String8(String8::kEmptyString),
.batteryFullChargePath = String8(String8::kEmptyString),
.batteryCycleCountPath = String8(String8::kEmptyString),
+ .batteryCapacityLevelPath = String8(String8::kEmptyString),
+ .batteryChargeTimeToFullNowPath = String8(String8::kEmptyString),
.energyCounter = NULL,
.boot_min_cap = 0,
.screen_on = NULL,