[Nut-upsuser] Can NUT handle a laptop battery?

Charles Lepple clepple at gmail.com
Sat Jan 8 19:26:09 GMT 2022


On Jan 8, 2022, at 12:38 PM, Goran Vukoman <g at 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 at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20220108/284d6319/attachment.htm>


More information about the Nut-upsuser mailing list