Merge "Update battery defender tip string" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
029edb7c48
@@ -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] -->
|
||||||
|
@@ -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.
|
||||||
|
Reference in New Issue
Block a user