10 lines
158 B
Bash
Executable File
10 lines
158 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ "$#" != "0" ]; then
|
|
echo "usage: termux-battery-status"
|
|
echo "Get the status of the device battery."
|
|
exit 1
|
|
fi
|
|
|
|
@TERMUX_API@ BatteryStatus
|