diff --git a/sysutils/apcupsd/src/opnsense/mvc/app/controllers/OPNsense/Apcupsd/forms/general.xml b/sysutils/apcupsd/src/opnsense/mvc/app/controllers/OPNsense/Apcupsd/forms/general.xml index 0aa561920..7fd4ff0ec 100644 --- a/sysutils/apcupsd/src/opnsense/mvc/app/controllers/OPNsense/Apcupsd/forms/general.xml +++ b/sysutils/apcupsd/src/opnsense/mvc/app/controllers/OPNsense/Apcupsd/forms/general.xml @@ -62,8 +62,10 @@ apcupsd.general.BatteryLevel text - Apcupsd will shutdown the system during a power failure when the remaining battery charge falls below the - specified percentage. (Default is 5). + + Apcupsd will shutdown the system during a power failure when the remaining battery charge falls below the + specified percentage. Set to -1 to disable. (Default is 5). + apcupsd.general.Minutes @@ -71,7 +73,7 @@ text Apcupsd will shutdown the system during a power failure when the remaining runtime on batteries as - internally calculated by the UPS falls below the specified minutes. (Default is 3) + internally calculated by the UPS falls below the specified minutes. Set to -1 to disable. (Default is 3) diff --git a/sysutils/apcupsd/src/opnsense/mvc/app/models/OPNsense/Apcupsd/Apcupsd.xml b/sysutils/apcupsd/src/opnsense/mvc/app/models/OPNsense/Apcupsd/Apcupsd.xml index cf344164f..4d1ad8f54 100644 --- a/sysutils/apcupsd/src/opnsense/mvc/app/models/OPNsense/Apcupsd/Apcupsd.xml +++ b/sysutils/apcupsd/src/opnsense/mvc/app/models/OPNsense/Apcupsd/Apcupsd.xml @@ -87,23 +87,23 @@ 5 Y - 1 + -1 99 - Battery level must be between 1 and 99 percent. + Battery level must be between -1 and 99 percent. 3 Y - 1 + -1 60 - Remaining battery minutes must be between 1 and 60 minutes. + Remaining battery minutes must be between -1 and 60 minutes. 0 Y 0 360 - Timeout must be between 1 and 360 seconds. + Timeout must be between 0 and 360 seconds. 300