its been happening to my phone ever since the new ota sometimes not even when charging, but basically its like it attempts 3 or 4 times then finally reboots dont think anything can be done about it on your end , im about to root my phone hoping that none of these issues occur