Gameshell not working when unplugged

This is an old gameshell and i’ve had plenty of memories on it, but one day, it broke. I charged it and the screen turned on, but when charging the devboard makes squeaking noise, i got worried, dont know what is the problem, is it the devboard or the battery.