[Nut-upsdev] sign of battery.current

Arjen de Korte nut+devel at de-korte.org
Fri Oct 2 09:38:27 UTC 2009


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

> What is the sign of battery.current value?
> I wonder if the negative number means charging or discharging.

Most drivers that use battery.current, a positive value means  
charging. It is extremely rare that discharge current is reported, but  
the few drivers that use it (the 'ivtscd' driver for instance) will  
report a negative value in that case.

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




More information about the Nut-upsdev mailing list