Battery support on Pine64-LTS and power button

Emmanuel Vadot manu at
Sun Feb 10 13:10:56 UTC 2019


On Sun, 10 Feb 2019 13:06:34 +0100
Bernd Walter <ticso at> wrote:

> The Pine64-LTS runs perfectly with the battery pack in addition to mains
> supply.
> But I don't see any way to see the remaining charge left, e.g. for
> a clean shuttdown.

 It's not available right now. thj@ added some non-acpi battery support
and ganbold@ said he will add support for battery status for the
pinebook. Both pinebook and pine64-lts uses the same PMIC
(AXP803/AXP813) so it will work on both.

> Also how is the power button integrated in the OS that is triggers a clean
> shutdown?

 It's done at the PMIC level, see

> I'm asking if we have ready available support to trigger a shuttdown
> via GPIO on other boards, or if such a support has to be done individually?
> It wouldn't be a big deal to poll a GPIO though.
> -- 
> B.Walter <bernd at>
> Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
> _______________________________________________
> freebsd-arm at mailing list
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at"

Emmanuel Vadot <manu at> <manu at>

More information about the freebsd-arm mailing list