[Nut-upsdev] Re: Changes to megatec.c
Carlos Rodrigues
carlos.efr at mail.telepac.pt
Fri May 4 08:19:14 UTC 2007
On 5/4/07, Arjen de Korte <nut+devel at de-korte.org> wrote:
> I have to disagree here. You won't be the only one with a PowerWalker 600,
> so it's just a matter of time that we can expect the reports about
> erroneous battery charge levels flooding the support mailing list. And we
> mechanically repeat the same solution over and over again, that people
> need to change some settings in 'ups.conf' to correct the values.
The same can be said for not having default values at all. People
would either accept the fact that they won't be getting any indication
of how charged is their UPS (for most people, the battery voltage that
the driver always reports is meaningless), or they would keep on
asking how they can obtain these values that the driver is asking
about.
In either case, the solution is to point them to the "megatec(8)"
manpage, which (for the trunk version) reads:
"The battery charge (%) value is only a best-effort calculation and may be
incorrect, or non-existant, for some UPS models. In any case, you can always
resort to finding the voltages at which the battery becomes fully discharged
and fully charged, and specify them manually using the "battvolts" option.
If you do this, please notify the author of this driver."
--
Carlos Rodrigues
More information about the Nut-upsdev
mailing list