Pinebook Pro battery fuel-gauge driver..

Søren Schmidt <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
Hi

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.

Enjoy!



--
Søren Schmidt
[email protected] / [email protected]
"So much code to hack, so little time"



_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.