Skip to content

About

Measure Windows screen-off power draw while keeping the system awake

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Screen Off Power Tester

A small Windows utility for measuring Surface/Windows power draw with the display on versus display off.

It keeps the system awake, turns the display off during the measurement phase, then writes samples and a short result summary.

Requirements

  • Windows 11
  • Python 3.10 or newer
  • pywin32
  • A device exposing Surface/Windows power meter or battery WMI data

Install dependency:

python -m pip install -r requirements.txt

Run

Double-click:

Measure_ScreenOffPower.cmd

Default behavior:

  • 60 seconds screen-on baseline
  • 10 minutes display-off measurement
  • Keeps the computer awake while the screen is off
  • Writes CSV files under power-diary/

For a quick dry run that does not turn off the display:

python MeasureScreenOffPower.py --baseline-seconds 5 --screen-off-seconds 5 --interval 1 --no-turn-off-display

Notes

This measures "display off while the computer stays awake." It is not a Modern Standby sleep drain test. If the PC actually sleeps, the script pauses too.

About

Measure Windows screen-off power draw while keeping the system awake

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages