Last active
May 28, 2019 13:16
-
-
Save lextra2/f4da0fd363c9f40a037ea0f9d030b02a to your computer and use it in GitHub Desktop.
Switches the power plan in the power options of windows to "High performance", Launches a steam game, and sets the power option to "Balanced" upon pressing any key inside the command line window (preferably after quitting the game). Read comment for additional info.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
powercfg /setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c | |
start steam://rungameid/638970 | |
pause | |
powercfg /setactive 381b4222-f694-41f0-9685-ff5bb260df2e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This "pause" workaround is for some reason needed with steam games. Otherwise the power plan is set back to "balanced" right after the game launches. Remove "pause" from the bat when used for any other .exe as every line is executed in sucession. So when the .exe is closed, the power plan is automatically switched again.