mirror of
https://github.com/actuallymentor/battery.git
synced 2026-09-17 08:51:40 +01:00
✨ forgot the recalculation
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user