Bitsum Community Forum

General Category => Process Lasso => Topic started by: richardm on April 08, 2025, 10:50:02 AM

Title: Switch power plan based on foreground app?
Post by: richardm on April 08, 2025, 10:50:02 AM
I see a power plan can be auto-selected based on specified processes running (or not).

I see the foreground boost function that adds priority to specified processes running in the foreground.

Is there a feature to switch power plans depending on which application has focus at any given moment?  I use a javascript-intensive website that pretty much demands a max performance power plan when interacting with the site.  A balanced plan is fine when not interacting with the site.  Thanks!
Title: Re: Switch power plan based on foreground app?
Post by: rustlemalin on April 10, 2025, 02:37:27 AM
You're on the right track! While there's no built-in Windows feature to switch power plans based specifically on focused applications, you can achieve this behavior with third-party tools or a custom script.
For example, using PowerPlanSwitcher or a PowerShell script combined with Task Scheduler, you can monitor the foreground window and change the power plan accordingly. A script can check the active window title or process name at intervals and apply your desired power plan using the powercfg command.
Title: Re: Switch power plan based on foreground app?
Post by: primate51 on June 19, 2025, 04:23:42 AM
This is super helpful—thanks for the PowerPlanSwitcher and PowerShell suggestions! I had no idea you could monitor the active window title like that and tie it to power plans. Going to give this a try with Task Scheduler and see if I can optimize for my workflow. Appreciate the tip!