Battery firmware lockout
Most devices with rechargeable batteries has a battery management system (BMS) module. This module monitors and regulate key variables and capable of communicating with the device and preventing unsafe usage that could cause failure. However, many of them contains proprietary code that locks the battery from operation, "bricking" it and prevent the battery from third-party repair. Effectively making the whole device that depends on said battery unusable.
How it works[edit | edit source]
When the battery is outside its operating range, such as overcharged, overcharged, overheated, unbalanced(in multi-celled battery packs), the BMS prevents the battery from further usage, limiting damage. However, the BMS should resume normal operation when the battery is back within operating range. Instead, the BMS changes bytes in its memory, leading to a "Permanent Fail (PF)" state, preventing the use of said battery even after recondition or repair.
Documentations from known BMS manufacturers such as Texas Instruments said the device can permanently disable the use of the battery pack in case of a "severe failure"[1]. However users report the battery is "bricked" after scenarios like long-term storage, discharging laptop overnight or use a power tool in warm environment while charging it cool, indicating the manufacturers have abused the BMS program, exaggerating the nature of the failure as a from of self-destructive design.
To make matters worse, many of the BMS needs "access code" to read and change it's parameters, including runtime ones like the "Permanent Fail" flag. The unlock or unseal code is kept secret by the battery's manufacturer, making user and third-parties very difficult, if not impossible, to repair said battery[2].
Alarmingly, the condition of "bricking" includes "Capacity Degradation Permanent Failure"[3], which means the manufacturers can artificially limit the battery pack's lifespan, making it unusable after a certain health (e.g 80%).
Why it is a problem[edit | edit source]
Increased repair cost[edit | edit source]
When the battery is bricked, most users would buy an entire battery pack, increasing the total cost of ownership. The "access code" lock prevents third-parties from replacing individual cells and refurbishing the battery pack, reducing its lifespan.
Environmental impact[edit | edit source]
Lithium-ion batteries are 95% recyclable, however, only about 5% of them are actually recycled[4]. BMS firmware lockout increases the number of battery packs end up in waste, increasing pollution. Some of the materials like cobalt, are hazardous.
Undermining ownership[edit | edit source]
When the purchase is complete. The ownership is transferred to the user of the device. Locking out the battery after purchase is akin to installing a lock on someone else's property, and should be considered "Digital Handcuffs"[5].
Examples[edit | edit source]
Consumer electronics[edit | edit source]

