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

Commit 9e109249 authored by Steve Kondik's avatar Steve Kondik
Browse files

Fix battery status patch.

parent 809cb8e5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -600,7 +600,7 @@ public class StatusBarPolicy {
        int level = intent.getIntExtra("level", -1);

        //show battery percentage if not plugged in and status is enabled
        if (plugged || level >= 100 || 
        if (plugged != 0 || level >= 100 || 
	        Settings.System.getInt(mContext.getContentResolver(),
                Settings.System.BATTERY_PERCENTAGE_STATUS_ICON, 1) == 0) {
            mBatteryData.number = -1;