High performance while you play, balanced the rest of the time. No elevation
and no scheduled task: powercfg.exe runs as you.
powercfg /listWindows accepts these aliases instead of the GUIDs:
| Alias | Plan |
|---|---|
SCHEME_MAX |
Power saver |
SCHEME_BALANCED |
Balanced |
SCHEME_MIN |
High performance |
A plan without an alias, such as Ultimate Performance or a manufacturer's, goes by its GUID from the list.
Copy config.toml over your own. Its two actions:
[[on_game_start.actions]]
name = "power plan - high performance"
program = "powercfg.exe"
args = ["/setactive", "SCHEME_MIN"]
wait = true
timeout = "10s"
[[on_game_stop.actions]]
name = "power plan - balanced"
program = "powercfg.exe"
args = ["/setactive", "SCHEME_BALANCED"]
wait = true
timeout = "10s"gamemode-executor trigger startpowercfg /getactivescheme should show High performance; trigger stop brings
Balanced back. Saved, the watcher applies the file at once.
- A laptop may switch plans by itself on a change of power source, or a manufacturer's utility may. That is outside this program.
- Recipes combine: add the FanControl actions to the same events and they run in order.