Is there any way to check charge status from the terminal?
Hi,
I'm using a script on my NAS to rdiff-backup my phone when it's in the home network. I would like to tune this script to only start if the phone has at least say 80% charge. Is there any way to check the charge level from the terminal?
Thanks