cleanup check_state_mutex (rename to wakelock)

Mostly a cleanup. We now have sxmo_wakeup.sh so the hook should bear
that name somehow (although sxmo_hook_suspendblockers might fit too)

Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
This commit is contained in:
Peter John Hartman
2023-03-11 04:23:39 -06:00
committed by Willow Barraco
parent 5eb481d474
commit be0bb09739
4 changed files with 17 additions and 16 deletions

View File

@@ -11,7 +11,7 @@ set -e
while true; do
# Make sure it's fresh before checking locks, reading wakeup_count will
# block so we can't poll it here
sxmo_hook_check_state_mutexes.sh
sxmo_hook_wakelocks.sh
# Reading from wakeup_count blocks until there are no wakelocks
wakeup_count=$(cat /sys/power/wakeup_count)