Update battery.sh

This commit is contained in:
Santiago Lo Coco 2022-02-09 01:02:46 -03:00
parent 016d3bed91
commit 1e97103166
1 changed files with 1 additions and 1 deletions

View File

@ -12,6 +12,6 @@ case "$(cat "$battery/status" 2>&1)" in
esac
capacity="$(cat "$battery/capacity" 2>&1)"
capacity=$(echo "$capacity/88*100" | bc -l)
capacity=$(echo "$capacity/83*100" | bc -l)
printf "%s %.0f%%" "$status" "$capacity"