It died while on the charger, charging? I plugged it back up and cut it back on. The battery at the top of my screen said it was charging. It immediately cut back off. What's wrong with it? And, can it be fixed?

The charger I am currently using is quite odd.. Like, it is a wall charger. But, when i plug it up, it's like I plugged it up to my computer. The same options come up, even though i'm plugging it into the wall. I don't know if that has anything to do with it or not.