Power management supports suspend. Mentioned ALARM.
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
pptk-led set red 1
|
||||
pptk-cpu-sleep enable
|
||||
swayphone_power_presleep
|
||||
|
||||
# save current backlight for wakeup
|
||||
pptk-backlight get > ~/.backlight
|
||||
# shut down backlight
|
||||
pptk-backlight set 0
|
||||
systemctl suspend
|
||||
|
||||
|
||||
Reference in New Issue
Block a user