termux-packages/packages/termux-tools/termux-wake-unlock

14 lines
310 B
Plaintext
Raw Normal View History

#!/bin/sh
if [ $# != 0 ]; then
echo 'usage: termux-wake-unlock'
echo 'Release the Termux wake lock to allow the CPU to sleep.'
exit 1
fi
am startservice \
--user 0 \
2022-05-11 18:20:56 +02:00
-a me.sergiotarxz.openmg.x11.service_wake_unlock \
me.sergiotarxz.openmg.x11/me.sergiotarxz.openmg.x11.app.TermuxService \
> /dev/null