Merge "Update battery defender tip string" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-05-27 05:52:19 +00:00
committed by Android (Google) Code Review
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.