From 8bc403e1e21735609741e1150ec5fbda548e1742 Mon Sep 17 00:00:00 2001 From: Stephane Lee Date: Thu, 19 Dec 2019 15:04:51 -0800 Subject: [PATCH] Initialize paths for health 2.1 + batteryCapacityLevelPath + batteryChargeTimeToFullNowPath Bug: 137790244 Test: lshal debug (health service) Change-Id: I219ecc3dc77be70073761d9da5f5ee39ad76387d --- health/utils/libhealthloop/utils.cpp | 2 ++ 1 file changed, 2 insertions(+) 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,