Table of contents
Collapse the table of content
Expand the table of content

PwrTest Monitor Scenario

Last Updated: 4/22/2017

The PwrTest Monitor Scenario logs user idle statistics related to monitor or display auto-dimming and blanking.

When you run the PwrTest Monitor Scenario, you might want to also run the PwrTest Requests Scenario (/requests) scenario in another window. The PwrTest Requests Scenario might help to understand why the monitor might still be on or the system still awake, even though the user has been idle long enough for the idle timers to expire.

If you run both scenarios, be sure to use the /ln:name parameter so that you can change the log file and ETW trace session names. The names need to be different to avoid a conflict between the two instances of the tool.


pwrtest /monitor  [/t:n] [/?] 

Specifies the total time (in minutes) for the scenario to run (the default value for n is 30 minutes).


pwrtest /device 
pwrtest /device /t:60

XML log file output


The following table describes the XML elements that appear in the log file.


Contains all the different monitor power events. There can be only one <MonitorPower> element in a PwrTest log file.


Time stamp of any given event.


The name of the user session the event is for.


Shows whether the physical console session is attached to the physical monitor .


Event indicates the current monitor brightness.


Event indicates the user is idle.


Accrued user idle time in milliseconds.


Event indicates the current idle timeouts.


Displays blank timeout value in milliseconds.


Screen saver timeout value in milliseconds.


Displays the dim timeout value in milliseconds


Brightness to use when in the dim state.


Brightness to use when in on state.


Event indicates an idle timeout was hit and an action was taken.


Describes the action that was taken (screen saver start, console locked, monitor dim, monitor blank).


Start time of this idle state.


Timeout value of this idle state in milliseconds.


Event indicates a display idle timeout was hit and an action was taken.


New state of the monitor (on/dim/off).


Previous state of the monitor (on/dim/off).


Time that was spent in the previous state.


Event indicates the adaptive dim timeout has changed.


New timeout value in seconds.

PwrTest Syntax

Send comments about this topic to Microsoft

© 2017 Microsoft