Ipod 5 not charging and usb cable not recognized
Hi guys. So I just got this iPod 5th generation yesterday, and everything else about it works great and I was really happy with it. Then I went to charge it because it hit 20%, and put the charger that came with it into a cube and into the wall and it didn't do anything. So then I tried plugging it into my laptop and the laptop said the usb was "not recognized" and "malfunctioned." So I went to find a spare iPhone 5 charger my brother left at my house and when I plugged it into the wall it worked. Then I saw it restart because it had just finished downloading iOS 8.4, and when it was fully turned back on it wasn't charging. I took it out of the wall and put it into my laptop and it said the same thing as the original charger. I can plug it into either one, and the battery symbol will flash to full for a split second and then not do anything. I spent hours yesterday trouble shooting and came up with nothing. If nobody can help find a solution to make it charge, can someone at least tell me if they know for sure if it's a charger problem or the iPod itself? I feel like it's the iPod itself but I don't have anything to plug the chargers in and check, and like I said, I just got this yesterday! I'm pretty bummed out and just don't know what to do.
iPod touch, iOS 8.4