Fix never-ending 'battery charge' action (#439)

This commit is contained in:
base47
2026-02-12 02:03:26 +01:00
parent 502d957949
commit aef458db8f

View File

@@ -761,6 +761,8 @@ if [[ "$action" == "charge" ]]; then
caffeinate -is sleep 60
fi
battery_percentage=$(get_battery_percentage)
done
disable_charging