Seemingly random booting when charging

Since executing this procedure in order to recover from a failed firmware update, my Pocket sometimes boots on its own when power is connect or disconnected and sometimes also just while charging.

This morning I unplugged from the charger that I had it on over night, put it in my bag and when I arrived at uni, the device was running hot and the battery was down to 65% because it had booted after unplugging which I didn’t notice.

Now I have to check all the time if the device is actually off which is quite cumbersome.

Also, sometimes when shuttting down, the device just reboots instead. Not sure if this is related too.