My Galaxy mini having trouble with charging
The battery may be ok.

I had this problem and fixed it.

1) Plug the phone into a charger.

2) The pins get loose, so press the battery towards the pins and press the on button.

3) Once the phone starts to boot up, you can take the pressure off and replace the back onto the phone. 

Whoolahhh!