Merge "BatteryMonitor: report current_now in uA" am: 559270448d am: 9821156b1e

Change-Id: I44ae71767a23d91b626b3443b90a9b136cc2ac17
This commit is contained in:
Yifan Hong 2020-04-09 22:30:56 +00:00 committed by Automerger Merge Worker
commit f2125f552c

View file

@ -258,7 +258,7 @@ void BatteryMonitor::updateValues(void) {
props.batteryVoltage = getIntField(mHealthdConfig->batteryVoltagePath) / 1000;
if (!mHealthdConfig->batteryCurrentNowPath.isEmpty())
props.batteryCurrent = getIntField(mHealthdConfig->batteryCurrentNowPath) / 1000;
props.batteryCurrent = getIntField(mHealthdConfig->batteryCurrentNowPath);
if (!mHealthdConfig->batteryFullChargePath.isEmpty())
props.batteryFullCharge = getIntField(mHealthdConfig->batteryFullChargePath);