diff --git a/src/com/android/settings/fuelgauge/PowerUsageSummary.java b/src/com/android/settings/fuelgauge/PowerUsageSummary.java index 588751949ce..5ee4fa05838 100644 --- a/src/com/android/settings/fuelgauge/PowerUsageSummary.java +++ b/src/com/android/settings/fuelgauge/PowerUsageSummary.java @@ -23,6 +23,7 @@ import android.content.Intent; import android.content.IntentFilter; import android.graphics.drawable.Drawable; import android.os.BatteryStats; +import android.os.Build; import android.os.Bundle; import android.os.Handler; import android.os.Message; @@ -287,6 +288,9 @@ public class PowerUsageSummary extends PreferenceFragment { if (percentOfTotal < 10) { continue; } + if ("user".equals(Build.TYPE)) { + continue; + } } if (sipper.drainType == BatterySipper.DrainType.UNACCOUNTED) { // Don't show over-counted unless it is at least 1/2 the size of @@ -297,6 +301,9 @@ public class PowerUsageSummary extends PreferenceFragment { if (percentOfTotal < 5) { continue; } + if ("user".equals(Build.TYPE)) { + continue; + } } final UserHandle userHandle = new UserHandle(UserHandle.getUserId(sipper.getUid())); final BatteryEntry entry = new BatteryEntry(getActivity(), mHandler, mUm, sipper);