fix adapter action

This commit is contained in:
Maxim Tacu
2023-12-04 22:29:35 +00:00
parent 1494491c4d
commit ada960be56

View File

@@ -343,9 +343,9 @@ if [[ "$action" == "adapter" ]]; then
# Set charging to on and off
if [[ "$setting" == "on" ]]; then
enable_discharging
elif [[ "$setting" == "off" ]]; then
disable_discharging
elif [[ "$setting" == "off" ]]; then
enable_discharging
fi
exit 0