All mainstream CPUs and operating systems are dynamically adjusting frequency and other internal behavior to optimize power versus other factors. Some of these adjustment are done in hardware (i.e., intel_pstate aka "speed shift" aka HWP) which is both faster than software and can use internal metrics not available to software.
So you can't just say you're adjusting frequency dynamically to be optimal: something like that (or an attempt, at least) already happens. So what does this tool really do?
Please take a look at the auto-cpufreq demo video I made which should clear some things out: https://www.youtube.com/watch?v=QkYRpVEEIlg
It's old and many things have been improved and added since then, but it describes the essence.
You can also refer to blog post on what prompted me to make one such tool: https://foolcontrol.org/?p=3124
I am talking about hardware power control in general. I wouldn't expect hardware power control itself to make different decisions based on plugged-in or not: that's a decision delegated to the user via the OS. HWP only implements low-level control based on the parameters set by something higher up.
I don't know if I'll watch the video, but you should make clear in your README what this tool actually does. Saying that it adjusts frequency dynamically isn't very useful. Telling people to disable `intel_pstate` without further comment is extremely suspect since then you're giving up HWP at an unknown cost.
If this simply adjusts the power governor when the laptop is plugged/unplugged, just say that!
If you like what it suggest you can run it in "live" mode, which will make the suggested changes. But after you stop "live" mode after reboot all settings will go back to defaults.
If you're happy with results then and want to run it in background all the time proceed with "install".
Reference: https://github.com/AdnanHodzic/auto-cpufreq/#how-to-run-auto...
Also I suggest you watch auto-cpufreq demo Youtube video which explains it all: https://www.youtube.com/watch?v=QkYRpVEEIlg