Power management supports suspend. Mentioned ALARM.

This commit is contained in:
Dejvino
2021-01-10 19:23:35 +01:00
parent a81ff33c76
commit bf413bae80
6 changed files with 57 additions and 25 deletions
+2 -6
View File
@@ -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