So when I boot into my Windows 8 partition, Windows automatically downclocks my CPU and lowers it's V-core so that the idle temps of my i5-4570 CPU go down to 25 C.
Now on Ubuntu on the other hand, my CPU temp stays at 40 C when idle, and the only logical conclusion I have made is that it's because Ubuntu does not lower my CPU like Windows does.
I have tried doing
echo "ondemand" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
And also have tried to replace ondemand with powersaving, but that reduces the temps only to like 38 C which is still not enought.
So is there a way to configure Ubuntu to automatically do this when idle and then automatically put all my gears to full power when I start up CPU and GPU intensive applications?