Merge "BatteryMonitor: report current_now in uA" into rvc-dev
This commit is contained in:
commit
d4cc15499b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue