The ultimate FOSS Windows power plan automation engine · Engine Version dev
A lightweight, versatile FOSS (Free and Open Source Software) Windows power plan switcher — and the only one that actually takes care of your eyes by preserving your exact screen brightness across power plan transitions. It switches plans automatically based on running applications, Windows Performance Counters, and AC/Battery state, while letting you design custom user tray icons for every rule.
TIPCAT is a Free and Open Source (FOSS) utility available as a standalone executable (.exe) and as open PowerShell source (.ps1). It evaluates a list of user-defined rules every few seconds (default: 5 seconds) and switches the system power plan (Power saver, Balanced, High Performance, Ultimate Performance, or any custom plan) to the one assigned to the first matching rule.
firefox.exe) or an entire directory (C:\Games\) is running.AND, OR, and parentheses.PS, B, UP), or custom user icon files.Because evaluation stops at the first match, rule order matters:
Rules live in the configuration file (TIPCAT_*.cfg) as 6-column CSV lines:
MODE, CONDITION, POWER_PLAN, FG_COLOR, BG_COLOR, LETTER
| Column | Description |
|---|---|
MODE | AC (plugged in) or BAT (on battery). |
CONDITION | Path/process check, performance counter comparison, or a combination of both (see below). |
POWER_PLAN | Alias of the target power plan, as defined in the PowerPlan= entries. |
FG_COLOR | Optional. Tray icon foreground (text) color. |
BG_COLOR | Optional. Tray icon background color. |
LETTER | Optional. Letter(s) or custom icon identifier displayed on the tray icon. Leave the three optional fields blank if you do not want a custom badge for a rule. |
True when the given executable name or folder path is currently running/active. A folder path also matches every executable in its subfolders.
AC,C:\Games\XCOM,Test lower clocks
AC,C:\Games\,High Performance
BAT,notepad.exe,Power saver
True when a Windows Performance Counter compared against a numeric threshold holds. Any valid Windows Performance Counter available on the system can be used.
AC,\Processor(_Total)\% Processor Time > 32,Ultimate Performance
| Element | Meaning |
|---|---|
< > = | Comparison operators (internally translated to -lt, -gt, -eq). |
AND OR | Logical operators (translated to -and, -or). Mix any number of paths and counters in one rule. |
( ) | Parentheses for grouping complex boolean expressions. |
To make sure Windows always returns to a predictable baseline when none of your specific triggers are active, place fallback rules at the bottom of the configuration file:
BAT,C:\,Power saver,Red,LightSkyBlue,PS
AC,C:\,Power saver,DarkBlue,LightSkyBlue,PS
C:\ drive, so a rule matching C:\ is always true when evaluation reaches it. You can also use Balanced as the AC fallback, e.g., AC,C:\,Balanced,White,SkyBlue,B.
C:\ with your active system drive, such as D:\.
Switches to High Performance whenever any executable inside C:\Games\ (including subfolders) runs on AC power. Shows a Firebrick G on a Gold tray icon.
AC,C:\Games\,High Performance,Firebrick,Gold,G
Placed above the general C:\Games\ rule, this overrides the plan for XCOM only, with a DarkBlue XC badge on Yellow.
AC,C:\Games\XCOM,Test lower clocks,DarkBlue,Yellow,XC
Switches to Ultimate Performance when total CPU usage exceeds 32% on AC power, showing a LightGreen UP on OrangeRed.
AC,\Processor(_Total)\% Processor Time > 32,Ultimate Performance,LightGreen,OrangeRed,UP
On battery, switches to Power saver if either notepad.exe or SumatraPDF.exe is running.
BAT,notepad.exe OR SumatraPDF.exe,Power saver,Red,LightSkyBlue,PS
Ultimate Performance only when Firefox is running and CPU usage exceeds 50%, which avoids high power draw while merely reading static pages. The rule right below keeps Firefox on Balanced during normal browsing.
AC,C:\Program Files\Mozilla Firefox\ AND (\Processor(_Total)\% Processor Time > 50),Ultimate Performance,LightGreen,OrangeRed,UP
AC,C:\Program Files\Mozilla Firefox\,Balanced,RoyalBlue,SpringGreen,B
Ultimate Performance on AC when OpenShot is running or the system is under heavy combined load (CPU > 25% AND Disk Time > 50%), while more than 2048 MB of RAM is still free.
AC,(C:\Program Files\OpenShot OR (\Processor(_Total)\% Processor Time > 25 AND \PhysicalDisk(_Total)\% Disk Time > 50)) AND \Memory\Available MBytes > 2048,Ultimate Performance,Gold,OrangeRed,O
The configuration file controls general engine behavior, power plan definitions, and automation rules.
# TIPCAT CONFIGURATION vdev
ProcessCheckInterval=7
KeyCheckInterval=100
PoolKeyboard=0
LogLevel=0
AutoInheritBrightness=1
DisplaySubGroup=7516b95f-f776-4464-8c53-06167f40cc99
# Power Plans: Alias=GUID, Color, Letter
PowerPlan=High Performance,ff8df10d-5c3f-4e46-9c79-1d457b194356,White,H
PowerPlan=Test lower clocks,63a04321-21f8-445c-9deb-b62efb0e19d7,White,T
PowerPlan=Power saver,501b7e45-8bd6-4c7c-89e0-e203023bed61,White,P
PowerPlan=Balanced,381b4222-f694-41f0-9685-ff5bb260df2e,White,B
PowerPlan=Ultimate Performance,38b3f036-5bcc-48e2-be08-2f219c8d7ec5,White,U
# Rules: MODE, CONDITION, PLAN, FG_COLOR, BG_COLOR, LETTER
AC,C:\Games\XCOM,Test lower clocks,DarkBlue,Yellow,XC
AC,C:\Games\,High Performance,Firebrick,Gold,G
...
| Section | Purpose |
|---|---|
| Global settings | ProcessCheckInterval (polling frequency in seconds), KeyCheckInterval (keyboard monitoring frequency), LogLevel, AutoInheritBrightness, and GUID mappings such as DisplaySubGroup. |
| Power plans | Maps friendly aliases (e.g., High Performance) to Windows Power Plan GUIDs, plus a default accent color and letter badge. |
| Rules | The execution matrix: power source (AC / BAT), condition, target plan, and optional tray icon styling. Evaluated top to bottom (see the Golden Rule). |
Specific app overrides at the top, stepped CPU scaling in the middle, fallback rules at the bottom:
# 1. Specific application & folder rules (highest priority)
AC,C:\Games\XCOM,Test lower clocks,DarkBlue,Yellow,XC
AC,C:\Games\,High Performance,Firebrick,Gold,G
AC,C:\Program Files\OpenShot,Ultimate Performance,Gold,OrangeRed,O
AC,C:\Program Files\Mozilla Firefox\ AND (\Processor(_Total)\% Processor Time > 50),Ultimate Performance
AC,C:\Program Files\Mozilla Firefox\,Balanced,RoyalBlue,SpringGreen,B
# 2. Stepped CPU load scaling (AC)
AC,\Processor(_Total)\% Processor Time > 32,Ultimate Performance,LightGreen,OrangeRed,UP
AC,\Processor(_Total)\% Processor Time > 20,High Performance,Firebrick,DarkOrange,Hi
AC,\Processor(_Total)\% Processor Time > 16,High Performance,Firebrick,Gold,Hi
AC,\Processor(_Total)\% Processor Time > 8,Balanced,White,SkyBlue,B
# 3. Stepped CPU load scaling (Battery)
BAT,\Processor(_Total)\% Processor Time > 24,High Performance,DarkRed,HotPink,H
BAT,\Processor(_Total)\% Processor Time > 12,Balanced,Crimson,DarkSalmon,B
# 4. Default / Fallback rules (always keep at the bottom)
BAT,C:\,Power saver,Red,LightSkyBlue,PS
AC,C:\,Power saver,DarkBlue,LightSkyBlue,PS
TIPCAT_*.exe) from the Releases section, or TIPCAT_*.ps1 and TIPCAT_*.cfg to run directly in PowerShell.TIPCAT_*.cfg to match your Windows power plan names, application paths, and thresholds..exe, or run the .ps1 in PowerShell (your execution policy must allow local scripts, e.g., Set-ExecutionPolicy -Scope CurrentUser RemoteSigned).Developed by AMXSoft.