Free & Open Source

Is your MacBook
battery real?

Battery Guardian is a forensic tool for macOS that detects counterfeit, reprogrammed, and spoofed MacBook batteries — instantly — no waiting.

⬇ Download for Mac View on GitHub →

macOS 10.14 Mojave or later · No installation required · MIT License

Battery Guardian v1.3
🔋 Battery Guardian
v1.3 — MacBook Pro (M2 Pro) · SN: C02XK1J...
Export Logs
Read Guide
About
⚡ Automate Daily Scans
Run silently in the background
Days:
7
Time:
08:00 PM
Enable
85
Health Score
✓ GENUINE
Cycles
342
Health
91%
Entropy
47 mAh
Write Ratio
13.8
Battery Made
2022-08-24
Temp
31°C
Physics Check: Passed
Cells show healthy natural variance (47 mAh). Values independently refined by TI Impedance Track™.
Clock Integrity: Verified
TemperatureSamples and TotalOperatingTime agree within 0.9% — ~342 days of confirmed operation.
Calibration Timeline: Consistent
Last calibration at cycle 126, current cycle 342. Timeline is physically valid.

Counterfeit batteries
are everywhere

Aftermarket MacBook batteries often contain reprogrammed Texas Instruments gas gauge chips that lie about health, cycle count, and age. Your Mac has no way to know.

🔄
Reset Cycle Counters
Used batteries get chip-wiped to show zero cycles. A three-year-old battery looks brand new in System Settings.
📊
Fake 100% Health
Cell capacity values are hard-coded to match the design specification — perfect health, forever, regardless of reality.
🕐
Frozen Clocks
The internal operating time counter is zeroed or frozen so there's no trace of how long the battery has actually been in use.
🧠
Impossible Calibrations
Spoofers reset cycle counters after calibration runs. The chip's internal records then show a calibration happening in the future — a mathematical impossibility on genuine hardware.

Eight ways to catch
a fake battery

Battery Guardian reads raw data directly from the TI SBS gas gauge chip and runs eight independent forensic checks grounded in chip physics.

🧬
Zero Entropy Test

Real lithium cells always have slightly different capacities due to manufacturing variation. If every cell reports identical Qmax values, the data is hard-coded.

Catches hard-coded capacity
🕒
Clock Integrity

Two independent chip timers (TemperatureSamples and TotalOperatingTime) measure elapsed time through completely separate mechanisms. A discrepancy ≥20% means one counter was reset to hide the battery's real age.

Catches hidden age
📅
Calibration Paradox

The chip records which cycle its last calibration ran on. If that cycle number exceeds the current cycle count, a calibration happened in the future — physically impossible without tampering.

Catches cycle counter resets
🔌
Chip Origin

A genuine 3-cell MacBook pack can never drop below 9,000mV (3,000mV × 3 cells). A lower lifetime peak voltage means the chip originally lived inside a 2-cell phone or tablet battery.

Catches transplanted chips
⏸️
Frozen Clock

TotalOperatingTime must increment continuously on any powered-on Mac. If this counter hasn't changed in 30+ hours between two scans, the firmware timer is disabled or spoofed.

Catches frozen firmware
🔧
Lazy Cloning

The most common firmware hack: setting Qmax[0] equal to the design capacity exactly. No genuine battery ever holds factory-spec capacity after more than a few cycles.

Catches lazy firmware hacks
📐
DOD0 Calibration

Depth of Discharge at zero equals Design Capacity. This combination is impossible in genuine Texas Instruments firmware and flags deliberate tampering.

Catches calibration tampering
🔬
Internal Resistance

As real batteries age, chemical capacity (Qmax) diverges from usable capacity (FCC) due to impedance. Zero divergence at high cycle counts is physically impossible.

Catches missing impedance aging

Verdict in Seconds

No installation, no account, no data leaves your Mac.

01
📂
Open the app

Double-click to launch. Battery Guardian runs a local web server and opens in a native window. Nothing is installed system-wide.

02
🔍
Scan runs automatically

The moment Battery Guardian opens, it reads your chip data via ioreg and runs all 8 forensic checks instantly. No buttons, no waiting.

03
🏁
Get your verdict

Receive a GENUINE, SUSPICIOUS, or SPOOFED verdict with a detailed breakdown of every check and a 0–100 health score.

Built on real chip data

8
Forensic checks
~1s
Scan duration
0
Data sent anywhere
100
Point health score

Free. Forever.

🔋
Battery Guardian

A single file. No installer. Unzip and double-click to run.
Works on any MacBook with macOS 10.14 Mojave or later.

⬇ Download Latest Release
✓ macOS 10.14+ ✓ Apple Silicon & Intel ✓ MIT License ✓ No tracking

How to Install

1
Download & Unzip
Click download above. macOS will automatically unzip the file.
2
Right-click → Open
Since Battery Guardian is free and open-source, macOS will ask you to confirm on first launch. Simply right-click the app and select "Open".
Scan your battery
That's it! Battery Guardian will launch instantly. No account, no setup, no internet required.