Add support for automatic bq27x00_battery module loading
[qcpufreq] / src / data / scripts / QCPUFreq.helper
index 7153fd5..a867e8a 100755 (executable)
@@ -9,6 +9,10 @@ if [[ -z $1 || -z $2 ]]; then
 fi
 
 case "$1" in
+    "load_bq27")
+        /sbin/modprobe bq27x00_battery
+        exit 0
+        ;;
        "set_maxfreq")
                #set scaling_max_freq
                echo $2 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq