PwrTest Monitor Scenario
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 /t:60
<PwrTestLog> <SystemInformation> </SystemInformation> <MonitorPower> <PhysicalMonitorBrightnessEvent> <Timestamp></TimeStamp> <PhysicalMonitorBrightnessPercent></PhysicalMonitorBrightnessPercent> </PhysicalMonitorBrightnessEvent> <MonitorIdleStatusEvent> <Timestamp></TimeStamp> <SessionId></SessionId> <AccruedIdleTimeMs></AccruedIdleTimeMs> </MonitorIdleStatusEvent> <MonitorTimeoutsChangeEvent> <Timestamp></TimeStamp> <SessionId></SessionId> <DisplayTimeoutValueMs></DisplayTimeoutValueMs> <ScreenSaverTimeoutValueMs></ScreenSaverTimeoutValueMs> <DimTimeoutValueMs></DimTimeoutValueMs> <DimBrightnessValue></DimBrightnessValue> <NormalBrightnessValue></NormalBrightnessValue> </MonitorTimeoutsChangeEvent> <MonitorIdleActionExpireEvent> <Timestamp></TimeStamp> <SessionId></SessionId> <IsConsoleSession></IsConsoleSession> <IdleAction></IdleAction> <IdleStartTime></IdleStartTime> <TimeoutValueMs></TimeoutValueMs> </MonitorIdleActionExpireEvent> <MonitorPowerEvent> <Timestamp></TimeStamp> <SessionId></SessionId> <IsConsoleSession></IsConsoleSession> <NewState></NewState> <PreviousState></PreviousState> <PreviousStateTime></PreviousStateTime> </MonitorPowerEvent> <MonitorAdaptiveDimTimeoutEvent> <Timestamp></TimeStamp> <Timeout></Timeout> </MonitorAdaptiveDimTimeoutEvent> </MonitorPower> </PwrTestLog>
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.