broken laptop battery

I had a similar situation to the extent that the swelling cracked the case.
It all worked, but a replacement battery fixed all.

It is not hard to fix.
I had a swelled battery almost kill my Fuji X-T1 camera. No inexpensive.

Nice 3rd party battery, great reviews.
Had been using it for a year.
Went to swap it out....wouldn't quite slide in.
The space is quite tight, no deviations.

This 3rd party battery had swelled a little bit. Maybe a millimeter.
But if it had been in the camera as it swelled...that might haven meant a trip to Fuji to get it out.