Ipad 7th Generation not turning on
I was away from home for about 2-2.5 months and during this time period, my ipad (Ipad 7th gen bought on early 2020) was at home unused. Before leaving, i forgot to power it off. As I came back, unsurprisingly it had turned off on itself. I pluged it in for about 1 hour then tried opening it normally (just the power button). It didn't turn on. Then i did the force restart and finally saw the apple logo. Unfortunately it got stuck in a boot loop. It did turn on but while I entered my password, it just turned off and it continued. Next day, I plugged it in a socket and went to college, when I came back(after around 5 hours) it was fully charged and was out of the boot loop. I tried using it but after a while it just turned off on itself and hasnt turned on yet.
Here is a list of things I've already tried:
- Charged it straight for 2 days and tried turning it on
- Normal and Forced restart while charging
- Normal and Forced restart while not charging
- Normal and Forced restart while plugged into a mac using cable (When it was plugged in, the mac did not detect the ipad)
Is there anything more that I can try which may fix it or should I call it a hardware issue and get it repaired?
iPad, iPadOS 17