Battery: Add option to disable led after full charging (2/2)

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
xyyx
2021-10-29 15:18:22 +08:00
committed by Hưng Phan
parent ddecafb3db
commit 943d2fd0dd
2 changed files with 6 additions and 3 deletions

View File

@@ -125,9 +125,6 @@
<!--ThemePicker-->
<string name="theme_select_title">Styles and Wallpapers</string>
<string name="theme_select_summary">Browse and select installed themes</string>
<!-- Battery light -->
<string name="battery_light_settings">Battery charging light</string>
<string name="notification_light_settings">Notifications light</string>
@@ -316,6 +313,7 @@
<!-- Battery light -->
<string name="battery_light_settings">Battery charging light</string>
<string name="battery_light_enable">Enable</string>
<string name="battery_full_light_enabled">Battery light when full charged</string>
<string name="battery_light_allow_on_dnd_title">Battery light in Do Not Disturb mode</string>
<string name="battery_light_low_blinking_title">Blinking light on low battery</string>
<string name="battery_light_cat">Battery light color when charging</string>

View File

@@ -22,6 +22,11 @@
android:title="@string/battery_light_enable"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="battery_full_light_enabled"
android:title="@string/battery_full_light_enabled"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="battery_light_allow_on_dnd"
android:title="@string/battery_light_allow_on_dnd_title"