From ef23bed60bfff5c819e146222acd3a22c98a9f1e Mon Sep 17 00:00:00 2001 From: fewtarius Date: Wed, 31 Jan 2024 12:24:53 +0000 Subject: [PATCH] Fix oops. --- packages/sysutils/powerstate/sources/powerstate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sysutils/powerstate/sources/powerstate.sh b/packages/sysutils/powerstate/sources/powerstate.sh index 9c57c0e7e..f6e422dee 100755 --- a/packages/sysutils/powerstate/sources/powerstate.sh +++ b/packages/sysutils/powerstate/sources/powerstate.sh @@ -79,7 +79,7 @@ do [[ "${STATUS}" =~ Disch ]] then AUDIBLEALERT=$(get_setting system.battery.warning) - if (( ${BATLEFT} > "26" )) + if (( ${BATLEFT} < "26" )) then if [ "${DEVICE_LED_CONTROL}" = "true" ] then