Skip to content

[TURBO] Auto power plan switching #24

@HuckleR2003

Description

@HuckleR2003

Milestone: v1.7.7
Goal: Automatically switch to "High Performance" power plan when gaming, revert when done.

Why this works:

  • Balanced plan: CPU throttles to save power
  • High Performance: CPU runs full speed always
  • Simple but effective (+10-20% performance)

Detection triggers:

  • Fullscreen game launched
  • TURBO mode manually enabled
  • Specific .exe running (user-defined list)

Power plans:

  • Balanced (GUID: 381b4222-f694-41f0-9685-ff5bb260df2e)
  • High Performance (GUID: 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c)
  • Power Saver (for laptop battery mode)

Implementation:

  • powercfg /list (enumerate available plans)
  • powercfg /getactivescheme (get current)
  • powercfg /setactive [GUID] (switch)

Logic:

  1. Detect game launch → switch to High Performance
  2. Game exits → switch back to Balanced
  3. Laptop on battery → override to Power Saver (optional)

UI:

  • Current power plan indicator
  • Auto-switch toggle (ON/OFF)
  • Manual plan selector (for testing)

Safety:

  • Always restore original plan on PC_Workman exit
  • Battery mode override (don't use High Performance on battery)
  • User can disable auto-switch

Success:

  • Performance gains in CPU-bound games
  • Zero manual intervention needed
  • Battery life preserved when unplugged
  • Works seamlessly

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    In review

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions