Commit | Line | Data |
---|---|---|
b956895d FF |
1 | #!/bin/sh |
2 | ||
3 | if [ $# != 0 ]; then | |
4 | echo 'usage: termux-wake-unlock' | |
5 | echo 'Release the Termux wake lock to allow the CPU to sleep.' | |
6 | exit 1 | |
7 | fi | |
8 | ||
9 | am startservice \ | |
10 | --user 0 \ | |
11 | -a com.termux.service_wake_unlock \ | |
12 | com.termux/com.termux.app.TermuxService \ | |
13 | > /dev/null |