termux-packages/packages/termux-api/termux-battery-status
Fredrik Fornwall 59f0d218a6 Initial push
2015-06-13 01:03:31 +02:00

10 lines
163 B
Bash
Executable File

#!/system/bin/sh
if [ "$#" != "0" ]; then
echo "usage: termux-battery-status"
echo "Get the status of the device battery."
exit 1
fi
termux-api BatteryStatus