From d57f80b6833e0d6d2a3e04cc46d8070bdca1e71a Mon Sep 17 00:00:00 2001 From: fewtarius Date: Sat, 21 Jan 2023 06:34:48 -0500 Subject: [PATCH] be a bit less spammy. --- packages/sysutils/powerstate/sources/powerstate.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/sysutils/powerstate/sources/powerstate.sh b/packages/sysutils/powerstate/sources/powerstate.sh index 3b802779b..dbe1cac54 100755 --- a/packages/sysutils/powerstate/sources/powerstate.sh +++ b/packages/sysutils/powerstate/sources/powerstate.sh @@ -13,10 +13,8 @@ while true do STATUS="$(cat /sys/class/power_supply/{BAT*,bat*}/status 2>/dev/null)" - ${DEBUG} && echo "Status: ${STATUS}" if [ ! "${STATUS}" = "${CURRENT_MODE}" ] then - ${DEBUG} && echo "Status changed." case ${STATUS} in Disch*) log $0 "Switching to battery mode." @@ -45,6 +43,5 @@ do esac fi CURRENT_MODE="${STATUS}" - ${DEBUG} && echo "Current Mode: ${CURRENT_MODE}" sleep 2 done