If you turn on the schedule power on/off, the phone will be turned on or off within the time period. If the phone runs out of power after scheduled power off, it will not be turned on at the time you set.
Operation path:
realme UI 2.0 & above versions: Settings > System /Additional Settings /Accessibility & convenience > Schedule power on/off
realme R & S & T & Go Edition: Settings > Scheduled power on/off
realme UI U edition: not support