sleepwalk: Use systemctl suspend

This commit is contained in:
Xavier Del Campo Romero 2023-08-11 18:24:23 +02:00
parent d8c72fbb2f
commit 8fb95d8d39
Signed by: xavi
GPG Key ID: 84FF3612A9BF43F2
1 changed files with 2 additions and 1 deletions

View File

@ -68,7 +68,8 @@ while :
do
if can_suspend
then
rtcwake -m mem -s 600 || :
rtcwake -m no -s 600 || :
systemctl suspend
if can_suspend
then