• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Sleep Study Diagnostic Report - Generate in Windows 8.1


Brink

Administrator
Administrator
mvp
Posts
23,442
Sleep Study Diagnostic Report - Generate in Windows 8.1
This tutorial will show you how to generate a Sleep Study diagnostic report to see which apps and devices are most active during a sleep session for a Windows 8.1 PC that supports InstantGo.
Published by Brink
#1
Category:
ByLine
How to Generate a Sleep Study Diagnostic Report in Windows 8.1
Synopsis
This tutorial will show you how to generate a Sleep Study diagnostic report to see which apps and devices are most active during a sleep session for a Windows 8.1 PC that supports InstantGo.
How to Generate a Sleep Study Diagnostic Report in Windows 8.1


information   Information
Sleep Study is a new tool available on Windows 8.1 and newer systems supporting InstantGo (previous to Windows 8.1, this was called "Connected Standby") that can help you identify sources of battery drain that occurred while the PC was in sleep mode (that is, when the screen was off).

Sleep Study tells you how well the system slept and how much activity it experienced during that time. While in the sleep state, the system is still doing some work, albeit at a lower frequency. Because the resulting battery drain is not easily perceptible (you can’t see it draining), we built the Sleep Study tool in Windows 8.1 to allow you to track what is happening. We thought of simply using traditional logging to do this, but ironically, the logging itself would drain the battery. With this in mind, we designed the Sleep Study tool to minimize its own impact on battery life, while tracking the battery draining activities.

You can use Sleep Study to see which apps and devices are most active during a sleep session. Sleep Study reviews all the sleep sessions longer than 10 minutes and provides you with a report that color codes each session according to its power consumption. A session is defined as the period from Screen Off to Screen On. In cases when the system is plugged into AC power, the policies are less stringent than when on battery power. While the tool still tracks connected standby activity on AC power, it is more useful to identify unexpected drains on battery, or DC power.

To help you easily identify apps, devices and services with higher power consumption, these are highlighted in red or orange in the report, and represent opportunities to extend your battery life.

For more information, see:


This tutorial will show you how to generate a Sleep Study diagnostic report to see which apps and devices are most active during a sleep session for a Windows 8.1 PC that supports InstantGo.

You must be signed in as an administrator to be able to run a Sleep Study report.

Tip   Tip
Sleep Study is a Windows 8.1 utility that only runs on systems that support InstantGo. You can determine if your hardware and software support InstantGo by entering powercfg /a in a command prompt, press Enter, and then looking to see if Standby (Connected) is included in the list of sleep states:

How to See Available Sleep States on Your Windows 8 PC

Check_for_Connected_Standby-1.png

Check_for_Connected_Standby-2.jpg





Here's How:

1. Open an elevated command prompt.

2. In the command prompt, copy and paste the command you want to use below, and press Enter. (see screenshot below)
powercfg /sleepstudy /output %USERPROFILE%\Desktop\SleepStudy_report.html


Note   Note
If you would like to have the report as a .xml file instead of .html, then copy and paste this below instead.

powercfg /sleepstudy /output %USERPROFILE%\Desktop\SleepStudy_report.xml /xml


Sleep Study will look back up to 3 days for connected standby sessions by default. If you like, you could type either command below to specify the number of days (1, 2, or, 3) to analyze for the report.

powercfg /sleepstudy /output %USERPROFILE%\Desktop\SleepStudy_report.html /duration 1

OR

powercfg /sleepstudy /output %USERPROFILE%\Desktop\SleepStudy_report.xml /xml /duration 1



3. Double click/tap on the SleepStudy_report.html file on your desktop to open and see your battery usage report in your default web browser (ex: Internet Explorer).


[hl]Sections within the report[/hl]

The Sleep Study HTML output is designed so you can easily read and interpret it. The sections are:

  • Machine information
  • Battery drain chart
    • Chart Legend
  • Connected standby session summary table
  • Connected standby session 1
    • Session #1 summary
    • Top 5 duration activities
    • Detailed breakdown of sub components
  • Connected standby session 2
  • (Repeat for each subsequent session).
  • Battery information



Machine information

Note the report time: Sleep Study will look back up to 3 days for connected standby sessions. You can use “powercfg /sleepstudy /?” to see additional command line options.
Machine_information.png



Battery drain chart

  • Green lines are well performing sessions
  • Orange lines are moderate performing sessions
  • Red lines are poor performing sessions
  • Dotted Lines are on AC (wall charger)
  • Solid lines are on DC (battery)
Battery_drain_chart.png



Connected standby session summary table

  • Sessions are numbered sequentially
  • START TIME is in YYYY-MM-DD HH:MM:SS, using 24-hour format
  • State is a hyperlink to the session, in this case, all connected standby sessions
  • DURATION is in HH:MM:SS. Durations under 10 minutes are filtered out of this report

  • ENERGY CHANGE is in milli-watts per hour and as % of battery capacity
  • CHANGE RATE is in mW over an hour interval
  • "Charge/Drain" determines if it was an AC or DC session. Drain is DC; Charge is AC.
  • % LOW POWER STATE TIME is the % of time spent in Deepest Runtime Idle Platform State (DRIPS %)
  • Some systems may also have an analogous hardware state for DRIPS %
Connected_standby_session_summary_table.png



Per session details

  • Per Session Summary repeats the above vital statistics.
  • The top 5 offenders are listed in terms of duration.
  • Detailed information on:

  • Activator (Software component)
  • Device (hardware component)
  • PDC phases (connected standby system activity)
  • Networking (In depth breakdown of networking durations by NDIS clients)
  • Histogram of duration between CPU wake periods
  • Periods of 32 seconds or longer are optimal for battery savings
Per_session_details.png

Advanced statistics are displayed by clicking the three dots in the rightmost gray box. The statistics shown in the resulting list vary according to system capabilities.
Advanced_statistics.png



High-drain sleep sessions

Some connected standby sessions are expected to have activity that results in battery drain. Examples where we expect higher than average drain include:

  • Getting and installing Windows Update while the system sleeps
  • Having peripherals plugged into the USB port (hubs, disks, keyboards, mice, network adapters)
  • Having Bluetooth connected devices while the screen is off
  • Playing music with the screen off
  • Poor WLAN environment or unreliable network connections
  • High network activity (Skype calls, emails, downloads)
  • Short sleep sessions that don’t allow the system to settle into idle
  • Having a poorly behaving device driver
  • Other low-level software bugs in drivers, firmware, or system services
We allow the system to support the experiences you care about, but with the Sleep Study tool, now you can better understand the associated battery drain. You can then make an informed decision around battery costs of certain activities. Of course, it’s also a relatively user friendly tool you can use to isolate any unexpected battery drains.



Battery information

  • DESIGN CAPACITY tells you the size of the battery, in this case close to 30.5 watt hours (or 30,488 milliwatt hours)
  • CAPACITY RATIO tells you how much energy can be stored in the battery before it is considered full.

  • If low, the battery will have shorter battery life due to reduced capacity (for example, if the battery chemistry degrades)
  • Drain rates are based on percentage of (Design Capacity * Capacity Ratio)
Battery_information.png




That's it,
Shawn


 
Last edited by a moderator:

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    250GB Samsung 960 EVO M.2,
    256GB OCZ Vector,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB8200 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Lumia 1520 phone