Merge pull request #207 from maxtacu/main

fix adapter action
This commit is contained in:
Mentor Palokaj
2024-01-17 11:37:34 +01:00
committed by GitHub

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