You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
265 B
14 lines
265 B
8 years ago
|
#!/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 \
|
||
|
-a com.termux.service_wake_unlock \
|
||
|
com.termux/com.termux.app.TermuxService \
|
||
|
> /dev/null
|