Update battery defender tip string

Bug: 175662315
Test: m RunSettingsRoboTests
Change-Id: I064a538631d359b22982f9df6e550b489529b057
This commit is contained in:
Wesley.CW Wang
2021-05-26 15:33:50 +08:00
parent f49190d769
commit 9cc091cbd7
2 changed files with 2 additions and 2 deletions

View File

@@ -6094,7 +6094,7 @@
<!-- Summary for the battery high usage tip, which presents apps with highest usage [CHAR LIMIT=NONE] --> <!-- Summary for the battery high usage tip, which presents apps with highest usage [CHAR LIMIT=NONE] -->
<string name="battery_tip_high_usage_summary">See apps with highest usage</string> <string name="battery_tip_high_usage_summary">See apps with highest usage</string>
<!-- Title for the battery limited temporarily tip [CHAR LIMIT=NONE] --> <!-- Title for the battery limited temporarily tip [CHAR LIMIT=NONE] -->
<string name="battery_tip_limited_temporarily_title">Optimizing for battery health</string> <string name="battery_tip_limited_temporarily_title">Charging temporarily limited</string>
<!-- Summary for the battery limited temporarily tip [CHAR LIMIT=NONE] --> <!-- Summary for the battery limited temporarily tip [CHAR LIMIT=NONE] -->
<string name="battery_tip_limited_temporarily_summary">Battery limited temporarily. Learn more.</string> <string name="battery_tip_limited_temporarily_summary">Battery limited temporarily. Learn more.</string>
<!-- Message for battery tip dialog to show the status about the battery [CHAR LIMIT=NONE] --> <!-- Message for battery tip dialog to show the status about the battery [CHAR LIMIT=NONE] -->

View File

@@ -258,7 +258,7 @@ public class BatteryInfoTest {
false /* shortString */); false /* shortString */);
assertThat(info.isOverheated).isTrue(); assertThat(info.isOverheated).isTrue();
assertThat(info.chargeLabel).isEqualTo("50% - Optimizing for battery health"); assertThat(info.chargeLabel).isEqualTo("50% - Charging temporarily limited");
} }
// Make our battery stats return a sequence of battery events. // Make our battery stats return a sequence of battery events.