remove an unneccessary comment

Co-authored-by: nyx <nnyyxxxx@protonmail.com>
This commit is contained in:
Adam Perkowski 2024-10-27 01:24:07 +02:00 committed by GitHub
parent 406f2ad91a
commit 08737151af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,7 +45,7 @@ configureAutoCpufreq() {
if command_exists auto-cpufreq; then
# Check if the system has a battery to determine if it's a laptop
if ls /sys/class/power_supply/BAT* >/dev/null 2>&1; then # Check if the system has a battery (laptop) by looking for any battery directory
if ls /sys/class/power_supply/BAT* >/dev/null 2>&1; then
printf "%b\n" "${GREEN}System detected as laptop. Updating auto-cpufreq for laptop...${RC}"
"$ESCALATION_TOOL" auto-cpufreq --force powersave
else