Old 3DS XL hardware problem

So i have a bit of a problem: my o3ds xl only works while being plugged in. When i plug it in it says it is at full battery, so it recognizes that the battery is there but completely disregards it. I bought a new battery with the same result. Im not sure if it’s a fuse problem or something else. thanks