Nintendo switch wont boot after charging

I have a switch that is having a bit of a strange problem. The switch will work fine until it is lef charging for an extended period of time. After being left on the charger for an hour or so it will show no signs of life. Once I unplug the battery and plug it back in, it works again with no issues until I leave it charging again. I replaced the battery which did not fix the issue. Any ideas on what could be causing this. Its a hard issue to look up information on because google ends up feeding me switch wont turn on pages which isnt exactly my issue.