Limit the maximum charging percentage of your battery.
Increase the CPU being allocated to your foreground tools.
The scaling calculator, besides performing the scaling calculations you need.