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

I have to simulate a behaviour of a real UPS. The physical model
contains an extra attribute: the charging current that needed to compute
recharge time and actual battery charge during the recharge process.

Can we call this variable "battery.current.recharge"?

We already have 'battery.current' and 'battery.capacity' variables, so you should use these instead. These allow you to simulate charging/discharging your virtual battery and also calculate the (virtual) charge it accumulates. You could base setting the LB flag on the 'battery.charge.low' value then.

Or should I put it into "driver.*" name space?

Not at all. This is used for variables that are passed to drivers in the 'ups.conf' file. You shouldn't add these yourself.

Best regards, Arjen

PS  Please use the nut-upsdev mailing list for development related messages.
--
Please keep list traffic on the list


_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to