A number of CPU tuning apps let you set up profiles based on common conditions, to tweak your processor settings dependent on device status. Integrating with an application such as Tasker takes this to the next level, as it includes a huge number of custom triggers and is also very extensible with third-party plugins.
Aside from simple use cases, Tasker can be used to create much more complex scenarios than would be possible otherwise: for example, you could use Tasker to switch to a conservative governor when using a specific low-power app (such as Amazon Kindle or similar) or you could even monitor CPU states and switch governor or clock speed based on the utilisation of the processor. With Tasker, you are limited only by your imagination.
In Tasker the + button is used to create a new profile (the collective name for a trigger and action). The button displays a list of possible triggers, but the state group is most useful when setting up kernel options.
After choosing a trigger, a button appears prompting the user to create a new task. This is where the actions will live. CPU controls live in the System/CPU group and offer the ability to set the frequency range and CPU governor.
If you want to expand beyond the built-in features, a host of third-party plugins are available from the website or the Play store (plugins for the Locale app are compatible). Tasker was recently removed from the Play Store but is back now.