Share via


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.

Update 28/05/2010 - some additional info and screenshots at https://blogs.techrepublic.com.com/window-on-windows/

Rob

Technorati Tags: powercfg,windows 7

Comments

  • Anonymous
    May 17, 2009
    PingBack from http://microsoft-sharepoint.simplynetdev.com/powercfg-%e2%80%93energy-windows-7-%e2%80%93-power-management-reports/

  • Anonymous
    May 19, 2009
    The comment has been removed

  • Anonymous
    May 19, 2009
    Hi Ian - I believe it is Windows 7 only Rob

  • Anonymous
    May 20, 2009
    Got that error as well on Win 7. I copy pasted command form this page. Then manualy entered in small caps,thenit worked.

  • Anonymous
    May 20, 2009
    Great article: will definitely visit again.

  • Anonymous
    May 20, 2009
    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

  • Anonymous
    May 27, 2009
    The comment has been removed

  • Anonymous
    June 14, 2009
    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?

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

  • Anonymous
    July 04, 2009
    I received the message tath it was enable to perform...I run it as administrator.

  • Anonymous
    October 05, 2009
    Thanks Noah. I could not read it either. Just move it to the desktop and open.

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

  • Anonymous
    November 22, 2009
    how do i open the html report?

  • Anonymous
    November 22, 2009
    Hi JHC/Open can yu send me the fil and then i can check it is ok rob

  • Anonymous
    December 03, 2009
    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?

  • Anonymous
    December 03, 2009
    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).

  • Anonymous
    January 26, 2010
    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.  

  • Anonymous
    January 26, 2010
    Cioran - can you post the info anywhere

  • Anonymous
    January 27, 2010
    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:Windowssystem32energy-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?

  • Anonymous
    January 27, 2010
    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
  • Anonymous
    March 13, 2010
    I too could not open C:Windowssystem32energy-report.html with neither Firefox, Internet Explorer nor Google Chrome. Copied the report to My Documents & it then opened fine. Start > search: energy-report.html > right click > Open File Location > copy to your folder, Open the copy in your browser.

  • Anonymous
    April 25, 2010
    Could you tell me how this user mode application can get USB port state about suspend

  • Anonymous
    April 27, 2010
    The comment has been removed

  • Anonymous
    June 13, 2010
    Hi.  I am having similar problems to what every else on this thread is complaining about.  Watching video or listening to music (but no mouse movement) will shut the HDD down after 20 minutes, despite changing power settings. I have the energy-report file ready to download, if you can help.

  • Anonymous
    June 28, 2010
    Hello Every One , how are you.can any one give me favor how to correct the Error on my laptop battery problem , my laptop battery is 2 year old. kindly tell me you can also contact me at aamir.sky@gmail.com @window 7 R2  -------> C:Windowssystem32>powercfg -ENERGY Enabling tracing for 60 seconds... Observing system behavior... Analyzing trace data... Analysis complete. Energy efficiency problems were found. 27 Errors 24 Warnings 12 Informational


  • Anonymous
    July 02, 2010
    Whe usb device is in the suspend state, what method does "powercfg -energy" use to get the suspend information? This issue is based on the device's vendor driver do nothing in this case.

  • Anonymous
    July 04, 2010
    In Win 7 platform, i  can use "powercfg -energy" to get use device's power state When the usb device is in the suspend state.  The device vendor's driver do noting in this case, but "powercfg -energy" can inderstand the device is suspend . It is amazing!!! anyone can tell me how this command do that   ????

  • Anonymous
    July 04, 2010
    In Win 7 platform, i  can use "powercfg -energy" to get use device's power state When the usb device is in the suspend state.  The device vendor's driver do noting in this case, but "powercfg -energy" can inderstand the device is suspend . It is amazing!!! anyone can tell me how this command do that   ????

  • Anonymous
    February 20, 2011
    Got problem with sleep mode Windows 7. Anytime my computer is in sleep mode and it tries to wake up then the fout begins. My monitor turns into blue screen. Is there any way to solve this problem???

  • Anonymous
    February 20, 2011
    Beetje - can you confirm you have all your updates up to date/  also what antivirus sw are you running rob

  • Anonymous
    October 22, 2011
    The comment has been removed

  • Anonymous
    November 07, 2011
    Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation.  All rights reserved. C:Windowssystem32>powercfg -ENERGY Enabling tracing for 60 seconds... Observing system behavior... Analyzing trace data... Analysis complete. Energy efficiency problems were found. 6 Errors 6 Warnings 17 Informational See C:Windowssystem32energy-report.html for more details. C:Windowssystem32>

  • Anonymous
    November 19, 2013
    Mine says 4 Errors 16 Warnings and 14 Informational; how do I fix it?

  • Anonymous
    January 21, 2014
    The comment has been removed

  • Anonymous
    April 07, 2014
    Hi, When my laptop goes to turn off display mode it will not come out of this mode. Usually I can enter my password and my screen comes back on, but recently the screen stays only on the standard windows background without giving me the possibility to enter a password so that i can continu my work. I am using Win7 and have updated all windows updates. Any idea where I should look to tweak? Thanks in advance