Initialize paths for health 2.1

+ batteryCapacityLevelPath
+ batteryChargeTimeToFullNowPath

Bug: 137790244
Test: lshal debug (health service)
Change-Id: I219ecc3dc77be70073761d9da5f5ee39ad76387d
This commit is contained in:
Stephane Lee
2019-12-19 15:04:51 -08:00
parent 79fc8d0212
commit 8bc403e1e2

View File

@@ -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,