Generate Sleep Study Report in Windows 10

    Generate Sleep Study Report in Windows 10

    How to Generate a Sleep Study Report in Windows 10

    Published by BrinkCategory: Performance & Maintenance
    22 Sep 2016 Last Updated: 15 Apr 2017 at 10:38

    Published by


    Brink's Avatar
    Administrator

    Posts: 24,246

    Show Printable Version 


    How to Generate a Sleep Study Report in Windows 10

    information   Information
    A Sleep Study report is tool available on Windows 10 PCs that support the Modern Standby (S0 low power idle) sleep state.

    A Sleep Study generates a report of connected standby (aka: "InstantGo" and "Modern Standby") quality over the last three days on the system.

    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 10 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.

    This tutorial will show you how to generate a Sleep Study report for Modern Standby quality in Windows 10.

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


    VIDEO: Defrag Tools #168 - Powercfg Sleep Study Channel 9




    EXAMPLE: "powercfg /SleepStudy" usage
    Click image for larger version. 

Name:	sleepstudy_command_usage.png 
Views:	214 
Size:	48.7 KB 
ID:	102607



    Here's How:

    1. Open an elevated command prompt.

    2. Type the command you want to use below into the elevated command prompt, and press Enter. (see screenshots below)
    Note   Note
    It's recommended to save the report as a .html file to be able to easily use and read it.


    (For .html file with default 3 day duration)
    powercfg /SleepStudy /output %USERPROFILE%\Desktop\sleepstudy-report.html

    (For .html file with specified duration)
    powercfg /SleepStudy /output %USERPROFILE%\Desktop\sleepstudy-report.html /Duration days

    (For .xml file with default 3 day duration)
    powercfg /SleepStudy /output %USERPROFILE%\Desktop\sleepstudy-report.xml /XML

    (For .xml file with specified duration)
    powercfg /SleepStudy /output %USERPROFILE%\Desktop\sleepstudy-report.xml /XML /Duration days

    Note   Note
    Substitute days in the commands above with a number 1 to 14 to specify the number of days you want to analyze for the report.

    Click image for larger version. 

Name:	sleepstudy_command.png 
Views:	117 
Size:	21.8 KB 
ID:	102608
    Click image for larger version. 

Name:	sleepstudy_command_not_supported.png 
Views:	77 
Size:	18.3 KB 
ID:	102609


    3. Open the sleepstudy-report.html or sleepstudy-report.xml file saved to your desktop to see the report in your default web browser (ex: Internet Explorer).

    4. This is an example System Sleep report from a sleepstudy-report.html file viewed in Internet Explorer. (see screenshots below)
    Note   Note
    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
    Name:  Sleep_study_report-1.png
Views: 2350
Size:  27.3 KB

    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)

    Name:  Sleep_study_report-2.png
Views: 2330
Size:  29.7 KB

    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 %

    Name:  Sleep_study_report-3.png
Views: 2310
Size:  26.3 KB

    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

    Name:  Sleep_study_report-4.png
Views: 2332
Size:  46.5 KB

    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.

    Name:  Sleep_study_report-5.png
Views: 2300
Size:  10.4 KB


    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

    Microsoft allows 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)

    Name:  Sleep_study_report-6.png
Views: 2346
Size:  41.7 KB



    That's it,
    Shawn


  1.    23 Sep 2016 #1
    Join Date : Feb 2015
    Bamberg Germany
    Posts : 16,954
    Win10 Pro, Win10 Pro N, Win10 Home, Win10 Pro Insider Fast Ring, Windows 8.1 Pro, Ubuntu

    That was fast, your tutorial will make it alot easier for the others to follow.
      My ComputersSystem Spec
  2.    23 Sep 2016 #2
    Join Date : Oct 2013
    Posts : 24,246
    64-bit Windows 10 Pro build 17017
    Thread Starter

      My ComputersSystem Spec
  3.    24 Sep 2016 #3
    Join Date : Jun 2016
    Posts : 1,462
    Win10 1607

    Good Tut easier to follow than the one's M$ provides to diagnose your Surface...... Sleep Study worked well for me several months ago to figure out it was Wifi on my Surface 3 that was killing the Battery even when Sleeping , so I have disabled Wifi in SleepMode ( stay connected ) and the Battery is as you would expect , it's last days with light usage , not just overnight.


    KB
      My ComputerSystem Spec

 


Similar Threads
Tutorial Category
Performance & Maintenance Generate Battery Usage Report in Windows 10
How to Generate Battery Usage Report in Windows 10 A battery usage report will help you know more about the usage, health, and life estimates characteristics of your PC's battery over the lifetime of the system. This tutorial will show you...
Tutorials
Performance & Maintenance Generate System Sleep Diagnostics Report in Windows 10
How to Generate a System Sleep Diagnostics Report in Windows 10 A System Sleep Diagnostics generates a report of intervals when the user was not present (idle) over the last three or specified days on the system, and if the system went to sleep....
Tutorials
Performance & Maintenance Generate Battery Energy Estimation Report in Windows 10
How to Generate Battery Energy Estimation Report in Windows 10 You can use the Energy Estimation Engine (E3) in Windows to get detailed information about battery usage. The "powercfg /srumutil" command enumerates the entire Energy Estimation...
Tutorials
Performance & Maintenance Create Power Efficiency Diagnostics Report in Windows 10
How to Create a Power Efficiency Diagnostics Report in Windows 10 The Power Efficiency Diagnostics will analyze your system for common energy efficiency and battery life problems, and report any errors, warnings, and informational details found....
Tutorials
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:35.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums