Easy way to switch power plan in Windows 10

37

15

I've a 27" external monitor connected to my laptop and I use my laptop's screen as secondary. I've both screens turned on while I'm working. When I'm watching movies, I just keep my external monitor on and turn off the lid of the laptop.

I've created a power plan in Power Options called Laptop Screen off which basically does nothing when the lid is off, then I use my external monitor as my only screen.

When I'm working, I activate another power plan which supports high performance for programming and running virtual machines. This power plan puts the laptop to sleep when the lid is closed.

Anyways, I keep switching between these plans depending on what I'm doing. This was all easy in Windows 7/8.1 as I just clicked the battery icon and switched it.

I upgraded to Windows 10 last week and now I've to dig deeper to get there. There should be an easier way? Is there a small tool I can use to do what I'm doing in less no. of steps?

  1. Click battery icon in task-bar --> power and sleep settings

    enter image description here

  2. Then additional power settings

    enter image description here

  3. Switch power plan

DarknessBeginsHere

Posted 2015-08-15T04:01:21.657

Reputation: 473

Apparently, I don't have enough reputation to post pics. – DarknessBeginsHere – 2015-08-15T04:01:49.913

- – DarknessBeginsHere – 2015-08-15T04:01:52.937

Avoid Power Plan Switcher unless you want to have to reinstall it (losing all settings) every few days (or every reboot). On reboot, it'll stop working by just not loading (even though it's in my startup). And after a few days the same happens, it simply stops loading. There are other, better alternatives like "Power Switch" out there which actually work properly. – None – 2015-11-22T10:59:55.603

I have to say I'm noticing less of a need to do so under Win 10. On Windows 8.1 and before I always needed to run under High performance otherwise EVERYTHING was just noticeably sluggish. I'm pretty sure balanced works more reliably in Win 10 from what I've seen. This is based just on anecdotal evidence. Any reason it should be improved? – Simon – 2016-03-22T06:24:36.163

3I just press Win+X O and then select the power scheme that I want. When coding I usually use Balance power scheme and when I am taking a break I choose Power Saver and let the control panel stays open so than when I come back to work I simply select Balanced again. – Rosdi – 2016-04-02T05:29:41.377

See also Power plans disappeared after Windows 10 Fall update (1709)

– Vadzim – 2017-12-13T21:40:07.613

@user524948 I don't have any problems using PowerPlanSwitcher (mentioned in aalaap's answer), it's working great for me!

– doncherry – 2019-12-02T10:10:38.023

Answers

49

Open a command prompt and type in the following command:

powercfg /l

This'll show you your powerschemes with their GUID (example:)

Existing Power Schemes (* Active)
-----------------------------------
Power Scheme GUID: 381b4222-f694-41f0-9685-ff5bb260df2e  (Balanced)
Power Scheme GUID: 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c  (High performance) *
Power Scheme GUID: a1841308-3541-4fab-bc81-f71556f20b4a  (Power saver)

Make a selecton for the GUID you want to work with and right click to copy that text to the clipboard.

Now create a new textdocument and name it for example Scheme - Balanced.cmd (the .cmd is important, what comes before is up to you)

Right-click the file and choose edit.

In the file write:

powercfg /s xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

where the x's are replaced by the GUID you copied to your clipboard earlier.

So in my example that'd be:

powercfg /s 381b4222-f694-41f0-9685-ff5bb260df2e

Save the file. Now, each time you execute that file, your powerscheme will be set to that scheme.

LPChip

Posted 2015-08-15T04:01:21.657

Reputation: 42 190

1given the task of reaching A to B, you also thought of B to C. I would give this a great answer if i could. – pun – 2015-08-15T06:40:38.117

This also works if running on a desktop, +1 – Leo – 2017-08-05T07:56:35.630

This is nice, especially when automated using Task Scheduler to automatically go into a low-power mode at night and back to normal in the morning. – aalaap – 2017-08-05T16:43:03.917

12

I see that there is an accepted answer, but I'll post this also, for those who aren't too comfortable using command prompt or powershell.

You can open Windows Mobility Center and choose the power plan you wish to use under Battery Status. To put it in your task-bar, once you've opened the Windows Mobility Center, right-click on the Task-bar icon and pin to task-bar. Now, it can be accessed with one click.

How to Open "Windows Mobility Center":

  • Method 1: Win+s and search for mobility. Usually it is the first result, Open it, you will be able to select the power plan you want to use.
  • Method 2: Win+r and type mblctr.exe.
  • Method 3: Open Control Panel and go to "Hardware and Sound", under there you should see "Windows Mobility Center".(The methods mentioned previously are much faster though). MobilityCenter

Santa

Posted 2015-08-15T04:01:21.657

Reputation: 231

10Building on this, for weird people like me who prefer to memorize complicated key sequences, to change the power plan just press (in English systems): Win-X + b + alt-a + up/down arrows to select. – pgr – 2016-11-06T11:17:28.853

And then pin it to start by right-click on the app that comes up when searching. – Lawrence Dol – 2016-12-15T05:16:54.327

1It only tells me the current plan. But I cannot select another. Windows 10 – robert – 2017-07-07T11:44:15.517

That's weird, unless you have only one plan...which would be equally weird. I think there would be a default of 3, Power Saver, Balanced and High Performance. Even if you haven't created any manually, you should be able to toggle between these three using the mobility Center. It works for me on Win10 Home. Are you sure you don't see a drop down menu? [Edit: Added an image to the original answer for more clarity, not sure why I didn't do that when the answer was posted.] – Santa – 2017-07-10T05:23:48.130

9

Here's a script that switches between two power plans each time you execute it (in this case "Balanced" and "Power Saver", you can freely choose any 2 power plans to switch between). Remember to put it in a ".cmd" file.

