Unlike and Apple (Yes mine is swollen and not under warranty of any kind) device the GPD Pocket 1 is not difficult to open [1] and you could have probably replaced that battery.
Yeah my GPD Pocket 1 battery swelled as well after a year but I was able to pull it out and replace it with a new battery from AliExpress. It's still going strong with the new battery.