If no work has been done on the device previously, I would start with a new battery.
It sounds like the battery isn't sending good "gas gauge" data (i.e. battery about how much is left in the proverbial tank). That could be a board problem, but more likely the battery is just giving up the ghost and its time for a new one.
EDIT 02.09.2025 - If you suspect this may be a board issue, here's an image of that the area around the battery connector should look like.
There will be a foam sticker over this area typically, so its easy to knock bits loose with a tool since you cant actually see that they're there.
Areas highlighted in red contain components which carry the signal for battery data. If those areas look like they may have been disturbed by a tool, you may need a board technician to correct the issue
crwdns2934105:0crwdne2934105:0
crwdns2934113:0crwdne2934113:0
crwdns2915270:0crwdne2915270:0
crwdns2889612:0crwdne2889612:0
1