Update battery percentage preference strings

This changes the preference to be "Battery Info" and
updates the summary text to mention time remaning in addition to
percentage.

Test: None, String only change
Change-Id: Id9a8132051455842a76104ed0f2abfca3b589011
Fixes: 119828170
This commit is contained in:
Salvador Martinez
2018-11-26 13:35:58 -08:00
parent 5e568343c2
commit 7b38d57080
2 changed files with 4 additions and 4 deletions

View File

@@ -5420,9 +5420,9 @@
<string name="battery_saver_turn_on_automatically_pct">at <xliff:g id="percent">%1$s</xliff:g> battery</string>
<!-- [CHAR_LIMIT=40] Battery percentage: Title -->
<string name="battery_percentage">Battery percentage</string>
<string name="battery_info">Battery Information</string>
<!-- [CHAR_LIMIT=NONE] Battery percentage: Description for preference -->
<string name="battery_percentage_description">Show battery percentage in status bar</string>
<string name="battery_info_description">Show percentage and time left before charge is needed</string>
<!-- Process Stats strings -->
<skip />

View File

@@ -50,8 +50,8 @@
<SwitchPreference
android:key="battery_percentage"
android:title="@string/battery_percentage"
android:summary="@string/battery_percentage_description"
android:title="@string/battery_info"
android:summary="@string/battery_info_description"
settings:controller="com.android.settings.display.BatteryPercentagePreferenceController" />