"But putting it on the charger made the phone restart." Mine didn't do this.. I need to do Power +Vol.Down in order to make the phone wakes up from sleep mode, then I have similar symptom like yours where the battery icon still green. What you need to do is perhaps removing battery stat.bin in order to have proper battery reading in the future. I wonder if your phone is rooted tho.