Pocket reform reboots sometimes when I start charging it

Sometimes when I am using the pocket reform and I start charging it the screen goes blank and it reboots.

It has happened at different battery levels, it has happened when it is low but also above 70%.

Any idea of what could be causing it? Or where I could start looking for the cause?

Thank you.