Cherish: Add toggle to disable battery estimates in QS [2/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
SKULSHADY
2021-11-25 01:07:41 +07:00
committed by Hưng Phan
parent 0dd9c5b784
commit 2050123d4f
2 changed files with 10 additions and 0 deletions

View File

@@ -598,4 +598,8 @@
<string name="monet_engine_accurate_shades_title">Use accurate shades</string>
<string name="monet_engine_chroma_factor_title">Chroma factor</string>
<string name="monet_engine_linear_lightness_title">Use linear lightness</string>
<!-- QS battery estimates -->
<string name="qs_show_battery_estimate_title">Battery estimates</string>
<string name="qs_show_battery_estimate_summary">Show estimated remaining battery life next to the icon</string>
</resources>

View File

@@ -21,6 +21,12 @@
<PreferenceCategory
android:title="@string/qs_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_show_battery_estimate"
android:title="@string/qs_show_battery_estimate_title"
android:summary="@string/qs_show_battery_estimate_summary"
android:defaultValue="true"/>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_running_services_toggle"
android:title="@string/qs_running_services_title"