Skip to content

Commit

Permalink
docs/man/usbhid-ups.txt: battery.runtime=65535 troubleshooting [netwo…
Browse files Browse the repository at this point in the history
…rkupstools#731, networkupstools#1740 et al]

Signed-off-by: Jim Klimov <[email protected]>
  • Loading branch information
jimklimov committed Oct 8, 2024
1 parent 539d970 commit edeecaf
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/man/usbhid-ups.txt
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,22 @@ the Interrupt In transfers if they are known not to work.
KNOWN ISSUES AND BUGS
---------------------

UPS reports 65535 sec (or 18:12:15) of battery.runtime capability
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

From a number of reports, it seems that some devices either can not report
more than a 16-bit unsigned value in the standard field for remaining run
time (vendor extended fields may exist but be unknown to the mapping tables
in your current NUT driver build), or return `-1` for error and that gets
treated as an unsigned 16-bit 65535 value.

According to some issue discussions, passing a battery test (calibration)
can help the UPS re-estimate the time more correctly.

This problem may also be linked to a very lightly loaded large-capacity UPS.
In some cases vendor documentation explicitly states that runtime calculation
is not reliable with loads under e.g. 10%.

Repetitive timeout and staleness
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down

0 comments on commit edeecaf

Please sign in to comment.