Fleet logo
Menu An icon indicating that interacting with this button will open the navigation menu.
Fleet logo An 'X' icon indicating that this can be interacted with to close the navigation menu.
Multi platform
Device management   (+ MDM) Orchestration   (+ monitoring) Software management   (+ CVEs) Integrations

Docs
Stories
News Ask around Meetups Share your story COMPANY
The handbook Testimonials

Pricing Schedule a demo
Multi platform
Device management + MDM Orchestration + monitoring Software management + CVEs, usage, app library Integrations
Docs
Stories
News Ask around Meetups Schedule a demo Share your story COMPANY The handbook Testimonials
Pricing Try it yourself
{{categoryFriendlyName}}/
{{thisPage.meta.articleTitle}}
search

Battery health

{{articleSubtitle}}

| The author's GitHub profile picture

Tim Lee

Share this article on Hacker News Share this article on LinkedIn Share this article on Twitter

On this page

{{topic.title}}
Docs Docs REST API REST API Guides Guides Talk to an engineer Talk to an engineer
Suggest an editSuggest an edit

Try it out

See what Fleet can do

Start now
macOS Windows Linux

Battery health

{{articleSubtitle}}

| The author's GitHub profile picture

Tim Lee

Battery health

Battery health

Introduction

In today's mobile-driven workplace, the health of a device's battery plays a crucial role in maintaining productivity and reliability. Fleet utilizes osquery to monitor device metrics, providing comprehensive insights into battery health and helping IT teams keep their fleets running smoothly.

Prerequisites

  • osquery v.5.12.0+ on Windows
  • osquery v3.2.7+ on macOS

Step-by-step instructions

Accessing battery health

  • From the Fleet dashboard, select a host to view the host detail page. Locate the battery condition on the details tab on the host detail page.

Battery condition on host detail page.

How battery health is assessed

Fleet gathers data on battery health by focusing on two essential metrics:

  1. Cycle count: This metric indicates how many complete charge cycles a battery has undergone. A full charge cycle is counted when a battery discharges from 100% to 0%, though this can occur over multiple partial discharges.
  2. Battery capacity: This reflects the battery's current maximum capacity compared to its original capacity when new. Battery capacity degrades over time as the chemical components wear out with usage.

What makes a healthy battery?

To ensure a device continues to perform optimally, Fleet defines battery health by considering the following thresholds:

  • Cycle count: The cycle count should be below 1000. Exceeding this count typically means the battery has experienced significant usage and may start to degrade in its ability to hold a charge effectively.
  • Battery capacity: A healthy battery should retain above 80% of its original maximum capacity. Once the capacity falls below this level, the battery's performance and overall lifespan could be negatively impacted.

Battery health will be reported as Normal or Service recommended, following the same standards for both macOS and Windows.

Getting more details on a specific battery

If you need more detailed information about a specific battery, you can run a live query on the device using the following osquery command:


SELECT * FROM battery;

or a command specifying a capacity_degradation column to sort your devices by battery capacity degradation:


SELECT *,
CASE
WHEN designed_capacity = 0 THEN NULL
ELSE CAST(max_capacity AS FLOAT) / CAST(designed_capacity AS FLOAT)
END AS capacity_degradation
FROM battery;

Conclusion

By regularly monitoring battery health with Fleet, IT teams can proactively maintain devices, reducing downtime and extending device lifespans—keeping teams productive and operational. Battery health is vital for the productivity and longevity of devices within a fleet.

For more tips and detailed guides, don’t forget to check out the Fleet documentation.

Fleet logo
Multi platform Device management Orchestration Software management Integrations Pricing
Documentation Support Docs API Release notes Get your license
Company About News Jobs Logos/artwork Why open source?
ISO 27001 coming soon a small checkmarkSOC2 Type 2 Creative Commons Licence CC BY-SA 4.0
© 2025 Fleet Inc. Privacy
Slack logo GitHub logo LinkedIn logo X (Twitter) logo Youtube logo Mastadon logo
Tried Fleet yet?

Get started with Fleet

Start
continue
×