I tried leave my phone with factory reset and no apps for overnight. Also, I am in safe mode for the phone.
Actually, with no apps and factory reset, I think it does randomly shut down as well.
However, as I play with power button, sometimes, the screen does not shut down and turned on twice or...