I had the same problem, and I didn't want to install 3rd party programs, so I did the following:
- I wrote a batch file to switch to power saver mode if high performance mode is active, and to switch to high performance if not.
- I made a folder in a location where it wouldn't bother me and put the batch file there.
- Since the default batch file icon is ugly, I made a shortcut to the batch file and put it in a folder that I made inside the one created in step 2 (for step 4 the folder should only contain the shortcut to work as intended), and changed the icon of the
shortcut.
- Then I made a custom toolbar that linked to the folder that only contained the link to the batch file, and disabled text and title on it (you can do it when the taskbar is unlocked, r-click, uncheck options, and lock it again after you disable the text
and title).
That way there was just a clickable icon next to the tray that tells me which mode is active when I click it, hence going from 4 clicks in standard approach beyond 2 clicks with the desired approach for most users to 1 click in this solution. :P
Here is the code of the batch file.
@echo off
FOR /F "tokens=*" %%A IN ('powercfg -getactivescheme') DO SET SCHEME=%%A
set NSCHEME=Power Scheme GUID: 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c (High performance)
if "%SCHEME%"=="%NSCHEME%" powercfg -setactive a1841308-3541-4fab-bc81-f71556f20b4a & echo Power saver activated. & ping -n 3 127.0.0.1 > nul
if not "%SCHEME%"=="%NSCHEME%" powercfg -setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c & echo High performance activated. & ping -n 3 127.0.0.1 > nul
The ping command is only there to force the window to stay open for a few seconds before disappearing, so that you can actually read, what mode was activated. You can remove it if you don't want the ugly console window to stay open for so long. Also you
could surely make those variables shorter, but all the additional options were too incomprehensive for me, so I just left it like that.