← All posts 中文版 →

Windows Power Plan Keeps Changing by Itself? How to Find What's Switching It

When your power plan changes on its own, it's usually not because Windows is broken. Some other software or setting switched it. There are four common causes: your laptop maker's software, a company or school management setting, Windows' Power mode, and other programs that can switch power plans.

You can find out which one it is without installing anything. Follow three steps: check which power plan you're using right now, write down the time it changes, then turn off one possible cause at a time and see whether it still changes.

Step one: check which power plan you're using right now

Don't go by feel. Type cmd into the search box on the taskbar, open Command Prompt, and type:

powercfg /getactivescheme

It shows the name of the power plan you're using and a long string of letters and numbers, which is the plan's ID (its GUID). To see every power plan on the PC, type powercfg /list. The one you're using is marked with *.

If the list has a plan you never created and that isn't one of Windows' own, write the name down. It may have something to do with the problem, but you can't be sure yet.

Who can switch your power plan? Four common causes

  • Laptop maker software. Each brand does it differently:
    • ASUS: its Armoury Crate guide says plainly that its operating modes also adjust Windows' built-in power plan. MyASUS's fan settings page mentions a switch for syncing the fan mode with Windows' Power mode, and how they match up depends on the model.
    • Lenovo: the ThinkPad E14/E15 Gen 4 user guide, for example, says that on Windows 11, Lenovo's cooling feature, Intelligent Cooling, is adjusted through Windows' Power mode.
    So whether your PC's power plan gets switched depends on the brand, the model and the software version.
  • A company or school management setting. If your PC came from your work or school, an administrator can use Group Policy (a tool for managing the settings of many PCs at once) to choose which power plan it uses. Once an administrator turns that on, you can't choose for yourself. Microsoft lists the Pro, Enterprise and Education editions, so a personal PC running Home can skip this one.
  • Windows' Power mode. Strictly speaking, it doesn't switch the power plan, but it's the cause most often mistaken for a plan switch. On Windows 11, Settings > System > Power & battery (just Power on a desktop without a battery) has a Power mode setting. It's a different setting from the power plans in Control Panel > Power Options. Microsoft describes Power mode as a layer on top of the power plan. So when Power mode changes, your PC's speed changes but the plan's name doesn't, which makes it easy to think the plan was switched. For how the two differ, see Windows 11 Power Mode vs Power Plan: Are They the Same Setting?
  • Other programs. It isn't only laptop makers' software that can switch power plans. Windows lets ordinary programs do it (and so can the powercfg /setactive command). A task you set up in Task Scheduler long ago, a script someone gave you (a list of commands that runs on its own), another power tool: any of them could do it.
It's like the lobby lights in your building that keep getting turned down. You don't get angry at the lights. First you ask who has a key to that switch: the front desk, the cleaning company, or one of the neighbors? Then you write down what time the lights dimmed and check who was there. Power plans work the same way: list who can switch it, then write down the time it changes.

It changes the moment I unplug. Is someone else really switching it?

Not always. These three things look like the power plan being switched, but they're just how things are designed:

  • On Windows 11, you can choose one Power mode for plugged in and another for battery. When you unplug, Power mode moves to the battery choice, which looks like the plan changed.
  • Inside one power plan, there's already one set of values for plugged in and one for battery (powercfg's setting commands come in AC and DC versions too: AC is plugged in, DC is battery). So the plan's name stays the same, but after you unplug, the sleep time or processor limit can be different.
  • Laptop makers' software can also change settings depending on whether the PC is plugged in. ASUS says Silent mode uses different values on battery than plugged in, and that Windows mode goes back to Windows' original power plan on battery.

How to tell: type powercfg /getactivescheme once when the PC is unplugged and once when it's plugged in. If the name and ID are the same both times, the power plan wasn't switched. If the name changed, the plan really was switched, so keep going.

Even if the name stays the same, the values inside the plan may have been changed (this could be what ASUS means when it says its operating modes "adjust" the plan). To check, save a copy of the settings before and after, then compare them: type powercfg /query > a.txt, later type powercfg /query > b.txt, then type fc a.txt b.txt to list the differences. Do this in Command Prompt; in PowerShell, fc means a different command and you'll get a different result.

