mirror of
https://github.com/actuallymentor/battery.git
synced 2026-03-07 02:32:03 +00:00
Fix never-ending 'battery charge' action (#439)
This commit is contained in:
@@ -761,6 +761,8 @@ if [[ "$action" == "charge" ]]; then
|
||||
caffeinate -is sleep 60
|
||||
fi
|
||||
|
||||
battery_percentage=$(get_battery_percentage)
|
||||
|
||||
done
|
||||
|
||||
disable_charging
|
||||
|
||||
Reference in New Issue
Block a user