Answer
Yes, when something gains energy, it gains mass.
Work Step by Step
Chemical potential energy is added to the battery during the charging process. This energy has mass, according to $E = mc^{2}$. The change would be far too small to detect, though.