From 0601d6119e21a6813502beaf3b4a1cf888bb27aa Mon Sep 17 00:00:00 2001 From: fewtarius Date: Sat, 21 Sep 2024 13:17:54 +0000 Subject: [PATCH] steamfork-battery-watchdog: Deprecate setting RGB when charged, as it's redundant. --- PKGBUILD/steamfork-device-support/PKGBUILD | 2 +- .../src/usr/bin/steamfork-battery-watchdog | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/PKGBUILD/steamfork-device-support/PKGBUILD b/PKGBUILD/steamfork-device-support/PKGBUILD index 49b35989..134e8b24 100644 --- a/PKGBUILD/steamfork-device-support/PKGBUILD +++ b/PKGBUILD/steamfork-device-support/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Fewtarius pkgname=steamfork-device-support -pkgver=2024.09.20 +pkgver=2024.09.21 pkgrel=1 pkgdesc='Hardware support provider for PC handhelds.' arch=('any') diff --git a/PKGBUILD/steamfork-device-support/src/usr/bin/steamfork-battery-watchdog b/PKGBUILD/steamfork-device-support/src/usr/bin/steamfork-battery-watchdog index e238b342..7f5c43e4 100755 --- a/PKGBUILD/steamfork-device-support/src/usr/bin/steamfork-battery-watchdog +++ b/PKGBUILD/steamfork-device-support/src/usr/bin/steamfork-battery-watchdog @@ -78,13 +78,6 @@ do FLASHDELAY=${BATLEFT} BATCNT=0 fi - elif (( "${BATLEFT}" > "97" )) - then - if [[ "${AC_STATUS}" =~ ^Charg ]] - then - # Reset the LED as if the battery was full. - set_rgb "${LED_INTENSITY}" "${LED_BRIGHTNESS}" - fi fi BATCNT=$(( ${BATCNT} + 1 )) sleep 2