Displaying 1 result from an estimated 1 matches for "fl_on_batt".
2008 Feb 12
1
SMS and Megatec protocol Diffs
...won't slip and accidentaly let the UPS shutdown.
However, I guess some UPSes may be innacurate with values <= 1 minute.
This may be a good idea.
> - if (query.flags[FL_LOAD_OFF] == '1') {
> - status_set("OFF");
> - } else if (query.flags[FL_ON_BATT] == '1' || query.flags[FL_BATT_TEST] == '1') {
> +// } else
> + if (query.flags[FL_ON_BATT] == '1' || query.flags[FL_BATT_TEST] == '1') {
> status_set("OB");
> } else {
> status_set("OL&q...