forgot the recalculation

This commit is contained in:
Mentor
2022-01-27 18:01:18 +01:00
parent d4dbb41633
commit 98f45fde8f

View File

@@ -104,6 +104,7 @@ if [[ "$action" == "charge" ]]; then
echo "$(date +%T) - Battery at $BATT_PERCENT%"
sleep 60
BATT_PERCENT=`pmset -g batt | tail -n1 | awk '{print $3}' | sed s:\%\;::`
done