Generating a Power Efficiency Diagnostics Report

by Allen Wyatt
(last updated May 9, 2016)

2

Windows, for several versions now, has tried to work closely with whatever hardware it is installed upon to manage power use. (In fact, there are several different WindowsTips that explain how to change power settings.) When you are working on a laptop, power use becomes much more important than it may be on a desktop computer. If you want to know how to best configure Windows and your laptop to co-exist peacefully and make the best use of the computer's battery life, you might be interested in generating a power efficiency report.

Normally this report is "hidden," meaning that the tool that creates the report is not available from any of the controls in the Windows environment. Instead, you need to run it from the command prompt, as an administrator. To get to the proper command prompt in Windows 7, follow these steps:

  1. Click the Start button to display the Start menu.
  2. Type cmd, but don't press Enter. You should see a single command shown on the screen, for cmd.exe.
  3. Right-click on cmd.exe and choose Run as Administrator from the resulting Context menu. This opens up a command line prompt window.

If you are using Windows 8 or Windows 10, move the mouse pointer all the way to the bottom-left corner of the screen and then right-click. In the resulting Context menu, choose the Command Prompt (Admin) option.

In the command prompt window, enter the following:

powercfg –energy –output c:\report.html

The pwercfg program starts and informs you that it is doing some diagnostics for 60 seconds. The program actually takes a bit longer than a minute to run, as it needs to do some analysis on the results of the diagnostics. In the command line you can change the report name and location; the example shown places the report (report.html) in the root directory of the C: drive, but you could specify a different location, if desired.

When completed, you can close the command prompt window and navigate to wherever the report is located. Double-click on it, and it will open in your browser. It contains quite a bit of information about your system and its power usage. You can use the information in guiding you on how to configure Windows to give the best power performance on your system.

 This tip (7097) applies to Windows 7, 8, and 10.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Smoothing Out Data Series

One way you can make your charts look more understandable is by removing the "jaggies" that are inherent to line charts. This ...

Discover More

Turning Off Background Repagination

When you use Word, it normally performs several tasks in the background while you are typing. One of those tasks is to ...

Discover More

Adjusting the Order of Items in a Chart Legend

When charting your data, a legend is always a nice finishing touch. You may want to change the order in which items appear in ...

Discover More
More WindowsTips

Using Powercfg to Change the Active Power Scheme

You can easily change which power scheme is active by using the SetActive switch. This tip shows you how.

Discover More

Using Powercfg to Export and Import a Power Scheme

You can export to a file your power schemes and then import them later on. The only caveat is that you must be running as ...

Discover More

Estimating Battery Life

The battery in your laptop provides the power you need to even use the system. As you use your laptop, you may notice that it ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is six more than 8?

2016-05-09 12:13:00

David H.

I couldn't get this to work when I copied and pasted. Changing the backslash to a forward slash worked.

For example instead of using:
powercfg –energy –output c:report.html

try this instead:
powercfg –energy –output c:/report.html


2016-05-09 08:39:42

Kevin

Along with many other instructions as to where to find the Windows 10 shortcuts they have been written for setups where the controls are laid out along the bottom.
In this example the mouse pointer would be better described as being in the area of the Windows icon so that it is relevant whichever bottom, top or side they have been placed on.


Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.