Skip to main content

How to generate a Battery Report in Windows 10

Editor's Note: With the new Surface Book and Surface Pro 4 firmware last night, we figured this would be a good how-to to re-run for those wanting to see if the patch fixed things. You can also do a Sleep Study as well.

If you are running Windows 10 on a laptop or tablet battery life is one of the most important things you are constantly observing. There is never enough battery for a portable device, so how we manage them is important.

Checking the estimated battery life on your laptop or tablet is super simple. Just click the battery icon in the notification area and you can see the percentage battery left and the estimated time you have to work. That estimate, however, is just that, and it is solely dependent on what you are doing at that moment. Just because it shows 8 hours does not mean you can get that much time if you start gaming, for instance.

This issue brings up the question: What is your actual battery life on your laptop? In other words, from your real-life usage combined with charge and discharge rates is there an actual battery time? The answer is yes, although to find it is a bit tricky.

By no means is this method new, in fact, every recent version of Windows can do it not just Windows 10. However, for many people just starting out you will want to know this command. Let's go!

How to generate a Battery Report in Windows 10

1. Right-click on the Start menu to bring up the menu

2. Command Prompt

Choose Command Prompt (Admin) from the menu. Note that this must be the Admin version and not a regular command prompt.

3. Yes to UAC prompt

A prompt will appear to which you need to give permission

4. Command

Copy and paste powercfg /batteryreport /output "C:\battery_report.html" into the command prompt window. Note that for the pros you can designate the output to any directory. For simplicity, we are placing it in the C:\ root folder.

5. Open file

Using Explorer navigate to C:\ aka the root directory. You should see a file labeled battery_report.html. Double-click on it to open the file in your default browser e.g. Microsoft Edge, Chome, Opera.

That's it!

Making Sense of the Report

The report itself is made up of a few somewhat obvious subsections. The first area defines the parameters of the hardware, OS version, and other file details. Here you can see samples from my MacBook Pro running Windows 10, although it works on any portable device. Note that this report does not generate for desktop PCs for somewhat obvious reasons.

The next section is called Installed batteries and gives a general breakdown of the battery installed on your computer. This information includes name, manufacturer, chemistry, design capacity and full charge capacity.

Recent Usage is a very useful section as it details the time, state (active, suspended), power source and remaining capacity of the battery. In short, this is the record of when the laptop went to sleep, became active, and or charged with AC power along with the mWh capacity. If your computer is waking when it should not, you should see it here. There is also a nifty Battery Usage graph below this area.

Other areas like Usage history and Battery capacity history are good to check for battery health. It is well known that Li-On batteries deteriorate over time, and this is where you can see that happen.

Battery life estimates is probably the most interesting section for most users. Here you can see what the OS is predicting for your computer's battery life with regular usage. This feedback tends to be more stable and accurate than the live estimate found by clicking the battery icon.

Like all data sources, the more information this tool has, the more accurate the report. If you just installed a new OS (including some Insider builds), you need a few power cycles and a few days for the Battery Report to have enough data for it to be valuable. The longer you use the OS and the more you keep the laptop off of AC power the better the estimates are for the long run.

Regardless, you now know a cool trick to get a lot more details about your laptop's battery! Make use of it and occasionally check it to make sure nothing is going wrong.

More Resources

Remember that we have many other articles on Windows 10, if you need help you always check these other resources:

Daniel Rubino is the Executive Editor of Windows Central, head reviewer, podcast co-host, and analyst. He has been covering Microsoft here since 2007, back when this site was called WMExperts (and later Windows Phone Central). His interests include Windows, Microsoft Surface, laptops, next-gen computing, and arguing with people on the internet.

