How the Battery Replacement Data Is Built
Where the data comes from
Every part number is derived from linuxhw/DMI, a public corpus of dmidecode hardware reports contributed by Linux users, licensed CC-BY-4.0. We pin a specific upstream commit (57b21bc6fd) so results are reproducible. This snapshot was generated on 2026-07-25 and covers 1,229 published models out of 12,711 grouped.
We do not scrape battery manufacturers’ compatibility databases. Where we needed to confirm an individual model’s part number, we read the manufacturer’s own published service manual by hand.
Reading the DMI Portable Battery block
Each dmidecode report includes one Portable Battery block per physical battery slot detected, listing a Location, Manufacturer, Name (the OEM part number), Design Capacity, Design Voltage, and Chemistry. Machines with two slots — a common design on older business laptops — report two blocks, which we key by their Location string (typically “Front” or “Rear”).
Filtering out placeholder and fake batteries
A meaningful share of dmidecode output reports batteries that do not exist: virtual batteries synthesized by firmware (Location: Fake, a “Virtual Battery” manufacturer, a “CRB Battery” name, an impossible “Zinc Air” chemistry), unfilled BIOS template blocks (“Battery 1 Name”), and duplicate blocks describing the same battery twice under two locations. We discard all of these before aggregation. Placeholder names that carry no part number (“Primary”, a bare cell-maker name) still count as evidence a battery exists, but never get published as a part number.
Why we list several part numbers for one slot
Where multiple part numbers show up for the same slot on the same model, that almost always reflects the manufacturer sourcing the same battery from more than one supplier across the production run — not conflicting data. We list every part number we observed, with how often each was seen, rather than picking one arbitrarily — and we still tell you to confirm against the number printed on your existing battery.
When we refuse to answer
We publish a model only when enough independent reports agree on a stable set of part numbers. Where reports contradict each other in a way that looks like genuinely different hardware under one marketing name, we withhold the answer rather than guess. Recommending a battery that cannot fit is the single easiest way to sell someone a part that’s useless, so we would rather tell you nothing than tell you something wrong.
What this data does not know
- Whether your specific unit’s battery has been replaced with a different part since it left the factory.
- Battery health or cycle count — this data describes what part fits, not the condition of any individual battery.
- Coverage is uneven. Reports come from people running Linux, which over-represents business laptops and under-represents consumer lines.
- The upstream corpus is a snapshot. A laptop released after it was captured will not appear.