Code: Select all
[MeasurePowerScheme]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=SYSTEM\ControlSet001\Control\Power\User\PowerSchemes
RegValue=ActivePowerScheme
Substitute="381b4222-f694-41f0-9685-ff5bb260df2e":"Balanced","8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c":"High Performance","a1841308-3541-4fab-bc81-f71556f20b4a":"Power Saver"
Code: Select all
C:\>powercfg -list
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)
If your results differ from mine, you will need to change the Substitute line of the measure.
Once you've added this measure to your config, you can create a STRING meter to display the result. If you want to do something graphical, you might be able to substitute with numbers instead, then use Calc measures to test the values and display/hide pictures. I haven't tried that yet, though.