Revert battery info string to be about percentage

This was originally going to do something new, but we decided
it should just control percentage in the status bar after all.

Test: robotests pass
Bug: 127518748
Change-Id: I073a19c27de43cba35031f073c2e606b483a69fd
This commit is contained in:
Salvador Martinez
2019-03-11 15:15:45 -07:00
parent 76c3a0c90a
commit 4faacea809
2 changed files with 4 additions and 4 deletions

View File

@@ -5632,9 +5632,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_info">Battery Information</string>
<string name="battery_percentage">Battery percentage</string>
<!-- [CHAR_LIMIT=NONE] Battery percentage: Description for preference -->
<string name="battery_info_description">Show percentage and time left before charge is needed</string>
<string name="battery_percentage_description">Show battery percentage in status bar</string>
<!-- Process Stats strings -->
<skip />

View File

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