You battery might be coming loose, hence the reboot. What I would recommend is CAREFULLY take the battery out, use a tiny screwdriver try to extend the Metal strip out about a mm or two, to make sure the battery would be very secure. That should take care of it.
If not, then your battery might not be able to handle the FoC load required. In that case, I’d try replacing the battery,