Recently I noticed my laptop battery swelled large amounts a lot on both top and bottom. It is an internal battery and 2+ years old. I have suspicion that using a power outlet without earthing/grounding is the problem.
The outlet I am using has 3 holes but it is not grounded. The laptop safety manual mentions to not insert it into a non-grounded outlet. This question matches some of the conditions, How to protect laptop if my outlet isn't grounded?.
Earlier I used it with grounding and did not notice any big shape changes to battery but used last 2-3 months used without grounding. Also left it to charge whole night. Could it be the reason why the battery swelled?
One confusing thing is manufacturer diagnostic software shows that battery is in good health. Also on my test even in this condition the battery is somehow able to hold charge for 1-1.5+ hours depending on usage. How?