How to keep 2017 Macbook Pro / Mojave from slowing down when not on A/C power?

It looks like the specific issue that I was having in iTerm is solved by an option in the iTerm preferences to not use the GPU renderer when on battery. It can be manually turned off.