Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f2125f55 authored by Yifan Hong's avatar Yifan Hong Committed by Automerger Merge Worker
Browse files

Merge "BatteryMonitor: report current_now in uA" am: 55927044 am: 9821156b

Change-Id: I44ae71767a23d91b626b3443b90a9b136cc2ac17
parents 2562f1ad 9821156b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);