From f5808c5c16869716843f3689763e03bfb9df2e09 Mon Sep 17 00:00:00 2001 From: jgaunt Date: Fri, 20 Nov 2020 13:44:48 -0500 Subject: [PATCH] added fully charged high as OL --- pfsenseDellBatteryNUT.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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