Defrag Tools #157 - Energy Estimation Engine (E3)

Sign in to queue

Description

Collecting and visualizing Windows 10 Energy Estimation Engine (E3) data with "powercfg /srumutil" and Excel

In this episode of Defrag Tools, Chad Beeder and Jorge Novillo take a look at the Energy Estimation Engine (E3) in Windows, and how to use it to get detailed information about battery usage.

Note: In addition to viewing data from a single device, as demonstrated in the video, an OEM, during device pre-production, or an enterprise IT administrator could create domain scripts to generate and collect E3 SRUMUTIL logs on a daily or weekly basis and collect the information in a database. This would allow the OEM or enterprise to analyze energy usage data from devices, and identify opportunities to improve battery life on their Windows images.

Additional Resources:

Energy Estimation Engine (E3) presentation from WinHEC 2015
Energy Estimation Engine (E3) lab from WinHEC 2015

Timeline:

[00:00] Introductions and overview
[01:04] First step: Look at the Battery Use UI, in the Settings app
[02:11] How to reset the battery usage data, for testing and analysis purposes
[04:45] Use powercfg /srumutil to get a detailed report on power usage - we can use Excel to analyze it
[06:20] Note the "MeasuredPower" column - tells you whether there is a power meter chip in the device (for more accurate reporting)
[09:07] Using an Excel Pivot Table to analyze the data. This report also includes background processes not shown in the Battery Use UI.
[12:08] We can also get a more granular breakdown of usage by various apps, and even generate fancy charts!
[16:51] Questions? Email us at defragtools@microsoft.com

Embed

Download

Download this episode

The Discussion

  • User profile image
    Justin_Huang

    Soooooo Cool the tool. Just one question, what is the unit of the *Consumption columns?

     

     

  • User profile image
    ChadBeeder

    @Justin_Huang: Jorge mentioned it is millijoules (but it might have been easy to miss).

    Wikipedia says that one joule is the amount of energy required to power one watt for one second.

  • User profile image
    Justin_Huang

    @ChadBeeder: Got it @08:53....

    I need to improve my listening LOL..

  • User profile image
    Tom

    is there still a timing difference between the SC command and Net Start/stop. in other words, does the sc command return to a command prompt immediately whereas the net start/stop will wait for the activity to complete before returning to a command prompt? Is the answer applicable to all current supported versions of windows?

  • User profile image
    ChadBeeder

    @Tom: Yes, I believe you are correct. SC sends the start/stop command and exits immediately, while net start/stop waits for it to start/stop before returning. As far as I know this is consistent across all Windows versions.

  • User profile image
    bgilly

    Great video! I followed along and found that a process with ID of "unknown" is consuming a lot of energy when the laptop is on battery and the screen is off. I am looking into this to try and troubleshoot why my Dell XPS 13 lost 13% of its battery last night while it should have been in sleep mode.

    Any ideas how to further dig into and identify what is showing as unknown? (my srumutil file is at https://www.dropbox.com/s/rzk81qlhcxtu041/srumutil.xlsx?dl=0 for reference)

  • User profile image
    ChadBeeder

    @bgilly: Please see the followup episode we did recently on System Power Report, in which we discuss what causes energy usage to be categorized as "unknown." Specifically, this question was addressed at around 9:40. 

     

Add Your 2 Cents