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

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

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

Change-Id: Idc99393eb60132e06371b37a4902e8c66ea4b49f
parents 3e58f9dc df043059
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -258,7 +258,7 @@ void BatteryMonitor::updateValues(void) {
    props.batteryVoltage = getIntField(mHealthdConfig->batteryVoltagePath) / 1000;
    props.batteryVoltage = getIntField(mHealthdConfig->batteryVoltagePath) / 1000;


    if (!mHealthdConfig->batteryCurrentNowPath.isEmpty())
    if (!mHealthdConfig->batteryCurrentNowPath.isEmpty())
        props.batteryCurrent = getIntField(mHealthdConfig->batteryCurrentNowPath) / 1000;
        props.batteryCurrent = getIntField(mHealthdConfig->batteryCurrentNowPath);


    if (!mHealthdConfig->batteryFullChargePath.isEmpty())
    if (!mHealthdConfig->batteryFullChargePath.isEmpty())
        props.batteryFullCharge = getIntField(mHealthdConfig->batteryFullChargePath);
        props.batteryFullCharge = getIntField(mHealthdConfig->batteryFullChargePath);