With system-sleep script in droid-hal-cosmopda, this will start gemian-lock and suspend the device.
41 lines
672 B
Text
41 lines
672 B
Text
[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
|