Merge "BatteryMonitor: report current_now in uA" into rvc-dev

This commit is contained in:
Yifan Hong 2020-04-13 22:31:12 +00:00 committed by Android (Google) Code Review
commit d4cc15499b

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);