After execution it prints the activated power plan and waits for you to press a key before the console disappears. Here's the code:

@Echo off
setlocal
SET balanced=Power Scheme GUID: 381b4222-f694-41f0-9685-ff5bb260df2e  (Balanced)
Powercfg -getactivescheme > tmp.txt
SET /p active= < tmp.txt
IF "%active%" == "%balanced%" (
Powercfg -s a1841308-3541-4fab-bc81-f71556f20b4a
) ELSE (
Powercfg -s 381b4222-f694-41f0-9685-ff5bb260df2e
)
DEL tmp.txt
endlocal
@Echo on
Powercfg -getactivescheme
PAUSE

Here's what you need to do (see image below to clarify):

  1. Open Command Prompt and run Powercfg /l to get the list of your power schemes.
  2. In the code above you replace the value of the balanced variable with the first of the 2 plans you want to switch between (you need the whole string)
  3. Also replace the GUIDs in the IF - ELSE. The GUID in the "IF" part must be the second power plan you want to switch between; and the GUID in the "ELSE" part must be the the one you also used in the balanced variable.

Hope you can use it! :-)

enter image description here

PS, in case you were wondering: I write the output of Powercfg -getactivescheme to a temp file, read the first line of the temp file into a variable and delete the temp file afterwards. It seemed the easiest way to store the currently active power plan into a variable as I couldn't find a "simple" way to do it directly :-)

Boregore

Posted 2015-08-15T04:01:21.657

Reputation: 223

9

The only one that I found working with the latest Windows 10 build was PowerPlanSwitcher, a free, modern-style tray app, which does exactly what you need.

enter image description here

aalaap

Posted 2015-08-15T04:01:21.657

Reputation: 592

9

I used Power Buddy in Windows 8 / 8.1 since the default Power Plan Switcher only showed the two most recently used plans. It also seems to work great on Windows 10.

It's a very lightweight tray application, and seems to be developed by a Super User community member: see this answer to How do I display all power plans in Windows 7 notification area?

Filip S.

Posted 2015-08-15T04:01:21.657

Reputation: 153

5

Open Run & enter control powercfg.cpl

You can also create a shortcut of it

enter image description here

pun

Posted 2015-08-15T04:01:21.657

Reputation: 5 311

4

Wow! with all respect to all the answers, this should be by far the easiest. Just right click on the Battery Icon in the Task Bar and choose Windows Mobility Center. Super Simple!

For those keyboard shortcut Gods, you can also do Win+X > B

Right-click to Mobility Center

Korayem

Posted 2015-08-15T04:01:21.657

Reputation: 226

3Note that this answer is only valid if the computer has a battery. Desktop PCs will only see this option if it is connected to a UPS. – Brown – 2018-02-07T14:55:03.520

2

Use BatteryCare http://batterycare.net/en/download.php. It allows you to switch or even automatically switch all your schemes.

jasir

Posted 2015-08-15T04:01:21.657

Reputation: 143

2this installed malware on my pc – Leo – 2017-08-05T07:55:23.623

2

You might look at the open-source Power Scheme Switcher (MIT License) and test whether it's Windows 10 compatible. Afraid I don't have a Windows 10 system to test on currently, but it's recently-enough developed (VS 2013) that I expect it supports Windows 8.1 so Windows 10 would likely not be a big stretch.

fencepost

Posted 2015-08-15T04:01:21.657

Reputation: 1 086

worked with me initially but after second boot only worked sometimes – Leo – 2017-08-05T07:56:13.977

1

Just press Win+X then B

Explanation: Win+X used to open Mobility Center up until Windows 8. Then they changed it to the Modern UI master system context menu. So now this menu shows up. One of the options is Mobility Center. Pressing B will select this option.

csaladenes

Posted 2015-08-15T04:01:21.657

Reputation: 121

1OP is asking about the power manager, not the mobility center. Also, mobility center isn't a default option of the system context menu. – music2myear – 2017-06-12T23:02:47.293

1In Windows 10 this doesn't work. However in Windows Mobility Center, indeed you can change power plan from there, if it is not managed by your manufacturer's application. – Vylix – 2017-06-12T23:21:16.557

1

There's also the "PowerBuddy" application: https://github.com/PerfectlyCromulentLtd/PowerBuddy

Seems like most of these third-party applications haven't been updated in a few years..

Jowdy

Posted 2015-08-15T04:01:21.657

Reputation: 11

Welcome to Super User! Please read how to recommend software in answers, particularly the bits in bold; then edit your answer to follow the guidelines there. Thanks!

– bertieb – 2018-09-27T06:55:17.863

0

  1. Create a text file.
  2. Open it.
  3. Put this inside the file:

    setlocal
    SET high_performance=Power Scheme GUID: 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c  (High performance)
    Powercfg -getactivescheme > tmp.txt
    SET /p active= < tmp.txt
    IF "%active%" == "%high_performance%" (
    Powercfg -s a1841308-3541-4fab-bc81-f71556f20b4a
    ) ELSE (
    Powercfg -s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
    )
    DEL tmp.txt
    endlocal
    
  4. Save the file and rename it "power.cmd"

  5. Open the file. Done!

    However, for some of you the file might still open as a simple text file which means that you have file extensions hidden. To solve this in Windows 10:

Go to any folder

  1. Press tab called "View"
  2. Check the box called "File name extensions"
  3. Go back to the file "power.cmd". Now it is renamed "power.cmd.txt". Rename it "power.cmd" again.
  4. Done! Open the file, your power plan should now switch.

gamingradeon

Posted 2015-08-15T04:01:21.657

Reputation: 1

1

How is this different/better than this answer from two years prior?

– Walf – 2018-08-08T02:34:52.923