Find battery condition and capacity information on Windows, macOS, and Linux. Use the analyzer when a Windows report or matching Design Capacity and Full Charge Capacity values are available.
Windows can generate an HTML report containing installed battery information, capacity history, usage data, and estimates when those values are reported by the system.
1
Open Command Prompt or Windows Terminal
Open a command-line window from Windows Search. The battery report command may work without elevated access; managed devices can apply different policies.
Open Command Prompt or Windows Terminal from Windows Search.
2
Generate the report
The standard command saves the report in the current command-line path:
powercfg /batteryreport
To place the report on the current user's Desktop with a predictable filename, use:
Windows displays the path of the generated report after the command completes.
3
Locate battery-report.html
Open the path shown by Windows. When the Desktop command above is used, the file should be named battery-report.html on the current user's Desktop.
The exact path depends on the command and current working directory.
4
Upload the report to the analyzer
Select Upload Windows Report in the analyzer, choose the HTML report, and review the extracted capacity results. The API must still validate the file on the server.
Check Mac battery condition and available power data
Apple provides a built-in Battery Health condition. Raw Design Capacity and Full Charge Capacity values are a separate type of information and may not be available on every Mac or macOS version.
Start with Battery Health in System Settings
1
Open the Apple menu and choose System Settings.
2
Select Battery in the sidebar, then review Battery Health.
3
macOS may show a condition such as Normal or Service Recommended. Follow Apple's service guidance when the system reports a service condition.
Inspect available data in Terminal
The following command displays the power information made available by System Profiler:
system_profiler SPPowerDataType
Do not enter a percentage such as Maximum Capacity as a raw Design Capacity value. Manual calculation requires two compatible capacity measurements in the same unit.
When manual calculation is appropriate
Use manual entry only when both raw capacity values are available from a reliable source. When macOS provides only its built-in health condition or a percentage, use that information directly rather than constructing an unsupported conversion.
Linux guide
Inspect battery information with UPower or sysfs
Linux distributions and battery drivers expose different fields. Start with UPower, then inspect the system power-supply directory when necessary.
Method 1: Show battery information with UPower
On supported UPower versions, this requests parameters for battery devices:
upower --battery
To inspect a particular device, first enumerate the object paths:
upower --enumerate
Copy the battery object path from the output and pass it to the information command. The following path is an example and may not match your system:
Some drivers use charge_full and charge_full_design instead. Use values from the same field family and do not assume that charge and energy units are interchangeable.
Enter matching values in the analyzer
Enter Full Charge Capacity and Design Capacity only after confirming that both values use the same unit. Preserve the raw result even when the calculated percentage is above 100%.
Capacity values are supplied by the operating system, battery controller, firmware, and driver. Missing or unusual values do not automatically establish that the battery is defective.
Calibration, replacement batteries, firmware behavior, and manufacturer reporting can affect the displayed values. Review the calculated percentage together with runtime, charging behavior, shutdowns, temperature, and physical condition.
Safety
Do not rely on a percentage for physical safety
Stop using and charging a battery that is swollen, leaking, punctured, emitting an unusual odor, or becoming unusually hot. Follow the device manufacturer's handling and service instructions.
The analyzer provides general capacity information and does not replace inspection by the manufacturer or a qualified repair professional.
Questions and answers
Guide questions
Which guide should I use?
Use the Windows guide when you can generate battery-report.html. On macOS, start with Battery Health in System Settings. On Linux, start with UPower. Use the analyzer's manual mode only when you have both Design Capacity and Full Charge Capacity in the same unit.
Do I need administrator access for the Windows battery report?
Microsoft documents the powercfg /batteryreport command without stating that administrator access is always required. Device policies can differ, so follow any access requirements applied by your organization or Windows installation.
Can Maximum Capacity on a Mac be entered as Design Capacity?
No. A percentage such as Maximum Capacity is not the same measurement as a raw Design Capacity value. Do not combine a percentage with an mWh or mAh value in the manual calculator.
Why does Linux show charge values instead of energy values?
Battery drivers expose different fields. Some systems provide energy_full and energy_full_design, while others provide charge_full and charge_full_design. Use values from the same field family and the same unit.
What if the calculated result is above 100%?
Keep the reported result visible. Values above 100% can occur because of calibration, replacement batteries, firmware behavior, or manufacturer reporting. The visual meter may be limited without changing the source calculation.
Does a capacity result diagnose a damaged battery?
No. Capacity percentage is an informational measurement, not a complete hardware or safety diagnosis. Stop using a battery that is swollen, leaking, physically damaged, or unusually hot and follow the device manufacturer's safety guidance.