1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-06-19 01:25:21 -04:00

feat: port critical battery alert from DankBatteryAlerts plugin (#2664)

* feat: port critical battery alert from DankBatteryAlerts plugin

* ui: shorten notification type labels

* refactor: remove duplicate battery charge limit from Power & Sleep
This commit is contained in:
Huỳnh Thiện Lộc
2026-06-18 09:14:57 +07:00
committed by GitHub
parent 7af530de8f
commit 085ce01da6
5 changed files with 64 additions and 24 deletions
@@ -306,6 +306,8 @@ var SPEC = {
batteryPostLockMonitorTimeout: { def: 0 },
batteryChargeLimit: { def: 100 },
batteryNotifyChargeLimit: { def: false },
batteryCriticalThreshold: { def: 10 },
batteryNotifyCritical: { def: true },
batteryLowThreshold: { def: 20 },
batteryNotifyLow: { def: false },
batteryNotificationType: { def: 0 },