1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

Add battery charge limit (#1151)

This commit is contained in:
Aaron Tulino
2025-12-25 10:09:09 -07:00
committed by GitHub
parent 6b6f51cd1f
commit adf92cbc46
6 changed files with 51 additions and 3 deletions

View File

@@ -261,6 +261,7 @@ Singleton {
property int batterySuspendTimeout: 0
property int batterySuspendBehavior: SettingsData.SuspendBehavior.Suspend
property string batteryProfileName: ""
property int batteryChargeLimit: 100
property bool lockBeforeSuspend: false
property bool loginctlLockIntegration: true
property bool fadeToLockEnabled: false

View File

@@ -160,6 +160,7 @@ var SPEC = {
batterySuspendTimeout: { def: 0 },
batterySuspendBehavior: { def: 0 },
batteryProfileName: { def: "" },
batteryChargeLimit: { def: 100 },
lockBeforeSuspend: { def: false },
loginctlLockIntegration: { def: true },
fadeToLockEnabled: { def: false },