85 Comments
  • Very useful...thks
  • just an FYI, in your Copy/Paste you forgot the : in "C:\battery_report.html"  
  • It's fixed, thanks.
  • I'm normally not one to point out minor typos, but you're missing a : in text the user is supposed to copy and paste. Again, normally I'm not one to point this out but since the user is directed to do a little CTRL+C, CTRL+V, the directions don't work as is and for some, this might not be easily noticed.  
  • See above.
  • Awesome. Thanks.
  • Yep would only work if using powershell
  • It works even without the path
  • Of course, but it shoots it to an obscure directory. I mention how you can send the output anywhere.
  • The personal user folder is obscure? :O
  • From my experience it shoots out to \Windows\System32; You have to designate 'personal user folder' or change directory.
  • Oh it depends from the current folder in the command prompt. In my case it's C:\Users\Matteo, in your case it's system32.
    The personal user folder is... The user folder, that's what it's called (C:\Users\name)
  • If you open command prompt as adm, it will be System32 the default folder
  • Right, but running as elevated is not required for a battery report :)
  • That's great if it does not require UAC. Daniel, you should verify and mention it. Also, pampurio97, do you have UAC disabled or enabled? And in my experience, its almost always better to use absolute paths. So, Daniel is doing the right thing.
  • There's no need to use absolute path if you know how the tool works and how a command prompt works. You launch it *without* admin privileges (whether UAC is enabled is irrilevant), you `cd` to the path you want and then you call the command. The default path in a standard command prompt is the user folder.
  • Would be nice on mobile. Are there apps for this?
  • There are many apps that try to give you stats about the battery, but not too relialably because the system doesn't log battery details
  • I believe field medic can do that, aswell as Samsung diagnosis on their wp devices
  • Battery X can do something similar on Windows 10 Mobile
  • Battery life since OS install: 3 hours an 15 minutes (active) My battery capacity at full charge is 40,318 mWh, versus the 42,157 mWh at design capacity.    2 possibilities: -Windows 10 consumes an enormous amount of power -My battery has a problem   Any idea ?
  • You using it over time took your max battery life. Happens to everything with batteries. For example, My 920 is losing its max juice :(
  • Agree. Batteries degrade over their lifetime. Current tech anyway.
  • Have you tried disabling "show me tips about Windows" and then monitor battery life....read this makes a noticeable difference.
  • Good tip,  should be part of the "tips about windows" :)   I'll try that.
  • More useful tips like this and less of Mark Guim's inane articles like "how to right-click in Windows 10"
  • This is not a democracy. You get what we serve and you can skip everything. Thanks! I've explained this a thousand times. We are not writing every article for the regular users. We are also writing things for new users who are unfamiliar with Windows. You are, as always, free to skip over content you are not interested in. That is how this works.
  • ^this^ it's not rocket science to work out that millions of users have different needs and these are being covered by WC. Just read what you need and get on with life!
  • Oh I do love it when Danial gets involved and humbles all the lovely humans on the internet. It's great. Keep up the good work Daniel, I'm only reading a few of the articles (and some of those are just to see if it is what I think it is) but I've actually found a few to be useful and I'm sure many others have as well. This site has really glowed with Windows 10.
  • Thank you. It's nice to have articles on things like the latest build numbers and advanced power options for devices, but the easier guides help new users, and even the tech-illiterate. Especially since everything is archived and is pulled up on a simple websearch. I've found old 2012/13/14 articles from you guys before.
  • now if my surface pro 2 would: Actually stay asleep after tapping the power button (wakes up after 30 seconds) and Stay off (I've seen it turn on minutes AFTER a shutdown) then I'd be happy (yes, I am on a clean install of Windows 10)
  • Yeah, this happens to me too. It's usually when you disconnect or deactivate a USB/bluetooth device AFTER you turn your surface off or put it asleep. Although there are times it turns on I really can't expain....
  • but mine happens when the keyboard is still connected or was disconnected for a bit prior to shutdown. i just want it to stay off if i shut it off or put it to sleep.  
  • Quite some peripherals have authorization wake up a pc. This can be switched off in device manager, properties of the device (famous right click access) most right tab called energy. There uncheck the allowed to wake up device. This is the short version. You might have to go through a few devices to find your nemesis, good luck.
  • More precisely, you should prevent your surface keyboard to turn on your computer by following Egonomist advice. A simple key press will turn on your surface, and this happens, especially in bags or else.
  • thing is, even from upgrading from Windows 8.1 to 10, the issue was there. 3 different surface pro 2's. either upgrading or clean install of 10, but 8.1 is perfect. more of a minor frustration.   also, disabling the keyboard from waking it does nothing. it still wakes on it's own.
  • Does that happen ONLY when it's connected to ext power? Ive seen that on my windows phone.. You switch it off when its charging, it comes back on..  I'm assuming the same thing happens on a surface as well..
  • nope, not the case with the Surface Pros.  Something new in Windows 10, and it happens to me regardless of being plugged in or not. Looking around a few forums, I am not the only one with the issue.
  • I'm a Sysadmin and I've never used this before. I'm usually dealing with servers but I can see this being useful for our inventory procedures when we handle our Surface Pros. Thanks!
  • I doubt you are a very experienced Windows system admin if this is news to you. 
  • considering the vast amount of crap you have to shove into your brain to be a decend sysadmin, something like this is is on the bottom of needed knowledge. especially since he eve admits to dealing with servers most of the time.
  • You can't expect every Windows expert to know every trick. It's just like everything else, even in specific branches of knowledge there are different sects that people know of. Two historians who both study concentration camps during the Holocaust may still know completely different things. Knowledge has never been general and constant, two people working next to each other on the same thing may have different tricks up their sleeves that the other doesn't know about.  
  • Correct! Thank you for showing reason. :)
  • Whether this report updates periodically or we want too redo the command everytime to check it !!!!! #Daniel Rubino
  • You need to force the report to happen, so no, it won't update periodically. The info is collected in the OS but you need to manually 'print' the report, so to speak.
  • I guess you can set it up as a scheduled task.
  • Any suggestions on How to Improve the battery life in Windows 10. It sucks.....
  • Really?! Mine has improved over W8.1...
  • Try turning off show tips about Windows and see if that helps improve your situation.
  • hey, how'd you do that?
  • Settings > System > Notifications & Actions then disable. Orr type "show me" into Cortana and it will appear.    
  • Very nice article
  • How many charge cycles should I expect to get out of my Asus T100? Currently sitting at 247 cycles...
  • Ask Cortana?
  • How many matches fell from your matchbox three sundays before last easter....
  • Its not a hard number, the question is more how much your battery has degraded so far.
  • This is actually interesting!
  • Beautiful
  • doesn't works it says "Unable to perform operation. An unexpected error (0x10d2) has occurred: The library, drive, or media pool is empty."
  • Try changing the output path
  • nope dosent works i tried to change the output path to desktop  
  • started working   didnt show anything about my dead battery
  • Your full of great ideas Dan !!! SP3 looks to be in great condition. However my wife was not as excited as I was. Not sure why ?
  • Interesting, I've met similar results from the corresponding women in my household. Peculiar behavior, maybe we should conduct further study and analyze the results.
  • Battery name is too long Posted via the Windows Central App for Android
  • Why cant windows make this an app instead of hiding it
  • How did you get such smooth fonts on Windows 10? As far as I can see in the screenshots, it's not ClearType rendered.
  • High res displays ;)
  • If only my laptop would show battery after the Windows 10 update. Posted via the Windows Central App on my beautiful Nexus 5
  • I have question for you Daniel. It looks like you are windows addicted person, however, you are using MacBook device. I would like to here your opinion about both OS and what is it exactly made you buy MacBookPro device.
  • It is Mark Guim's Macbook. They explained that Mark prefers a MacBook to a Windows device for video editing. He also does have a Surface Pro 3 though
  • Seems to generate battery reports faster.  
  • Windows 10 on MacBook?
  • Parallels or boot camp probably
  • Hmmm, my battery is crap ever since W10 came along on the SP3... Half to what it used to be. They really need to fix it!
  • HAHA My Surface Book estimated battery life is 1 hour 35 min
  • Mine was over 10 hours last night and that is a Core i7 with dGPU.
  • It says I do not have permission to perform this action.
  • It works. Thanks Danny!
  • My laptop result: For reference url to report.html: https://app.box.com/s/iy6a9g5gwetb9rb657h6wnop7dhrybt1   I want to know is there a problem in my battery as the 'at design capacity' is more than 'at full charge'... I am not sure that it is performing low or high....   Thanks Abhresh
  • Great tip for for my Surface Pro - battery seems to be holding up fine so far.
    Now how can I get a similar report for my Lumia phone  - battery seems to be struggling since installing W10 Mobile and I'd like to know if it's worth replacing the battery or jsut junk the device (in which case it'll be an Android phone next time...).
  • It worked nicely. Thanks Daniel.
  • I get this error when scipt rum on Dell Studio 15 w/WIN 10 Unable to perform operation. An unexpected error (0x10d2) has occured: The libray. drive pr media pool is empty
  • I ddi the same thing and got not data in the Usage history down. I did this test because my laptop's battery light is blinking between green and orange implicating a problem.
  • same here.