added fully charged high as OL

This commit is contained in:
2020-11-20 13:44:48 -05:00
parent 2509b56db2
commit f5808c5c16

View File

@@ -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