Skip to content

Commit

Permalink
steamfork-battery-watchdog: Deprecate setting RGB when charged, as it…
Browse files Browse the repository at this point in the history
…'s redundant.
  • Loading branch information
fewtarius committed Sep 21, 2024
1 parent 7a7e31e commit 0601d61
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion PKGBUILD/steamfork-device-support/PKGBUILD
Original file line number Diff line number Diff line change
@@ -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')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0601d61

Please sign in to comment.