03-08-2017, 03:34 PM
You can read battery status running Linux just by reading info from sysfs (/sys/class/....) files. You get current, voltage, remaining percentage (the PMIC has a learning battery gauge) and other things...
Come have a chat in the Pine IRC channel >>