DevTools Logo

Battery Status Monitor

Battery Status Monitor

Watch battery level, charging state and drain rate over time. Live in your browser, with nothing uploaded.

Runs in your browser

Live battery session

No samples in this window yet. Samples are taken every 30 seconds and whenever the battery state changes.

Projection & controls

Observed time to empty
unknown
Collecting data — keep this tab open. A projection appears after at least 3 samples.
OS-reported time
unknown
Infinity is shown as unknown. The OS counter only counts while discharging; the observed slope works in both states.

Flags samples whose absolute observed rate exceeds this value. No notifications are sent.

Privacy & limits

Battery level is readable by any site in Chromium; this tool adds no tracking. Sessions stay in this tab (with reload recovery) and the CSV is the only record. Cycle counts and battery health are not exposed by the API.

Screen Wake Lock is unavailable in this browser; the toggle is disabled.

Examples

Measure drain

Leave the tab open for 30 minutes and watch the level slope and observed %/hour line to spot abnormal drain.

Plug in the charger

A green tick marks the moment the charger is connected; the state badge flips to Charging and the projection switches to time to full.

Compare with the OS

Read the observed projection next to the OS-reported time; export the session as CSV to reproduce the comparison later.

About this tool

Samples the Chromium Battery Status API every 30 seconds and on level/charging events, then charts battery level with an observed-rate line, charger event markers and gap flags. A least-squares trend over the current charging state projects time to empty or full alongside the OS estimate; flat or tiny trends are labelled low confidence instead of producing a random ETA. Sessions survive an accidental reload and can be exported as CSV. Firefox, Safari and iOS do not expose navigator.getBattery() and get a clear explanation instead of a broken chart. All data stays in the browser tab.

What this tool does not do

  • Processes only the inputs provided in this session without connecting to external accounts or background servers.
  • Runs entirely in the current browser tab; nothing is synced across devices or backed up to a server.

How to use this tool

  1. Open in a Chromium browser

    Load the monitor in Chrome, Edge, or Brave where navigator.getBattery() is available.

  2. Observe live sampling

    Leave the tab open to plot battery percentage, charging events, and drain slope.

  3. Export session CSV

    Download captured timestamped readings as CSV for offline comparison.

Use cases

Measure drain

Leave the tab open for 30 minutes and watch the level slope and observed %/hour line to spot abnormal drain.

Plug in the charger

A green tick marks the moment the charger is connected; the state badge flips to Charging and the projection switches to time to full.

Compare with the OS

Read the observed projection next to the OS-reported time; export the session as CSV to reproduce the comparison later.

Common mistakes

Mistake:How is time-to-empty or time-to-full projected?

Fix:The monitor fits a least-squares slope across samples collected in the current charging or discharging state and displays it alongside the operating system's own estimate. Flat or short sessions are marked low confidence.

Mistake:What happens if my laptop sleeps or I plug in a charger?

Fix:Charger state changes add event markers on the timeline and reset the slope window for the new state, while long sampling gaps from system sleep are flagged explicitly.

Frequently asked questions

Which browsers support the Battery Status API?

Chromium-based browsers (Chrome, Edge, Brave, Opera) expose navigator.getBattery(). Firefox, Safari, and all iOS browsers intentionally omit the API for privacy reasons and display a capability notice instead.

How is time-to-empty or time-to-full projected?

The monitor fits a least-squares slope across samples collected in the current charging or discharging state and displays it alongside the operating system's own estimate. Flat or short sessions are marked low confidence.

What happens if my laptop sleeps or I plug in a charger?

Charger state changes add event markers on the timeline and reset the slope window for the new state, while long sampling gaps from system sleep are flagged explicitly.

Is battery telemetry shared anywhere?

No. Readings remain inside your local browser session and can optionally be exported as CSV to your own device.