For which power plan to use when plugged in and on battery, see High Performance mode draining your battery.

How do I write down the time the power plan changes?

You don't need to watch the screen. Type powershell into the search box on the taskbar, open Windows PowerShell, paste this line, press Enter, and leave the window open:

$l='';while($true){$n=powercfg /getactivescheme;if($n -ne $l){"$(Get-Date -Format HH:mm:ss) $n";$l=$n};Start-Sleep 5}

It checks every 5 seconds and prints a line with the time whenever the power plan changes. Press Ctrl+C to stop it. The first line is just the state when you pasted it, not a change. When a new line appears, think right away: what did I just do? Unplug the PC? Wake it from sleep? Open a program? Once you know the time, you can rule out most of the possible causes.

Note: this line only notices when the whole power plan is switched. If the name never changes but the PC behaves differently, use the powercfg /query before-and-after comparison.

I know the time. How do I find which one it is?

  • Check Power mode first. Go to Settings > System > Power & battery and see which Power mode is chosen, for plugged in and for battery.
  • On a work or school PC, check Group Policy. Type gpresult /h report.html to create a report (/h means save it as a web page), then type start report.html to open it in your browser. Under Computer Configuration, find the System > Power Management section and see whether Select an active power plan or Specify a custom active power plan is listed. If the report has no Computer Configuration part, open PowerShell as an administrator and run it again.
  • Pause the laptop maker's software. Close it. If it starts automatically with Windows, turn that off too. Then see whether the PowerShell window prints another line. Don't uninstall it yet, because it may also control things like fan modes or shortcut keys (depending on the model).
  • Check Task Scheduler. Type “Task Scheduler” into the search box on the taskbar to open it, and see whether any task runs powercfg, especially one you set up yourself.

Change one thing at a time. If you turn off three things at once and the power plan stops changing, you still won't know which one caused it.

FAQ

Does a Windows update reset the power plan?

Microsoft's documentation doesn't say so, and we couldn't find official material that proves or rules it out. If you noticed the plan changed after an update, use the method in “How do I write down the time the power plan changes?” to note when it changes before you blame the update.

Can Event Viewer tell me who changed it?

Event Viewer is the Windows tool that records system events. We couldn't find a Microsoft document that says which event means the power plan was switched, so this post doesn't teach that method.

Can I lock the power plan so nothing can change it?

The only way Microsoft's documentation clearly describes is Group Policy, which is meant for administrators managing work or school PCs. On a personal PC, find out what is changing it first, then decide whether to turn that off, change its settings, or keep it.

If PowerDoze notices the plan was changed, does it switch it back?

No. It only updates the status card on the home screen to the power plan that's actually in use, and marks it as changed from outside.

What PowerDoze can and can't do here

PowerDoze switches power plans too (that's its job), so it has to tell “I switched this” from “someone else did.” When Windows reports that the power plan changed, PowerDoze checks whether it just applied that plan itself. If it didn't, the home screen's status card changes to the plan that's really in use, the source line reads “External (control panel)”, and “Last applied” shows how long ago it happened.

What it can't do:

  • It only knows “it wasn't me,” not who did it. The label says “control panel,” but changes made by laptop makers' software, Group Policy or other programs get the same label.
  • It doesn't switch the power plan back.
  • It only remembers the latest change. The next time PowerDoze applies something itself, that record is replaced.
  • If someone else switches the plan within 10 seconds after PowerDoze applied something, it isn't marked as external.

Remember that PowerDoze itself can be one of the causes: when one of your rules switches to a different power plan, the PowerShell window prints a line too, and the source line helps you tell them apart. If you only want to know who did it this once, the powercfg steps in this post are enough, and you don't need to install anything. For how PowerDoze's rules switch plans, see switching by time of day, switching by app and custom power modes.

If you'd like to see at a glance whether it was your own rule that switched the power plan, give PowerDoze a try.

Get PowerDoze from the Microsoft StoreGet PowerDoze from the Microsoft Store

Nisonxi

I'm Nisonxi, the developer behind PowerDoze. I built it because my own Windows desktop idled all day at near-full power and no existing tool could read the situation and switch on its own. This blog is my notebook from the journey.

About the author and PowerDoze →