It sounds like the issue is the battery not accepting charge normally, did the ipad have short battery life or drain unusually fast before this happened? You may be able to replace the battery and it would go back to working normally. That being said if it was having issues before it “died” that might be a factor as well, so make sure you consider if anything else was also an issue before you decide to replace. Best of luck, you can do this!