Chosen Solution

So I recently recived this ipad air 2 from my cousins and he told me that the ipad consistently going into a bootloop and it appears that the battery is dead as charging it for hours in either recovery mode,dfu or bootloop cycle the battery won’t powee on the device.Any suggestion on what to do?Should i restore the ipad using itunes?

If you suspect the battery is dead, then it should be replaced. Use a USB Ammeter to determine if the tablet is really drawing current when it says it’s charging.