Skip to content

Repository files navigation

PowerPlanSwitcher

Build status

Configure visibility, icon and global hotkey for your Windows power plans in the settings dialog.

image

Switch your power plan easily and quickly by clicking the tray-icon.

image

Or let PowerPlanSwitcher automatically switch between power plans depending on what you do.

Using rules to automatically switch power plans

Create a list of rules that determine which power plan should be active. Rules will be triggered by various events but only the first rule in the list with a trigger of 1 or higher, determines the power plan. Click the info icons to get more information in the app.

image

Create rules that switch Windows power plans based on:

  • ProcessRule: Processes being created or terminated
image
  • PowerLineRule: Plugging or unplugging your laptop from power
image
  • IdleRule: No user input happening for a configurable amount of time
image
  • StartupRule: PowerPlanSwitcher being started. Optionally configure a delay before the rule triggers (so the power scheme is not applied until after that wait), and optionally a duration after which the scheme will be automatically deactivated once the rule has triggered. The duration countdown starts only when the rule actually triggers (after any delay). For example, you can wait two minutes after startup, then activate a performance plan for five minutes, then fall back to other rules. Note: This rule should probably be the last rule in the list!
image
  • ShutdownRule: Windows initiating a shutdown
image

Furher settings allow you to:

  • Configure a global hotkey to cycle through your power plans.
  • Set your prefered color theme.
  • Specify the display of notifications when a power plan is switched by a rule or a hotkey press.
  • Activate extended logging.
image

Command-line interface (pps)

After install, pps.exe sits next to the tray app and can list/activate/cycle power plans without talking to the running tray process. It uses Windows power APIs and reads Visible / cycle preferences from the same user settings file.

pps list [--visible] [--json]
pps activate <guid-or-name>
pps cycle [--all | --visible]
pps get-active [--json]

PowerPlanSwitcher is using the following tools, resources and libraries:

About

Tray-Icon tool to show the currently selected windows power plan, switch it manually and automatically.

Topics

Resources

Stars

112 stars

Watchers

3 watching

Forks

Releases

Used by

Contributors

Languages