Yeah its the battery. I have it plugged in right now and its barely able to charge.
One quick question for you in response to the statement above...was the phone powered ON when you determined the battery wouldn't take a charge? It's quite possible that the battery isn't toast. It may simply need to have one full charge (while powered off) and discharge cycle (to 15%) to re-stabilize the electrochemical reaction inside and bring the battery and charging/monitoring circuitry into sync.
Perhaps it's good for everyone to hear this. Batteries are a strange device. We're talking about a miniture electrochemical science experiment, a powerplant in a can/pouch, etc. If you think about it, it's really what I like to call "controlled chaos". It's really a very nasty environment with acids or alkalines, and for the most part one we wouldn't want to have exposed to us. One problem with batteries is that the reactions taking place inside are at an atomic level, but if not properly cared for can result in reactions not going as expected and damaging the electrolyte, the Anode, the Cathode or any combination of all three, not to mention the container itself whether a can or pouch (as our batteries are). There is a thin range between minimum charge level and maximum charge level (the operating range), and also a limited range of how fast you can take it from one to the other.
What is most notable however is that if the process of charging is not handled properly it can stress the components that make up the battery, and cause it to operate inefficiently, create unnecessary heat (bad for just about anything), produce undesirable byproducts (gas buildup, chemical breakdown, internal shorting, etc.) and ultimately shorten the life of the battery or worse - destroy it's ability to hold a charge. Even worse still is the possibility of a catastrophic failure.
I've said it before, and I'll say it here again. There's no benefit that doesn't come without a cost. If the perceived benefit of using a third party charger is either for convenience (I forgot or lost my charger), or to charge quicker (some may use 2.1 amp iPad chargers to charge faster for instance), the cost can be shorter battery life at the least.
These phone manufacturers play a delicate balancing act between long run times and short life verus shorter run times and longevity. When we "play" with that delicate balance by manipulating the charging system, we will have a direct effect on the balance. It is simple cause and effect. Likewise, the phone has limited range of high and low voltages in which it will operate. Anything too low and it will start to act very strangely (i.e. bootlooping, failure to power up, failure to power down, etc.), and anything too high may not only result in strange performance (force closes, etc.) but also potentially permanent damage to the motherboard or other components.
Play if you must, but be forewarned that you are at the very least technically voiding the warranty, and if the damage that ensues is caused by your playing you really shouldn't receive a free a warranty replacement.