On Jan 8, 2022, at 12:38 PM, Goran Vukoman <g...@odyss3us.net> wrote:
> 
> The Pine64 ARM boards have a battery connector, not quite a laptop, but AFAIK 
> the board will charge and use the battery as fallback if lights go out.

It looks like the Pinebook Pro has a /sys/class/power_supply driver:

https://github.com/Syonyk/pinebookpro/blob/master/pbp-status.sh#L10 
<https://github.com/Syonyk/pinebookpro/blob/master/pbp-status.sh#L10>

so theoretically, you could poll that interface and export some data for 
dummy-ups, as suggested in this thread:

https://alioth-lists.debian.net/pipermail/nut-upsuser/2016-September/010300.html
 
<https://alioth-lists.debian.net/pipermail/nut-upsuser/2016-September/010300.html>

Admittedly, a compiled NUT driver for Linux power_supply devices would be 
better:

https://github.com/networkupstools/nut/issues/319 
<https://github.com/networkupstools/nut/issues/319>


> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser@alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to