A laptop battery can swell due to several factors, but the most likely cause is a manufacturing defect.
Exposure to high temperatures
Using cheap charger
Physical damage to your device
How to prevent laptop battery swelling
You can prevent battery swelling by following some precautions. While it is impossible to eliminate the risk of a factory defect.
Lithium-ion batteries do not function well in extreme heat. To prolong their life, store your laptop in a cool, dry place when you are not using it.
To protect your investment in a high-quality laptop and battery, purchase only a genuine manufacturer’s charger or replacement unit. You’ll save money in the long run.
It would be best to replace your battery with a new one when it doesn’t hold a solid charge. Analyze the cause of the battery’s failure before replacing it.
You don’t need to plug in your laptop for charging continuously. It’s not suitable for the battery; it draws in extra heat, and your battery may get swell.
When buying a new battery, please buy it from reputable manufacturers. In general, it is better to buy a replacement from the original manufacturer of the laptop.