termux-packages/packages/termux-api/termux-battery-status

10 lines
158 B
Plaintext
Raw Normal View History

#!/bin/sh
2015-06-13 01:03:31 +02:00
if [ "$#" != "0" ]; then
echo "usage: termux-battery-status"
echo "Get the status of the device battery."
exit 1
fi
@TERMUX_API@ BatteryStatus