Battery Charging Controller for Termux. Keeps battery charge between 65% to 75% when plugged in 24/7. Only works on Xperia M with Magisk rooted lineage-14.1-20180622-UNOFFICIAL-nicki for now.
- root
- Termux:Boot
- screen
-
Copy bcc and .termux directory including their contents to
/data/data/com.termux/files/home
./data/data/com.termux/files/home/bcc/bcc /data/data/com.termux/files/home/.termux/boot/10-bcc
-
Make executable.
$ chmod +x /data/data/com.termux/files/home/bcc/bcc $ chmod +x /data/data/com.termux/files/home/.termux/boot/10-bcc
-
If installed correctly,
bcc
will start on boot on ascreen
session.