Pinebook Pro battery fuel-gauge driver..
soren.schmidt at gmail.com
Fri Aug 14 16:23:37 UTC 2020
Now that we have display and all working I hacked up a driver for the cw2015 chip that can tell how much battery is left so I know when to seek an outlet :)
It consists of a patch to the dts (from linux) where all I need is the chiplocation but for compats sake, and the driver.
Access is via sysctl, as we have no real way of handling this info on ARM (no acpi, apm etc) AFAIK.
sos at deepcore.dk / sos at freebsd.org
"So much code to hack, so little time"
More information about the freebsd-arm