How to pull actual battery health (cycle counts/max capacity), not just charge %?Solved

Participant
Discussion
1 day ago Apr 29, 2026

Quick question about battery reporting. I’m trying to get ahead of hardware replacements before batteries start swelling or dying on my users mid-shift. 

The standard MDM telemetry usually just shows me the current charge percentage (like 85%), which doesn’t really tell me if the battery is actually dying long-term. Is there a way to use Hexnode to pull the real “State of Health” (SoH)—like the exact cycle count and maximum retainable capacity—for both our Macs and Windows machines? 

Replies (2)

Marked SolutionPending Review
Hexnode Expert
23 hours ago Apr 29, 2026
Marked SolutionPending Review

 Hi @skylar-a, 

This is a fantastic proactive approach. You are absolutely correct that standard charge percentages are too volatile for hardware lifecycle planning. To truly forecast a hardware refresh, you need to look at State of Health (SoH) metrics like Design Capacity vs. Full Charge Capacity, Cycle Counts, and Thermal History. 

Because deep chemical health metrics are often sandboxed by the OS, the best way to extract this in Hexnode is by utilizing the Execute Custom Script action. This allows you to query the system at a forensic level. 

Here are the scripts you can deploy right now: 

For macOS (Bash/Zsh): You can audit Macs using the native IOKit and system_profiler commands. 

For Windows (PowerShell): Windows devices can be queried using powercfg to generate diagnostics, or WMI/CIM for immediate telemetry. 

How to view the data: Once you push these scripts to your targeted devices, the results are piped directly into the Hexnode portal. Just navigate to the Action History tab for the device and click Show Output to view the parsed telemetry. 

Let us know if you need help scheduling these scripts! 

Marked SolutionPending Review
Participant
22 hours ago Apr 29, 2026
Marked SolutionPending Review

Thanks for this @kylian-parker!

Save