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:

committed by
Willow Barraco

parent
5eb481d474
commit
be0bb09739
@@ -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)
|
||||
|
Reference in New Issue
Block a user