Currently the speedfreq init script checks the status of BAT1, but many computers use BAT0. This simple patch makes it work with both regardless of if the first battery is 0 or 1. > if [ -e /proc/acpi/battery/BAT0/state ] ; then > status="$(awk '/^charging/ {print $NF}' /proc/acpi/battery/BAT0/state)" > elif [ -e /proc/acpi/battery/BAT1/state ] ; then --- < if [ -e /proc/acpi/battery/BAT1/state ] ; then
I checked in your fix. Thanks for your help.