Changes:
- More queries supported (inputpower, batterycurrent, batteryruntime (how long
have we been running on battery), batterypercent (percent remaining),
inputlinebads (how often was input bad))
- fix a few wrong units (e.g. current is measured in amp, not in watt)
- some UPSes violate RFC 1628 by not returning the number of input-/
output-lines they have. In this case assume 3 lines instead of 0
(and just printing nothing at all).
- Make mode parameters all lowercase instead of camelcase - camelcase
just looks retarded in the plugin-symlink-names.
- some more smaller fixes