diff options
-rw-r--r-- | src/com/android/settings/fuelgauge/PowerUsageSummary.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/settings/fuelgauge/PowerUsageSummary.java b/src/com/android/settings/fuelgauge/PowerUsageSummary.java index 323a56c..d31bcff 100644 --- a/src/com/android/settings/fuelgauge/PowerUsageSummary.java +++ b/src/com/android/settings/fuelgauge/PowerUsageSummary.java @@ -463,6 +463,8 @@ public class PowerUsageSummary extends PowerUsageBase return; } mPerfProfilePref.setValue(String.valueOf(mPerf.getPowerProfile())); + mPerAppProfiles.setEnabled( + mPerf.getProfileHasAppProfiles(mPerf.getPowerProfile())); updatePerformanceSummary(); } |