I recently bought a new laptop that tends to get quite hot. Today I used it for the first time on battery power, without plugging in the power supply, and I noticed that it didn't get nearly as hot.
My question is, thus, if there is any way to force Ubuntu to use the settings it uses when on battery power, even if the power supply is plugged in.
I know the question is not very specific, and that the answer might depend too much on what part of the computer is getting hot, so for the time being it would suffice to know how to find out exactly what changes in terms of performance and power management whenever I unplug the power supply, so that I can tweak the appropriate settings afterwards.
I'm using Ubuntu 12.04 and the laptop is an HP Pavilion 15-E043SS.