My laptop CPUs are throttled down to .8GHz instead of 2.5GHz whenever I am connected to AC only and not the battery. I tried using cpufreq-set and it allows me to set the speed when the battery is connected but it stays at a maximum of .8GHz when the battery is disconnected. Is there a way to prevent this?
Update: I've also tried changing the governor, but it seems locked at .8GHz whenever it's on only AC power. Are there any overrides for this?
CPU scaling is controlled by your BIOS and not by the software running on the computer.
Reboot and go into the BIOS configuration.
Look for an item called "CPU scaling" and toggle it.
If it's not there, you can't prevent that from happening.
That is only the operating system (and drivers themsevelves) honor it. I've specificaly disabled "SpeedStep" in my bios and still have to tell the kernel post-boot in userland to not honor these controls. Hope it saves someone a day.