The most common consumer electronics using sophisticated battery management system for their multi-cell battery pack are laptop computers. There are many discussions about the battery "lockout" after replacing or recharging individual cells, indicating battery firmware lockout is the main obstacle of battery repair[6][7].
Commercial UAVs[edit | edit source]
- Main article: DJI
DJI, a well known commercial UAV manufacturer, locks out the battery after long-term storage, claiming over-discharging damages the battery, even if the chemistry is still recoverable. Users who successfully "revives" the battery packs by charging their cells using a bench power supply and clearing the failure code, reports restored functionality[8][9][10][11]. However some users reported "authentication failed"[12] suggesting the possibility of parts serialization[13].
Home appliances[edit | edit source]
Dyson appliances often come with battery packs omitting balancing resistors, leading to higher battery degradation. When the battery cells are unbalanced, repaired or replaced. The BMS chip will lockout. This can be mitigated with added resistors and a custom firmware that doesn't brick the battery upon maintenance[14].
Power tools[edit | edit source]
Power tool manufacturers such as Ryobi and Makita are known to lock battery backs, causing good ones to fail and ended up in repair centers, or worse, landfills[15]. Repair technicians who know how to "unbrick" the BMS are capable of reviving these units with perfect condition, reducing e-waste.
Electric vehicles[edit | edit source]
Tesla cuts the range of some Model S and Model X by up to 20% by an OTA update. Some of the batteries became totally unusable, showing a "BMS_u029" error. Some users are able to reverse the change by flashing an older firmware, other users are forced to replace the entire battery pack, costing over $15,000[16].
Consumer reactions[edit | edit source]
Although some consumers rationalize such behavior of increasing safety or avoiding liability. Many of them condemn such practices and describing it as planned obsolescence.
There are ways of tackling battery firmware lockout:
- Replacing the battery pack: This is the simplest way of "repairing" a "bricked" battery. However doing so is costly, increases e-waste production and further fuels planned obsolescence of said manufacturers.
- Extracting the BMS code: Certain logic analyzers can extract the code from communications to and from the BMS chip. Users or repair technicians can use this way to extract the "unseal" password, then reset the "permanent fail" flag and recalibrate the battery's capacity.
- Buying the unlock password: Some of the battery models' BMS code has been leaked and it's possible to purchase it in the grey market. However the legality of such behavior is in the gray area, there's a risk of scam, some of the passwords can be as expensive as the pack itself, and there's no guarantee of working.
- Resetting the BMS: Some specialized hardware and software can be used to clear the PF flag, reviving the battery without the need of knowing the battery's parameters. Most of the users won't modify the battery pack after repairing[17].
- Install a custom (or OEM) BMS chip: Buying a brand new BMS chip and write own program. The main challenge is the knowledge of the working mechanism of the battery and its BMS. Different battery chemistries have different voltage and current characteristics, using the wrong data may cause incorrect capacity reading at best, or battery/device malfunction at worst.
Lawsuits[edit | edit source]
Four plaintiffs are suing Tesla over an automatic over-the-air (OTA) software update that they say reduced the driving range of their vehicles by 20 percent. Forced updates by Tesla may violate California's Computer Fraud and Abuse Act and the Unfair Competition Law[16].
References[edit | edit source]
- ↑ https://www.ti.com/lit/ug/sluua43a/sluua43a.pdf?
- ↑ "Experiences with TI BQ management IC's when re-building laptop batteries?". EEVblog Electronics Community Forum. 28 Sep 2019. Archived from the original on 26 Sep 2024. Retrieved 13 Sep 2025.
- ↑ https://www.ti.com/lit/ds/symlink/bq40z50.pdf?
- ↑ "Lithium ion battery recycling". 22 Sep 2022.
{{cite web}}
: CS1 maint: url-status (link) - ↑ "Words to Avoid (or Use with Care) Because They Are Loaded or Confusing". GNU Operating System. Archived from the original on 2025-09-09. Retrieved 2025-09-13.
- ↑ "How can I reset the laptop battery BMS?". Stack Exchange. 2022-10-06. Archived from the original on 2025-09-13. Retrieved 2025-09-13.
- ↑ "(i changed every cell in laptop battery then bms locked How to unlock bms of acer e5 laptop battery, total battery in series is 15v but in bms output voltage is 0v i tried to short battery positive to output positive, but still no output, i think bms is locked how to unlock without software help". Reddit. 30 Oct 2023. Archived from the original on 13 Sep 2025. Retrieved 13 Sep 2025.
- ↑ "Reviving dead batteries - a heads up". MavicPilots. 2024-03-21. Archived from the original on 2025-06-18. Retrieved 2025-09-13.
- ↑ "DJI Battery Killer repairing tool". Grey Arrows Drone Club. 2023-08-02. Retrieved 2025-09-13.
{{cite web}}
: CS1 maint: url-status (link) - ↑ McLoughlin, Liam (2023-10-01). "Repairing the DJI Spark Drone Battery with DJI Battery Killer, CP2112, & 9V battery". Leelum. Archived from the original on 2024-12-11. Retrieved 2025-09-13.
- ↑ "DJI Battery Killer: Reviving Bricked DJI Drone Batteries with CP2112 & BMS Reset". elektroda.
{{cite web}}
: CS1 maint: url-status (link) - ↑ "Mavic pro battery authentication failed after clear pf". MavicPilots. 2024-03-23. Retrieved 2025-09-13.
{{cite web}}
: CS1 maint: url-status (link) - ↑ Greenlee, Lauren (2023-01-17). "How Parts Pairing Kills Independent Repair". iFixit. Archived from the original on 2025-08-11. Retrieved 2025-09-13.
- ↑ @tinfever. "(Unofficial) Firmware Upgrade for Dyson V6/V7 Vacuum Battery Management System". GitHub. Archived from the original on 2025-09-12. Retrieved 25 Mar 2025.
- ↑ https://www.youtube.com/watch?v=NQ_lyDyzEHY
- ↑ 16.0 16.1 Crandall, Christine (2023-05-18). "How Tesla's New OTA Software Update Cut EV Range By A Massive 20%, Owners Move To Sue". Hotcars. Archived from the original on 2025-04-13. Retrieved 2025-09-13.
- ↑ "Reset-BQ20xx". Github. 2019-08-15. Archived from the original on 2022-09-23. Retrieved 2025-09-13.