Share via

How to automatically change power modes when plugged in and on battery? 2024

Anonymous
2024-11-21T00:45:52+00:00

I'm looking for something which is pretty simple, yet I've spent the last couple of days searching forums and settings with no success.

Here is what I want: When my laptop is plugged in, I want Windows to recognize that it is plugged in and automatically activate the Best Performance power mode. When I unplug my laptop, I want Windows to recognize that it is on battery power and automatically activate the Balanced power mode.

Please tell me that there is a way to do this.

So far, the best workaround I have found is to go into the advanced settings for a certain power mode where I can change things like desktop background slide show (paused/available), wireless adapter power saving mode (max power saving, medium, low, max performance) etc. and manually change all of the settings to match what they would be for Best Performance and Balanced. This seems like a very tedious exercise and I'm not even sure I'll catch all of the various behind-the-scenes changes of the different power modes.

I know that I could easily change power modes manually when I plug in/unplug my laptop, but there are many things that we could easily do manually throughout the day but we take advantage of the option to automate. I've forgotten to change my settings to Balanced on more than one occasion when getting to work without a charger and I've found myself running out of battery faster than I'd like. 

I appreciate any help on the matter. 

Thanks!

Windows for home | Windows 11 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-11-21T03:38:00+00:00

    Hello, this is Eric.

    I’m not entirely sure if this will work, but I found this online:

    You can already do this by setting Power Save mode to turn on at 100% in the power plan settings (not in the Control Panel). This way, when you are plugged in, it will stay in Performance mode, and when you unplug, it will switch to Power Save automatically.

    If you think that’s not enough control, you can play around with Task Scheduler to run a script when you plug in/unplug. For example, you could use:

    powercfg /setactive SCHEME_MIN

    to set Performance mode when plugged in, and a similar command for Power Save mode when unplugged.

    Let me know if you’d like steps on how to configure this!

    6 people found this answer helpful.
    0 comments No comments