Default slow charging WITH samsung charger?

I've been using the samsung wall charger from the box with my galaxy tab 10.1 and a few days ago it started to only trickle charge when plugged in with it. It charges like 3-5% per hour, and says its "discharging" in the battery menu while its plugged in. Thing is, the charger I have is frayed a bit at the male-to-tab (not male-to-block) side of the cord. Could this be causing my problem? I don't want to buy another charger for no reason, but I also don't want to send in my tab for weeks on end to find out it was the charger...any advice?