Add default PowerDevil profiles configuration to suspend over inactivity

With system-sleep script in droid-hal-cosmopda, this will start gemian-lock
and suspend the device.
This commit is contained in:
NeKit 2020-05-06 22:53:39 +02:00
parent 4ec3b61eb0
commit cb82396ab7
2 changed files with 41 additions and 5 deletions

View file

@ -1,5 +0,0 @@
[Desktop Entry]
Exec=xss-lock gemian-lock
Name=Screen Lock
Type=Application
Version=1.0

View file

@ -0,0 +1,41 @@
[AC]
icon=battery-charging
[AC][HandleButtonEvents]
lidAction=1
powerButtonAction=16
triggerLidActionWhenExternalMonitorPresent=false
[AC][SuspendSession]
idleTime=120000
suspendType=1
[Battery]
icon=battery-060
[Battery][HandleButtonEvents]
lidAction=1
powerButtonAction=16
triggerLidActionWhenExternalMonitorPresent=false
[Battery][SuspendSession]
idleTime=60000
suspendType=1
[LowBattery]
icon=battery-low
[LowBattery][BrightnessControl]
value=30
[LowBattery][HandleButtonEvents]
lidAction=1
powerButtonAction=16
triggerLidActionWhenExternalMonitorPresent=false
[LowBattery][SuspendSession]
idleTime=60000
suspendType=1
[migration]
kdedShortcutMigration=true