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:
parent
4ec3b61eb0
commit
cb82396ab7
2 changed files with 41 additions and 5 deletions
|
|
@ -1,5 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Exec=xss-lock gemian-lock
|
||||
Name=Screen Lock
|
||||
Type=Application
|
||||
Version=1.0
|
||||
41
overlay/common/etc/skel/.config/powermanagementprofilesrc
Normal file
41
overlay/common/etc/skel/.config/powermanagementprofilesrc
Normal 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
|
||||
Loading…
Add table
Reference in a new issue