Battery support on Pine64-LTS and power button

Bernd Walter ticso at
Sun Feb 10 17:33:39 UTC 2019

On Sun, Feb 10, 2019 at 02:10:43PM +0100, Emmanuel Vadot wrote:
>  Hi,
> 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.

Since both of my Orange Pi PC2 don't have stable ethernet with a GBit link,
the Pine64-LTS became more interesting to me.
Will have to ask the vendor about it, it is very much a hardware issue and
the boards behave differently in that one works mostly and the other mostly
don't work.

> > 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 see, thank you.

> > 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.

More information about the freebsd-arm mailing list