DarkForge Forum
Forum principali => Software => Software proprietario => Topic started by: Raid on Fri 14 November 2014, 22:44
-
Dal Sito Microsoft (http://answers.microsoft.com/en-us/windows/forum/windows_7-desktop/show-three-power-plans-in-battery-icon-in-windows/fd4f4a4a-46e0-4648-acb2-e3b898aecb8a?page=2)
YOU CAN SERIOUSLY DAMAGE YOUR SYSTEM IF YOU MAKE ANY ERRORS WHILE MODIFYING THE REGISTRY!!
So, after mucking about in the registry a bit, I found something that might do what you want. When you right-click the power icon, it brings up a context menu that you can define in the registry, once you set up the power plans you want, you can add a menu item for it (using powercfg):
First, create the power plan.
Second, go to cmd and get the guid for your power scheme using "powercfg -l"
This lists all your power plans and the associated GUID, you will plug this into the registry to create menu item for it.
Third, go to regedit and navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\SysTray\BattMeter\ContextMenu\
Fourth, select or create a numbered sub folder from 1-6
Navigate to the numbered folder:
Set or create Expandable String Value named "Application" to "%SystemRoot%\system32\powercfg.exe"
Set or create Expandable String Value named "ItemName" to whatever you want for the display name
Set or create Expandable String Value named "Parameters" to "-s <scheme guid>"
Set or create Expandable String Value named "IconID" to whatever icon you want to show