Ipad wont charge its on an on and off loop
Recently my iPad has been unable to charge I am currently running iOS 7.1.2 on the iPad. The battery died and I am currently on 0%, this is after charging it for over week. When I go to charge my iPad it will load the Apple logo and my home screen before turning straight back off and starting all over again, its been on this loop for the past week. I've tried restarting my iPad but it hasn't worked. I have even tried restoring it via iTunes but my iPad will not stay on long enough to do so. Can anyone help I've lost patients with the thing.
iPad 2, iOS 7.1.2