<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">On Jan 8, 2022, at 12:38 PM, Goran Vukoman <<a href="mailto:g@odyss3us.net" class="">g@odyss3us.net</a>> wrote:<br class=""><div><blockquote type="cite" class=""><br class="Apple-interchange-newline"><div class=""><div class=""><div class="">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.</div><div class=""></div></div></div></blockquote><div><br class=""></div><div>It looks like the Pinebook Pro has a /sys/class/power_supply driver:</div><div><br class=""></div><div><a href="https://github.com/Syonyk/pinebookpro/blob/master/pbp-status.sh#L10" class="">https://github.com/Syonyk/pinebookpro/blob/master/pbp-status.sh#L10</a></div><div><br class=""></div><div>so theoretically, you could poll that interface and export some data for dummy-ups, as suggested in this thread:</div><div><br class=""></div><div><a href="https://alioth-lists.debian.net/pipermail/nut-upsuser/2016-September/010300.html" class="">https://alioth-lists.debian.net/pipermail/nut-upsuser/2016-September/010300.html</a></div><div><br class=""></div><div>Admittedly, a compiled NUT driver for Linux power_supply devices would be better:</div><div><br class=""></div><div><a href="https://github.com/networkupstools/nut/issues/319" class="">https://github.com/networkupstools/nut/issues/319</a></div><div><br class=""></div><div><br class=""></div><blockquote type="cite" class=""><div class="">_______________________________________________<br class="">Nut-upsuser mailing list<br class=""><a href="mailto:Nut-upsuser@alioth-lists.debian.net" class="">Nut-upsuser@alioth-lists.debian.net</a><br class="">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser<br class=""></div></blockquote></div><br class=""></body></html>