Dismiss Notice
Data Loss
Hello Guest

Due to multiple hardware failure, We have lost data from 24th December 2017 to 1st January 2018. Inconvenience is deeply regraded. VIP user will be upgraded sooner

Thank You

How To Generate A Sleep Report In Windows 10

Discussion in 'Tips & Tricks' started by Mindsnake2, Oct 12, 2017.

  1. Mindsnake2

    Mindsnake2 Power User

    878.9 GB
    9.2 GB
    How To Generate A Sleep Study Report in Windows 10

    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 quality over the last three days on the system.

    The 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, though at a lower frequency. Because the
    resulting battery drain is not easily perceptible (you can’t see it draining), Microsoft built the Sleep Study
    tool in Windows 10 to allow you to track what is happening. Microsoft thought of simply using traditional
    logging to do this, but ironically, the logging itself would drain the battery. With this in mind, Microsoft 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 applications, 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 Tip will show you ho w to generate a Sleep Study report for Modern Standby quality in Windows 10.
    NOTE: You must be signed in as an Administrator to be able to generate a Sleep Study report.

    How To Generate A Sleep Study Report in Windows 10

    Sleep Study tool Description Parameters using command line:

    powercfg /SleepStudy /?


    NOTE: I generated this report while my laptop was using AC POWER and not while on battery power.

    1.) Open an Elevated Command Prompt.
    A.) on your keyboard, press Search button on Taskbar
    type in search box: cmd
    in results, right click on Command Prompt and select Run as Administrator


    NOTE: I used this method for opening an Elevated Command Prompt for demonstration. Feel free to use another method if you wish.

    2.) Copy then Paste (to avoid typo's) the command you want to use below into the Elevated Command Prompt, and press Enter.

    NOTE: It's recommended to save the report as a .html file to be able to easily use and read it.

    A.) (For .html file with DEFAULT 3 day duration)

    powercfg /SleepStudy /output %USERPROFILE%\Desktop\sleepstudy-report.html

    (NOTE: For demonstration, I used this one)


    B.) (For .html file with SPECIFIED Duration)

    powercfg /SleepStudy /output %USERPROFILE%\Desktop\sleepstudy-report.html /Duration 7 (<<<< example)


    C.) (For .xml file with DEFAULT 3 day duration)

    powercfg /SleepStudy /output %USERPROFILE%\Desktop\sleepstudy-report.xml /XML


    D.) (For .xml file with SPECIFIED duration)

    powercfg /SleepStudy /output %USERPROFILE%\Desktop\sleepstudy-report.xml /XML /Duration 7 (<<<< example)


    NOTE: Substitute days in the commands above (Duration days) with a number 1 to 14 SPECIFIED number of days
    you want to analyze for the report.

    Location of Sleep Study Report .html file: Mine is the default location: C:\Users\current user\Desktop

    Okay, Report all set to review. On the Desktop or wherever you saved it, double click on the sleepstudy-report.html file to open it.

    System Power Report

    BIOS: G751JT.210 08/10/2015
    OS BUILD: 15063.0.amd64fre.rs2_release.170317-1834
    REPORT TIME: 2017-09-21 18:48:19

    System Power State Transitions
    Battery drains over the last 3 days




    Dotted:.....................AC power
    Solid:........................Battery power
    No line:.....................System powered off
    Grey:........................Active Scenario
    Green:......................Low System Activity
    Orange:....................Moderate System Activity
    Red:..........................High System Activity
    Violet:........................Abnormal Shutdown


    Filter Option

    Session Length:
    Choose radial button: All or >10 min (I chose All radial button)

    STATES: Reading across the page, choose 1 of the 6 radial buttons to see its individual readings in the columns.We'll be using the default setting, ALL

    1.) All
    2.) Active
    3.) Standby
    4.) Hibernate
    5.) Shutdown
    6.) Bug Check

    Reading across will show the various results in each specific column for each individual session. These are labeled:

    1.) START TIME
    2.) DURATION
    3.) STATE

    NOTE: We'll be using Sessions 1 and 2 for this demonstration. There will be multiple sessions listed throughout the report time period
    based upon when the PC or Laptop was shutdown then restarted, in Sleep mode and when coming out of Sleep mode. This example
    will show only 2 sessions for a specific time period as there simply isn't enough room to display them all here in this thread:

    First Session: Shutdown
    Second Session: Active


    Analysis Results
    -Analysis of issues that might cause poor battery life-


    Screen Brightness Duration Histogram
    Duration in seconds at various screen brightness levels


    Installed Batteries


    A.) DESIGN CAPACITY tells you the size of the battery, in this case close to 30.5 watt hours (or 30,488 milliwatt hours)
    B.) CAPACITY RATIO tells you how much energy can be stored in the battery before it is considered full.
    C.) If low, the battery will have shorter battery life due to reduced capacity (for example, if the battery chemistry degrades)
    D.) DRAIN RATES are based on percentage of (Design Capacity * Capacity Ratio)

    Well, I for one have found this useful when I have questions about my battery drain
    without being plugged into an AC outlet. It also helps to inform me based on this report's findings,
    just how long my laptop can be in use productively and what are the most power consuming operations, services
    and applications I need to be made aware of for my PC or Laptop's optimal operation.

    Regards, Mindsnake2
    Jugoexpress likes this.
  2. Jugoexpress

    Jugoexpress No illness is healthy!!! Power User

    441.7 GB
    8.4 GB
    Wow...beautifully explained!
    Thanks Mindsnake2 :)
    Mindsnake2 likes this.

Share This Page