Hardware Information battery Battery Status API charging

Battery Information

Show battery level and charging state when the browser allows it. Many browsers block this API.

Interactive tool

Run the test

Runs in your browser

Shows battery level and charging state only when the browser allows it. Firefox and Safari usually block this for privacy. Unsupported means the browser will not share battery data — not that your battery is broken. No special permission is required.

Checking battery API…

Permission status

Checked in your browser. DeviceHub does not store permission grants.

  • Special permission Not required

Live results

Metrics update as you run the test. Nothing is uploaded.

Loading

Waiting for interactive tool output…

Device information

Labels and capability details reported by your browser.

No device details yet.

Description

About Battery Information

Introduction

This page reads battery level and charging state only when the browser still allows the Battery Status API. Many browsers removed or restricted it for privacy. If you see “unsupported,” that is expected — not a DeviceHub failure.

What this tool does

When available, it shows charge level, charging yes/no, and time estimates the browser provides. When unavailable, it says so clearly.

When to use it

Use it for a quick browser-visible battery snapshot on Chromium laptops. Prefer the OS battery icon when the API is missing.

How it works

Supported: some Chromium desktop builds. Unsupported or blocked: Firefox and Safari in most cases, and increasingly other engines. Why: battery data can aid tracking, so browsers limited it. Permissions: usually none beyond loading the page. Hardware: a device with a battery (laptops/phones); desktops may report odd or empty values. Expected: either live level/charging rows, or an honest unsupported state.

Step-by-step instructions

  1. Open Battery Information on the device you care about.
  2. Read level and charging if the API responds.
  3. If unsupported, check your OS battery UI instead.

Common problems

Unsupported on Firefox/Safari is normal. Plugged-in desktops may show incomplete data.

Privacy explanation

Readings stay in your browser session. DeviceHub does not upload battery level.

Runtime principles

Built for the browser

What happens when you run this test — without downloads or accounts.

  1. 01

    Runs in your browser

    Battery Information uses standard web APIs — no install, extension, or desktop app required.

  2. 02

    Reads what the browser allows

    Results come from events and capability signals the web platform exposes for this session.

  3. 03

    Private by default

    Input and diagnostic values stay in your browser session for display — nothing is sold as media.

Compatibility

Supported browsers

Expected support for modern engines. Individual APIs may still vary by device.

  • Chrome

    supported

    Latest stable

  • Firefox

    supported

    Latest stable

  • Safari

    supported

    Latest stable

  • Edge

    supported

    Latest stable

Devices

Supported devices

Hardware and form factors this browser test is designed to exercise.

  • Desktop browsers

    Chrome, Firefox, Safari, and Edge on Windows, macOS, Linux.

  • Laptops

    Reports viewport, DPR, and capability signals for the active session.

  • Phones & tablets

    Mobile browsers with responsive viewport and touch hints.

Privacy

Your data stays with you

Battery Information is built privacy-first. Diagnostics run in your browser session whenever web APIs allow.

Read our privacy policy

Troubleshooting

Common problems

Quick fixes before you dig into FAQs.

Battery API unsupported
Many browsers removed or restricted Battery Status. Unsupported is a common platform outcome, try a Chromium build that still exposes it, or use OS battery UI for truth.
Browser showed a prompt historically
Some engines historically prompted for battery access. DeviceHub still types permissions as none (no mic/camera/clipboard category). Explain any prompt in notes without expecting a typed battery permission in our union.
Level stuck or missing on desktop
Desktops without batteries, UPS-only setups, or restricted APIs yield empty or static values. Confirm the device has a battery the OS exposes to the browser.

FAQ

Frequently asked questions

Structured answers for users and FAQ rich results.

Browse FAQs
Why does this say unsupported?
Many browsers block the Battery Status API for privacy. That is a browser choice, not a broken tool.
What can browsers show?
When allowed: charge level, charging state, and rough time estimates.
What can they not show?
Health percentage, cycle count, or exact manufacturer battery data.
Which browsers usually work?
Some Chromium-based browsers on laptops. Firefox and Safari usually do not.
Permissions or hardware?
No special permission. You need a device that reports a battery to the OS.
What should I expect?
Either simple charge/charging rows, or a clear unsupported message.

Newsletter

Updates coming soon

A lightweight email digest for new tools and release notes is planned. No signup form is live yet — check Release Notes for product updates.

Release notes

Need another diagnostic after Battery Information?

Explore related DeviceHub tools that pair well with this test.