33

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

  • Apparently, I don't have enough reputation to post pics. – DarknessBeginsHere Aug 15 '15 at 4:01
  • 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. – user524948 Nov 22 '15 at 10:59
  • 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 Mar 22 '16 at 6:24
  • 3
    I 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 Apr 2 '16 at 5:29

12 Answers 12

47

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.

  • 1
    given 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 Aug 15 '15 at 6:40
  • This also works if running on a desktop, +1 – Leo Aug 5 '17 at 7:56
  • 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 Aug 5 '17 at 16:43
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
  • 10
    Building 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 Nov 6 '16 at 11:17
  • And then pin it to start by right-click on the app that comes up when searching. – Lawrence Dol Dec 15 '16 at 5:16
  • It only tells me the current plan. But I cannot select another. Windows 10 – robert Jul 7 '17 at 11:44
  • 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 Jul 10 '17 at 5:23
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 :-)

8

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?

6

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

5

Open Run & enter control powercfg.cpl

You can also create a shortcut of it

enter image description here

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

  • 3
    Note 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 Feb 7 '18 at 14:55
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.

  • worked with me initially but after second boot only worked sometimes – Leo Aug 5 '17 at 7:56
2

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

  • 1
    this installed malware on my pc – Leo Aug 5 '17 at 7:55
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.

  • 1
    OP is asking about the power manager, not the mobility center. Also, mobility center isn't a default option of the system context menu. – music2myear Jun 12 '17 at 23:02
  • 1
    In 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 Jun 12 '17 at 23:21
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.
  • How is this different/better than this answer from two years prior? – Walf Aug 8 '18 at 2:34
0

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..

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.