From 1e97103166e7285b7e02961e4b71c828ff278ca5 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Wed, 9 Feb 2022 01:02:46 -0300 Subject: [PATCH] Update battery.sh --- blocks.def/battery.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocks.def/battery.sh b/blocks.def/battery.sh index 2701b56..f26420c 100755 --- a/blocks.def/battery.sh +++ b/blocks.def/battery.sh @@ -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"