Skip to content
プロジェクト

概要

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

仕事効率化・自動化

この数値の測り方

計測したスター増加

24時間
0
7日間
+3
15日間
+7
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

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.

Install

WinGet (SebastianBecker.PowerPlanSwitcher) and Scoop (extras/powerplanswitcher) packages are pending their first submissions to the public catalogs. Until those pull requests are merged, install the MSI from the GitHub releases.

The app needs the .NET 10 Desktop Runtime. Once published, winget install SebastianBecker.PowerPlanSwitcher also installs Microsoft.DotNet.DesktopRuntime.10. scoop install extras/powerplanswitcher does not install that runtime; install the .NET 10 Desktop Runtime before launching the app.

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:

関連プロジェクトを探す

読み込み中…