Welcome to MSDN Blogs Sign in | Join | Help

powercfg –ENERGY - Windows 7 – Power Management Reports

Just read this useful command line utility built into Windows 7 for viewing a report about how your laptop is using energy.

Swiss IT Professional and TechNet Blog : Windows 7 – Power Management Reports

“Wondering why your battery life of your laptop is not as good as the manufacturers claim?

powercfg -ENERGY

You need to run this command from the command prompt with administrator privileges (Run as Administrator). This command will perform a 60 second analysis of the computer’s energy consumption and provide you with a report: (by default in the system32 folder): C:\Windows\system32\energy-report.html

It lists the devices and drivers that hamper Sleep, or hinder that the full power saving features of your machine can not be utilized.

It also lists if your hardware is capable of S1, S2, S3 or S4 sleep modes”

powercfg - ENERGY

Looks like I have some things that I can look at to improve my battery life.

Rob

Technorati Tags: ,


Published Monday, May 18, 2009 10:59 AM by robmar

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# powercfg ???ENERGY - Windows 7 ??? Power Management Reports | Microsoft Share Point

Tuesday, May 19, 2009 6:55 PM by iman

# re: powercfg –ENERGY - Windows 7 – Power Management Reports

Any idea why I'm getting this error?

C:\>powercfg -ENERGY

Invalid Parameters -- try "/?" for help

There is no -ENERGY option whenI try /? for help. I am running a command prompt as Administrator on a Thinkpad with Vista SP1.

Wednesday, May 20, 2009 2:12 AM by robmar

# re: powercfg –ENERGY - Windows 7 – Power Management Reports

Hi Ian - I believe it is Windows 7 only

Rob

Wednesday, May 20, 2009 1:44 PM by Varun

# re: powercfg –ENERGY - Windows 7 – Power Management Reports

Got that error as well on Win 7.

I copy pasted command form this page.

Then manualy entered in small caps,thenit worked.

Wednesday, May 20, 2009 1:48 PM by braikejak

# Wonderful article

Great article: will definitely visit again.

Thursday, May 21, 2009 3:51 AM by robmar

# re: powercfg –ENERGY - Windows 7 – Power Management Reports

Hi Varum - I tried in my version build 7100 English

Where you running a non english installation by any chance?

Feel free to email me via the links at the top of the page and I can see if I can help

Rob

Wednesday, May 27, 2009 12:08 PM by hyperbomb

# re: powercfg –ENERGY - Windows 7 – Power Management Reports

To use this built-in command:

1. Click on "Start button -> All Programs -> Accessories". Right-click on "Command Prompt" and select "Run As Administrator". If you are prompted to enter password, enter the password and continue. You can also open Command Prompt in Administrator mode by typing "cmd" in Startmenu Search box and press "Ctrl+Shift+Enter".

Sunday, June 14, 2009 3:35 PM by Noah

# re: powercfg –ENERGY - Windows 7 – Power Management Reports

I can't open the energy-report.html file.  Firefox says "file not found", and IE can't open it either.  I can navigate to the file in windows explorer, but cannot open the file with a web browser.  Any ideas?

Sunday, June 14, 2009 6:12 PM by Noah

# re: powercfg –ENERGY - Windows 7 – Power Management Reports

Nevermind, all I had to do was move the file out of the system32 directory and then I could open it.

Saturday, July 04, 2009 4:25 PM by Hugo Vandenbroele

# re: powercfg –ENERGY - Windows 7 – Power Management Reports

I received the message tath it was enable to perform...I run it as administrator.

Monday, October 05, 2009 12:02 PM by windoosxp

# re: powercfg –ENERGY - Windows 7 – Power Management Reports

Thanks Noah.

I could not read it either.

Just move it to the desktop and open.

Saturday, November 21, 2009 4:41 AM by JHC

# re: powercfg –ENERGY - Windows 7 – Power Management Reports

I can not open the file.  Have tried to copy/move/rename and it won't let me do anything.  Any ideas?

Sunday, November 22, 2009 7:49 PM by open

# re: powercfg –ENERGY - Windows 7 – Power Management Reports

how do i open the html report?

Monday, November 23, 2009 1:26 AM by robmar

# re: powercfg –ENERGY - Windows 7 – Power Management Reports

Hi JHC/Open

can yu send me the fil and then i can check it is ok

rob

Thursday, December 03, 2009 7:16 PM by Aaron

# re: powercfg –ENERGY - Windows 7 – Power Management Reports

when i put this into my command prompt it tells me the energy command must be done by an administrator and must be executed by a higher command prompt. any idea why? a am logged in as an administrator. am i doing something wrong?

Friday, December 04, 2009 3:10 AM by robmar

# re: powercfg –ENERGY - Windows 7 – Power Management Reports

Hi Aaron - even if you are logged on as an admin you still need to run this command from the command prompt with administrator privileges (Run as Administrator).

Wednesday, January 27, 2010 12:47 AM by cioran

# re: powercfg –ENERGY - Windows 7 – Power Management Reports

I am hahing energy efficiency problems, I folow the instructions on how to check on them using the command promp and I found 8 errors, and 9 warnings but the problem now is that I don't know how to solv them. How do I identify the spesific errors and warnings and how do I macke the necesary adjustment to fix them?

Any help would be greatly appreciated.  

Wednesday, January 27, 2010 12:50 AM by robmar

# re: powercfg –ENERGY - Windows 7 – Power Management Reports

Cioran - can you post the info anywhere

Wednesday, January 27, 2010 11:04 AM by cioran

# re: powercfg –ENERGY - Windows 7 – Power Management Reports

rodmar - the command promp part I'm able to do, the problem that I am facing is that when I try to view the info. at C:\Windows\system32\energy-report.html the info. does not show in the in the brouser so I'm not able to effectively diagnose and solve the problems in my pc.Is there other way to view the energy managment report?

Thursday, January 28, 2010 12:39 AM by robmar

# re: powercfg –ENERGY - Windows 7 – Power Management Reports

ok couple of things

1. change file extension to htm (in case you have no association with .html)

2. associate .html extension with your browser

3. try open file up from Word

failing that email it to me at robmar@microsoft.com

rob

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker