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

Commit f6875130 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Revert "BatteryMeterView: Battery icon available by default"

This reverts commit 0ecd5990.
parent c86fa856
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -86,7 +86,7 @@ public class BatteryMeterView extends LinearLayout implements DarkReceiver {
    private int mShowPercentMode = MODE_DEFAULT;
    private int mShowPercentMode = MODE_DEFAULT;
    private String mEstimateText = null;
    private String mEstimateText = null;
    private boolean mCharging;
    private boolean mCharging;
    private boolean mPresent = true;
    private boolean mPresent;
    private boolean mIsOverheated;
    private boolean mIsOverheated;
    private boolean mDisplayShieldEnabled;
    private boolean mDisplayShieldEnabled;
    // Error state where we know nothing about the current battery state
    // Error state where we know nothing about the current battery state
+1 −1
Original line number Original line Diff line number Diff line
@@ -85,7 +85,7 @@ public class BatteryControllerImpl extends BroadcastReceiver implements BatteryC


    protected int mLevel;
    protected int mLevel;
    protected boolean mPluggedIn;
    protected boolean mPluggedIn;
    protected boolean mPresent = true;
    protected boolean mPresent;
    private int mPluggedChargingSource;
    private int mPluggedChargingSource;
    protected boolean mCharging;
    protected boolean mCharging;
    private boolean mStateUnknown = false;
    private boolean mStateUnknown = false;