Hi
I managed to change the default configuration from "ondemand" to "conservative" at every boot. To do this, I had to install some packages and edit some system files. All the steps require superuser permissions to make the changes system-wide. Be careful when making the needed editions.
The packages I had to install to make this configuration were:
and
I did the following:
1) Editing the file /etc/init.d/cpufrequtils:
If using gedit, pluma, leafpad or another graphical program, remember to use gksu instead of sudo. Example:
Code:
gksu gedit /etc/init.d/cpufrequtils
I changed the line:
Code:
GOVERNOR="ondemand"
to
Code:
GOVERNOR="conservative"
Be careful when changing the governor, I had no courage to write something not valid and see what happens. That file has helpful comments too.
2) Using sysv-rc-conf:
(Possibly) there will be many options (apache, bluetooth, cron, ...). One of them is ondemand and it will be started in many boot stages. Deactivate ondemand in all of them, then the configuration set at /etc/init.d/cpufrequtils will be used. Be careful to not deactivate different things.
I have seen only twice the system overriding the configuration I've done after the boot, both before the changes. Likely the ondemand script was executed, what made the governor reconfigure to ondemand.
This steps worked using Lubuntu 16.04. I believe Ubuntu uses the same configurations.