diff --git a/res/values/strings.xml b/res/values/strings.xml index 0ca1628dc21..7b9f77c2402 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -4527,6 +4527,8 @@ ^1 ago App usage since full charge (^1 ago) + + Device usage since full charge (^1 ago) Amount of time screen has been on since full charge @@ -7440,11 +7442,11 @@ Usage alerts - - Show all apps + + Show full device usage - - Hide extra apps + + Show app usage High usage diff --git a/src/com/android/settings/fuelgauge/PowerUsageSummary.java b/src/com/android/settings/fuelgauge/PowerUsageSummary.java index 27aa52f91c7..cac4e90b6cd 100644 --- a/src/com/android/settings/fuelgauge/PowerUsageSummary.java +++ b/src/com/android/settings/fuelgauge/PowerUsageSummary.java @@ -503,8 +503,9 @@ public class PowerUsageSummary extends PowerUsageBase implements updateLastFullChargePreference(runningTime); final CharSequence timeSequence = Utils.formatElapsedTime(context, runningTime, false); - mAppListGroup.setTitle( - TextUtils.expandTemplate(getText(R.string.power_usage_list_summary), timeSequence)); + final int resId = mShowAllApps ? R.string.power_usage_list_summary_device + : R.string.power_usage_list_summary; + mAppListGroup.setTitle(TextUtils.expandTemplate(getText(resId), timeSequence)); refreshAppListGroup(); }