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

Unverified Commit c4ce388e authored by Luofan Chen's avatar Luofan Chen Committed by Michael Bestas
Browse files

health: Fix limit notification

Change-Id: Iacea2006d35391438a28d9276b2be69c2d54c822
parent cea2b3c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -424,7 +424,7 @@ public class ChargingControlController extends LineageHealthFeature {

        if (mode == MODE_LIMIT) {
            if (mCurrentProvider.update(mBatteryPct, limit)) {
                mChargingNotification.post(limit, mBatteryPct == limit);
                mChargingNotification.post(limit, mBatteryPct >= limit);
            }
        } else {
            ChargeTime chargeTime = getChargeTime();