S3 battery not work after water damage
Basically, you can't. The charge/protection circuitry in the battery probably got damaged by the water, and you're done now. 

Count yourself lucky that it was only a new battery that you needed and be happy.