Settings: Battery saver settings sub-page.
New battery saver settings page, accessed via the power usage settings overflow menu. The settings page has a master switch to toggle battery saver mode, feature disclosure text, and a preference to configure the automatic trigger level. Remove developer checkbox now that this option has a real home. NO_SQ: multi project change Bug:13329308 Change-Id: Iac54238f3406439711b44a3c17f220ac5e370a37
This commit is contained in:
@@ -1218,4 +1218,13 @@
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Battery saver mode: allowable trigger threshold levels. -->
|
||||
<integer-array name="battery_saver_trigger_values" translatable="false" >
|
||||
<item>0</item>
|
||||
<item>5</item>
|
||||
<item>10</item>
|
||||
<item>15</item>
|
||||
<item>20</item>
|
||||
</integer-array>
|
||||
</resources>
|
||||
|
@@ -3732,6 +3732,21 @@
|
||||
<!-- Label for mediaserver process -->
|
||||
<string name="process_mediaserver_label">Mediaserver</string>
|
||||
|
||||
<!-- [CHAR_LIMIT=40] Battery saver: Label for feature, title + menu item -->
|
||||
<string name="battery_saver">Battery saver</string>
|
||||
|
||||
<!-- [CHAR_LIMIT=40] Battery saver: Title for automatic entry option -->
|
||||
<string name="battery_saver_turn_on_automatically_title">Turn on automatically</string>
|
||||
|
||||
<!-- [CHAR_LIMIT=40] Battery saver: Value for automatic entry option: Never -->
|
||||
<string name="battery_saver_turn_on_automatically_never">Never</string>
|
||||
|
||||
<!-- [CHAR_LIMIT=40] Battery saver: Value for automatic entry option: pct% battery -->
|
||||
<string name="battery_saver_turn_on_automatically_pct">at %1$d%% battery</string>
|
||||
|
||||
<!-- [CHAR_LIMIT=NONE] Battery saver: Feature description -->
|
||||
<string name="battery_saver_description">To help improve battery life, Battery saver will reduce your device’s performance.\n\nBattery saver will turn off when your device is plugged in.</string>
|
||||
|
||||
<!-- Process Stats strings -->
|
||||
<skip />
|
||||
|
||||
|
Reference in New Issue
Block a user