[Nut-upsdev] new variable

Arjen de Korte nut+devel at de-korte.org
Wed Sep 30 20:00:52 UTC 2009


Citeren "Kiss Gabor (Bitman)" <kissg op ssg.ki.iif.hu>:

> Eeeer... I don't agree.
> Tipically charge current and discharge current differ by
> an order of magnitude. After 25 minutes of discharge
> batteries are charged for 24 hours or so.

The magnitude is irrelevant. Allow for changing of the variable and  
you'd be able to charge/discharge the 'battery' by adjusting only that  
variable. At the same time, you could use the sign of the value to  
indicate the line status (negative for discharging, positive and zero  
for charging).

Best regards, Arjen
-- 
Please keep list traffic on the list




More information about the Nut-upsdev mailing list