Try out force restart method.•Force the phone to reboot. Press and hold the Volume down and Power key for 7 to 10 seconds to perform a forced reboot or soft reset. On phones without a dedicated Power key, press and hold the Volume down key and Side k...
It's depends on your phone optimisation settings,your can turn it off from this path |Battery And Device Care>Automation•Turn off Auto optimisation Daily•Turn off Auto restart at set time•Turn on Adaptive Powersaving mode•Turn on Auto scan for malwar...