Hi CoinTos,
I have this and it works great, but I want the ability to switch power plans on launch of big box. While I'm watching movies and browsing around Kodi, I prefer my cpu to clock down and not put out so much heat and use less power. Unfortunately when I'm playing emulators, especially retroarch, the constant clocking up and down causes a lot of stuttering. How would I go about creating a script that switches to max performance plan and then back to the balanced plan on exiting? Thanks!
Edit: Nevermind, I figured it out. I created a simple batch file with the following command to run at pre and post. Change the GUID for each plan accordingly. The one below is for balanced and should be the same on every machine, but you can check from the command prompt with powercfg /l. I'm using ultimate for when I'm in launchbox.
CMD.EXE /c "C:\Windows\System32\powercfg.exe -setactive 381b4222-f694-41f0-9685-ff5bb260df2e"