From f1201cdaeb73d580ad4130f91c9b50ad59b72895 Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Mon, 5 Aug 2019 23:35:03 +0200 Subject: [PATCH] #707 remove % from value --- home.admin/config.scripts/blitz.ups.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.admin/config.scripts/blitz.ups.sh b/home.admin/config.scripts/blitz.ups.sh index 597b695e3..8e0c7cdcb 100644 --- a/home.admin/config.scripts/blitz.ups.sh +++ b/home.admin/config.scripts/blitz.ups.sh @@ -83,7 +83,7 @@ if [ "$1" = "status" ]; then # get battery level if possible if [ "${status}" = "ONLINE" ] || [ "${status}" = "ONBATT" ]; then battery=$(apcaccess -p BCHARGE | xargs | cut -d "." -f1) - echo "upsBattery='${battery}%'" + echo "upsBattery=${battery}" fi fi exit 0