[Nut-upsdev] Question about "HB" flag and a "battery.charge.high" name

Jim Klimov jimklimov at gmail.com
Tue May 7 12:47:26 BST 2024


Hello all,

  During discussion at
https://github.com/networkupstools/nut/pull/2430#discussion_r1592317940 I
found that while `nut-names.txt` documents the `battery.charge.low` as the
"Remaining battery level when UPS switches to LB (percent)", there is no
counterpart as `battery.charge.high`. First I thought one could be just
added... but for that matter, what could one logically mean - an overcharge
(as in, "possibly harmful to the chemistry of the cells")? Or an
euphemism(*) for being "well charged" (maybe not 100% if the device hovers
at some 85%-95% to extend battery life)?

  (*) Recent work in usbhid-ups dealt with optional "OL+DISCHRG" warning
throttling for known-hovering devices using a custom option; if the
"euphemism" above is ratified - it could be a more systemic setting for
that concept and behavior.

  In the same discussion, there is a mention of the "HB" flag (apparently
"High battery" per e.g. docs/new-drivers.txt), but there are too few hits
in the code base to make up an opinion about its physical meaning. Does
anyone here remember the history or intent behind it?

Thanks in advance,
Jim Klimov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsdev/attachments/20240507/725bc21a/attachment.htm>


More information about the Nut-upsdev mailing list