diff --git a/pfsenseDellBatteryNUT.sh b/pfsenseDellBatteryNUT.sh index 0b9144e..2a39475 100644 --- a/pfsenseDellBatteryNUT.sh +++ b/pfsenseDellBatteryNUT.sh @@ -21,7 +21,7 @@ if [ ${BATTERY_STATE} = 'discharging' ]; then else BATTERY_STATE='LB' fi -elif [ ${BATTERY_STATE} = 'charging' ]; then +elif [ ${BATTERY_STATE} = 'charging' ] || [ ${BATTERY_STATE} = 'high' ]; then BATTERY_STATE='OL' fi