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

Commit 533e90d9 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 10180570 from 5be6ec75 to udc-release

Change-Id: I8722375ff8cd612a791514ec0cbc39888e923004
parents 2228fe09 5be6ec75
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -242,6 +242,8 @@ BatteryHealth getBatteryHealthStatus(int status) {
        value = BatteryHealth::DEAD;
    else if (status == BatteryMonitor::BH_FAILED)
        value = BatteryHealth::UNSPECIFIED_FAILURE;
    else if (status == BatteryMonitor::BH_NOT_AVAILABLE)
        value = BatteryHealth::NOT_AVAILABLE;
    else
        value = BatteryHealth::UNKNOWN;

+1 −0
Original line number Diff line number Diff line
@@ -62,6 +62,7 @@ class BatteryMonitor {
        BH_MARGINAL,
        BH_NEEDS_REPLACEMENT,
        BH_FAILED,
        BH_NOT_AVAILABLE,
    };

    BatteryMonitor();