Showing your IP, ISP & place on this screen only
Battery
Battery snapshot, runtime, and health
Browsers can see charge level on Chromium only, and they cannot see capacity or cycle count. Health comes from a report your operating system already generates, parsed on this device.
Live snapshot
This browser does not share battery status. Firefox and Safari, including iPhone and iPad, block the Battery Status API.
Paste a Windows, Mac, or Linux report below, or enter the iPhone Battery Health percentage from Settings.
—
- State
- —
- Time to full
- —
- Time to empty
- —
Level is coarse. Chrome rounds it to the nearest 1%.
Guided unplugged run
Unplug, start the run, and leave this tab in front. The page reads the charge level as it falls, works out the drain rate and runtime, and stops on its own once it has enough data: usually a 5 point drop, at most 10 points or 60 minutes. Paste a battery report below and the result is merged with it, so you can tell wear from load.
This browser does not share battery status, so the guided run cannot work here. Chrome, Edge, and Brave on Windows, Mac, Linux, ChromeOS, and Android can run it.
Standard setup
- Unplug the charger. Start between about 30% and 95% if you can; many devices hold at 100% for a while after unplugging, and the run waits for the first real drop.
- Set screen brightness near 50% and turn off auto-brightness and the keyboard backlight.
- Close other apps and heavy tabs, pause downloads, backups, and updates. Leave Wi-Fi on.
- Use the balanced or default power mode, with no external display or USB devices drawing power.
- Keep this tab in front. The page holds the screen awake; the clock pauses if you switch away or plug in.
What skews the result
- Brightness is often the largest single draw on a phone or laptop. Two runs at different brightness are not comparable.
- Background load such as sync, indexing, updates, video calls, or another browser tab can double the drain.
- Temperature. A cold battery delivers less; a hot device throttles. Run it at room temperature.
- Level reporting. Browsers report charge in 1% steps, and some devices round or hold the level near full and near empty. The page times the steps themselves to cut that error, and shows how sure it is.
- Power mode and display refresh rate. Battery saver, low power mode, and 120 Hz screens all change the drain.
Waiting for the first drop.
- Elapsed
- 0:00
- Level
- — %
- Drain
- — %/h
- Runtime
- —
Confidence: none yet
Quick timed drain
Fifteen or twenty minutes under a fixed load: a 320×180 animation and a CPU worker on a 50 ms on / 16 ms off cycle, with the screen kept awake. Set brightness near 50%, unplug, close other heavy apps, and leave this tab in front.
15:00
Level now: —
Battery report
The report is read in this browser. It is not uploaded. What we keep on this device, if you parse one, is the health summary: percentage, cycle count, and the verdict. Serial numbers and the computer name are not copied by the commands below and are never stored.
Run it, then come back and press Paste. The command puts a short summary on your clipboard. No file is left behind.
PowerShell Start menu → type PowerShell
$f=Join-Path $env:TEMP 'wattping-battery.xml'; powercfg /batteryreport /xml /output $f | Out-Null; [xml]$x=Get-Content -Raw $f; Remove-Item $f; $r=$x.BatteryReport; $o=@('WattPing battery report (Windows)','INSTALLED BATTERIES'); foreach($b in @($r.Batteries.Battery)){if($b){$o+='NAME '+$b.Id; $o+='CHEMISTRY '+$b.Chemistry; $o+='DESIGN CAPACITY '+$b.DesignCapacity+' mWh'; $o+='FULL CHARGE CAPACITY '+$b.FullChargeCapacity+' mWh'; $o+='CYCLE COUNT '+$(if($b.CycleCount){$b.CycleCount}else{'-'})}}; $o+='BATTERY CAPACITY HISTORY'; $o+=@($r.History.HistoryEntry | Where-Object {[int64]('0'+$_.FullChargeCapacity) -gt 0} | Select-Object -Last 104 | ForEach-Object {($_.LocalStartDate -replace 'T.*')+' - '+($_.LocalEndDate -replace 'T.*')+' '+$_.FullChargeCapacity+' mWh '+$_.DesignCapacity+' mWh'}); $o -join [char]10 | Set-Clipboard; if($o.Count -gt 3){'Copied. Go back to WattPing and press Paste.'}else{'No battery found on this PC.'}
Command Prompt same thing, run through PowerShell
powershell -NoProfile -Command "$f=Join-Path $env:TEMP 'wattping-battery.xml'; powercfg /batteryreport /xml /output $f | Out-Null; [xml]$x=Get-Content -Raw $f; Remove-Item $f; $r=$x.BatteryReport; $o=@('WattPing battery report (Windows)','INSTALLED BATTERIES'); foreach($b in @($r.Batteries.Battery)){if($b){$o+='NAME '+$b.Id; $o+='CHEMISTRY '+$b.Chemistry; $o+='DESIGN CAPACITY '+$b.DesignCapacity+' mWh'; $o+='FULL CHARGE CAPACITY '+$b.FullChargeCapacity+' mWh'; $o+='CYCLE COUNT '+$(if($b.CycleCount){$b.CycleCount}else{'-'})}}; $o+='BATTERY CAPACITY HISTORY'; $o+=@($r.History.HistoryEntry | Where-Object {[int64]('0'+$_.FullChargeCapacity) -gt 0} | Select-Object -Last 104 | ForEach-Object {($_.LocalStartDate -replace 'T.*')+' - '+($_.LocalEndDate -replace 'T.*')+' '+$_.FullChargeCapacity+' mWh '+$_.DesignCapacity+' mWh'}); $o -join [char]10 | Set-Clipboard; if($o.Count -gt 3){'Copied. Go back to WattPing and press Paste.'}else{'No battery found on this PC.'}"
Keep the full HTML report too
Same summary on the clipboard, and Windows' own report saved as battery-report.html in your user folder.
PowerShell, save and copy
$h=Join-Path $HOME 'battery-report.html'; powercfg /batteryreport /output $h | Out-Null; $f=Join-Path $env:TEMP 'wattping-battery.xml'; powercfg /batteryreport /xml /output $f | Out-Null; [xml]$x=Get-Content -Raw $f; Remove-Item $f; $r=$x.BatteryReport; $o=@('WattPing battery report (Windows)','INSTALLED BATTERIES'); foreach($b in @($r.Batteries.Battery)){if($b){$o+='NAME '+$b.Id; $o+='CHEMISTRY '+$b.Chemistry; $o+='DESIGN CAPACITY '+$b.DesignCapacity+' mWh'; $o+='FULL CHARGE CAPACITY '+$b.FullChargeCapacity+' mWh'; $o+='CYCLE COUNT '+$(if($b.CycleCount){$b.CycleCount}else{'-'})}}; $o+='BATTERY CAPACITY HISTORY'; $o+=@($r.History.HistoryEntry | Where-Object {[int64]('0'+$_.FullChargeCapacity) -gt 0} | Select-Object -Last 104 | ForEach-Object {($_.LocalStartDate -replace 'T.*')+' - '+($_.LocalEndDate -replace 'T.*')+' '+$_.FullChargeCapacity+' mWh '+$_.DesignCapacity+' mWh'}); $o -join [char]10 | Set-Clipboard; if($o.Count -gt 3){'Copied. Go back to WattPing and press Paste.'}else{'No battery found on this PC.'}; 'Full report kept at '+$h
Command Prompt, save and copy
powershell -NoProfile -Command "$h=Join-Path $HOME 'battery-report.html'; powercfg /batteryreport /output $h | Out-Null; $f=Join-Path $env:TEMP 'wattping-battery.xml'; powercfg /batteryreport /xml /output $f | Out-Null; [xml]$x=Get-Content -Raw $f; Remove-Item $f; $r=$x.BatteryReport; $o=@('WattPing battery report (Windows)','INSTALLED BATTERIES'); foreach($b in @($r.Batteries.Battery)){if($b){$o+='NAME '+$b.Id; $o+='CHEMISTRY '+$b.Chemistry; $o+='DESIGN CAPACITY '+$b.DesignCapacity+' mWh'; $o+='FULL CHARGE CAPACITY '+$b.FullChargeCapacity+' mWh'; $o+='CYCLE COUNT '+$(if($b.CycleCount){$b.CycleCount}else{'-'})}}; $o+='BATTERY CAPACITY HISTORY'; $o+=@($r.History.HistoryEntry | Where-Object {[int64]('0'+$_.FullChargeCapacity) -gt 0} | Select-Object -Last 104 | ForEach-Object {($_.LocalStartDate -replace 'T.*')+' - '+($_.LocalEndDate -replace 'T.*')+' '+$_.FullChargeCapacity+' mWh '+$_.DesignCapacity+' mWh'}); $o -join [char]10 | Set-Clipboard; if($o.Count -gt 3){'Copied. Go back to WattPing and press Paste.'}else{'No battery found on this PC.'}; 'Full report kept at '+$h"
If PowerShell is blocked on a work PC, this copies the whole XML report with clip instead. It is longer and includes the computer name, which WattPing ignores.
Command Prompt only
powercfg /batteryreport /xml /output "%TEMP%\wattping-battery.xml" >nul && clip < "%TEMP%\wattping-battery.xml" && del "%TEMP%\wattping-battery.xml"
The older way still works: run powercfg /batteryreport and upload the HTML file it saves. Full walkthrough.
Run it, then come back and press Paste. The command puts a short summary on your clipboard. No file is left behind.
Terminal Spotlight → type Terminal
{ echo 'WattPing battery report (Mac)'; system_profiler SPPowerDataType | grep -E 'Cycle Count|Condition|Maximum Capacity|Full Charge Capacity'; ioreg -rn AppleSmartBattery | grep -E '^[[:space:]]*"(DesignCapacity|AppleRawMaxCapacity|NominalChargeCapacity|CycleCount)" = '; } | pbcopy && echo 'Copied. Go back to WattPing and press Paste.'
Keep a copy too
Same clipboard summary, also saved as wattping-battery.txt in your home folder.
Terminal, save and copy
{ echo 'WattPing battery report (Mac)'; system_profiler SPPowerDataType | grep -E 'Cycle Count|Condition|Maximum Capacity|Full Charge Capacity'; ioreg -rn AppleSmartBattery | grep -E '^[[:space:]]*"(DesignCapacity|AppleRawMaxCapacity|NominalChargeCapacity|CycleCount)" = '; } | tee ~/wattping-battery.txt | pbcopy && echo 'Copied, and saved to ~/wattping-battery.txt. Go back to WattPing and press Paste.'
It reads Apple's Maximum Capacity, condition, and cycle count, plus raw capacities from ioreg. MaxCapacity on Apple Silicon is a charge percentage, not health, so it is left out. Full system_profiler SPPowerDataType or ioreg -rn AppleSmartBattery output works too. Full walkthrough.
Run it, then come back and press Paste. The command puts a short summary on your clipboard. No file is left behind.
Terminal (bash or zsh)
r=$(for d in /sys/class/power_supply/*; do [ "$(cat "$d/type" 2>/dev/null)" = Battery ] || continue; [ "$(cat "$d/scope" 2>/dev/null)" = Device ] && continue; grep -E '^POWER_SUPPLY_(NAME|ENERGY_FULL|ENERGY_FULL_DESIGN|CHARGE_FULL|CHARGE_FULL_DESIGN|CYCLE_COUNT)=' "$d/uevent"; done); m='Copied. Go back to WattPing and press Paste.'; if [ -z "$r" ]; then echo 'No laptop battery found.'; elif [ -n "$WAYLAND_DISPLAY" ] && command -v wl-copy >/dev/null; then printf 'WattPing battery report (Linux)\n%s\n' "$r" | wl-copy && echo "$m"; elif [ -n "$DISPLAY" ] && command -v xclip >/dev/null; then printf 'WattPing battery report (Linux)\n%s\n' "$r" | xclip -selection clipboard && echo "$m"; elif [ -n "$DISPLAY" ] && command -v xsel >/dev/null; then printf 'WattPing battery report (Linux)\n%s\n' "$r" | xsel -ib && echo "$m"; else printf 'WattPing battery report (Linux)\n%s\n' "$r"; echo 'No clipboard tool found. Select the lines above, copy them, then paste on WattPing.'; fi
Keep a copy too
Same clipboard summary, also saved as wattping-battery.txt in your home folder.
Terminal, save and copy
r=$(for d in /sys/class/power_supply/*; do [ "$(cat "$d/type" 2>/dev/null)" = Battery ] || continue; [ "$(cat "$d/scope" 2>/dev/null)" = Device ] && continue; grep -E '^POWER_SUPPLY_(NAME|ENERGY_FULL|ENERGY_FULL_DESIGN|CHARGE_FULL|CHARGE_FULL_DESIGN|CYCLE_COUNT)=' "$d/uevent"; done); m='Copied. Go back to WattPing and press Paste.'; if [ -z "$r" ]; then echo 'No laptop battery found.'; elif [ -n "$WAYLAND_DISPLAY" ] && command -v wl-copy >/dev/null; then printf 'WattPing battery report (Linux)\n%s\n' "$r" | wl-copy && echo "$m"; elif [ -n "$DISPLAY" ] && command -v xclip >/dev/null; then printf 'WattPing battery report (Linux)\n%s\n' "$r" | xclip -selection clipboard && echo "$m"; elif [ -n "$DISPLAY" ] && command -v xsel >/dev/null; then printf 'WattPing battery report (Linux)\n%s\n' "$r" | xsel -ib && echo "$m"; else printf 'WattPing battery report (Linux)\n%s\n' "$r"; echo 'No clipboard tool found. Select the lines above, copy them, then paste on WattPing.'; fi; [ -n "$r" ] && printf 'WattPing battery report (Linux)\n%s\n' "$r" > ~/wattping-battery.txt && echo 'Saved to ~/wattping-battery.txt'
It copies with wl-copy, xclip, or xsel, whichever you have. With none of them it prints the summary for you to copy by hand. Serial numbers and mouse or headset batteries are skipped. upower -i output works too. Full walkthrough.
ChromeOS has no clipboard command, so this one is copy by hand. Unplug, press Ctrl+Alt+T to open crosh, and run:
crosh
battery_test 1
Select the lines it prints, including Battery health: …%, press Ctrl+Shift+C, then come back and press Paste. The Diagnostics app (search for it in the launcher) shows the same health figure and the cycle count.
iPhone and iPad have no terminal, and iOS does not let a website or a Shortcut read battery health. The quick way: Settings → Battery → Battery Health & Charging, and type the Maximum Capacity you see. Newer models also show the cycle count there or under General → About.
Deeper: use an Analytics file
It has the cycle count and the battery's own factory capacity, which Settings does not show. It needs Share iPhone Analytics (or Share iPad Analytics) turned on for a day or more.
- Settings → Privacy & Security → Analytics & Improvements → Analytics Data.
- Open the newest file that starts with
Analytics-. - Tap Share. Choose Copy if it is offered, then come back and press Paste. Otherwise choose Save to Files and upload it below.
Only the battery numbers are read. The file stays on this device.
Or click in the box and press Ctrl+V (⌘+V on a Mac).