Everytime I plug-in or plug-out powersupply the CPU frequency is changed to 'powersave' which results in reduced efficiency. I need to be on 'performance' all the time. I've made a small java utility which I use to turn my CPUs on performance. But this is kind of a too-much-repetitive process as I've to run the Java utility every two hours, whenever I plug-in or plug-out powersupply. Any idea where I can place the commands like this:-
cpufreq-selector -c 0 -g performance
cpufreq-selector -c 1 -g performance
so that everytime I plug-in or plug-out powersupply then the CPUs are set to performance automatically.
I've Jupiter installed so I believe that might be the culprit. Uninstalling Jupiter is one thing that I haven't tried, however, I'm really interested in knowing what's the standard way of doing this.