~mdw
/
termux-packages
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
librsync: Add package
[termux-packages]
/
packages
/
termux-api
/
termux-battery-status
1
#!/bin/sh
2
3
if
[
"
$#
"
!=
"0"
];
then
4
echo
"usage: termux-battery-status"
5
echo
"Get the status of the device battery."
6
exit
1
7
fi
8
9
@TERMUX_API@ BatteryStatus