How to turn off Xiaomi on schedule: the complete guide

Owners of Xiaomi, Redmi and Poco smartphones often face unexplained device behavior when the gadget suddenly turns off or reboots at a certain time.This phenomenon causes panic as the user may miss an important call or notification. Most often, the cause is not a malfunction of the battery, but an activated function of automatic power management in the shell. MIUI or hyperos.

The Android operating system algorithms, adapted by Xiaomi, allow you to adjust the on and off timers. This option is useful for saving power at night or for automatically restarting the system, but if it is activated accidentally or works incorrectly, it creates serious discomfort. Understanding where these settings are hidden will help you regain full control of the device.

In this article, we will discuss how to find and disable the shutdown function on a schedule, and also consider related problems that can mimic this bug. We will touch on energy saving settings, third-party applications and system logs to exclude all possible causes of unexpected screen cancelling.

Search for automatic on and off settings

The first step to solve the problem is to check the built-in system timers. In the MIUI shell, the path to these settings can vary depending on the firmware version and regional configuration, usually in the section responsible for the battery or special features of the system.

To access the menu, you need to open Settings and use the search bar at the top of the screen. Enter "schedule" or "turn on" to quickly go to the desired item without wandering through the menu. If the search does not yield results, try manually navigating the path of the Battery and performance β†’ Battery β†’ Scheduled on / off.

Sometimes this option is hidden deeper in the special features menu. In older versions of firmware, it could be located in the Additional β†’ Scheduled On/Off section. Make sure that the switch opposite the "Planned Shutdown" item is inactive.

πŸ’‘

If you can’t find an item on the menu, use a global search on your smartphone settings by entering the word β€œoff” – this is the fastest way to get to the desired menu on any version of MIUI.

Once the function is disabled, it is recommended to force the device to reset the cache of the system services responsible for the timers, which ensures that the changes take effect immediately and are not overwritten by system processes during the next sleep cycle.

Analysis of the battery optimization function

Often users confuse a planned shutdown with aggressive power-saving systems. Xiaomi smartphones are known for their strict background management policies, which can result in the disabling of the display or entire applications, which looks like a shutdown.

The Battery and Performance menu has Power Savings or Ultra Savings modes, and when activated, the system limits background activity, reduces brightness, and can turn off communication modules, creating the illusion of an out of order.

⚠️ Warning: Ultra-saving mode can block the alarm clock and incoming calls if the smartphone is in a deep sleep state, which is often perceived by the user as turning off the device.

It’s also worth checking the settings of the particular application you think is causing the shutdown. Go to Apps β†’ Settings β†’ Application Management, select the desired application, and find the Battery item. Set the β€œNo Limits” value so that the system doesn’t interfere with its operation.

πŸ“Š How often does your Xiaomi shut down on its own?
Only at night, the morning after the alarm clock, at random, never turned off.

Pay special attention to the MIUI Optimization option in the developer menu. While disabling it may solve some compatibility issues, it can also disrupt standard power management functions, so only change this option if you have a full backup.

Verification of third-party applications and widgets

If system settings are disabled and the problem persists, third-party applications installed from Google Play or third-party sources may be the cause. Many "memory cleanup" utilities, "antivirus" or "task managers" have their own action planners.

These apps can force you to shut down processes or initiate a smartphone shutdown to "keep your battery healthy." Check out the list of recently installed programs. Pay particular attention to apps with names like "Clean Master," "Battery Saver" or "Task Killer."

To diagnose, run your smartphone in safe mode. This mode only downloads Xiaomi system applications. If in safe mode the phone stopped turning off on a schedule, then it is the fault of third-party software. To enter safe mode, you usually need to press the off button, and then press the "Stop" icon on the screen for a long time.

β˜‘οΈ Diagnostics of third-party software

Done: 0 / 4

Remove suspicious programs and monitor device behavior throughout the day. Often, even one small weather or news widget may contain a script that conflicts with Android system services and causes instability.

Impact of system updates and MIUI bugs

The problem with spontaneous shutdown often occurs after an operating system update. New versions of MIUI or HyperOS may contain errors in the code responsible for power management, especially on older device models.

If the problem appears immediately after the update, it is worth checking the user forums of your model. It may be a known bug, and the developers have already released a patch or have given recommendations for its elimination. Dalvik/ART Cache via Recovery Menu.

However, if the bug is critical, the only solution may be to completely reset to factory settings.Be sure to save all the important data to the cloud service or computer before that, the reset will delete all user data and return the system files to their original state.

⚠️ WARNING: Performing a full reset (Wipe Data) will delete all photos, contacts and apps. Make sure you have an up-to-date backup before starting the procedure.

In some cases, waiting for the next update is helpful. Xiaomi regularly releases security and stability patches that fix such bugs. Don't rush to reflash the device manually if you don't have enough experience.

Diagnostics of hardware problems

If the phone is not turned off on a schedule but is chaotic, or at a certain level of charge (for example, 20-30%), the problem can be in the battery.

It's also worth checking the power button. If it's locked or has poor contact, the phone may perceive it as a long press and shut down. Try gently pressing the button several times to check its progress.

You can use an engineering menu to check the battery status ##6485## Find the parameter in the phone app. MB_06 (Health status, which should show "Good." If it says "Bad" or "Poor," it's time to change the battery.

ParameterNormal value.Critical significanceDescription
MB_06GoodBad / PoorGeneral health of the battery
MB_00Current percentageAbrupt jumpsCurrent charge level
MB_01Stable voltageLow voltageCurrent battery voltage
MF_02High.Low.Residual receptacle(s)

If the diagnosis shows problems with iron, software methods will not help, in which case you need to contact an authorized service center for a battery replacement or a motherboard diagnosis.

Resetting and extreme measures

If none of the above methods worked, the radical but effective way is to completely reset the settings, which will return the smartphone to factory status by removing all user data and settings that could have caused the conflict.

Before starting the procedure, make sure the device is at least 60% charged. Connect the smartphone to the charger to eliminate the risk of turning off during the reset process, which could damage the bootloader.

Go to Settings β†’ About Phone β†’ Settings Reset β†’ Erase all data. Once the process is complete, the phone will reboot as new. Set it up again, but don’t install third-party apps just yet to check if the problem has gone away.

What if the reset didn't help?
If, even after a complete reset and without installing third-party apps, the phone continues to shut down, the probability of hardware failure is 95%.

Data recovery from backup is best done selectively, installing applications one at a time, which will help to identify which file or program caused the system to malfunction before the reset.

Frequently Asked Questions (FAQ)

Why does my Xiaomi shut down at 3 a.m.?
You're probably activated with Planned Shutdown or Scheduled Reboot, check the settings in Battery and Performance, or search by settings, and it could be a third-party optimizer application.
Can a virus turn off your phone on a schedule?
In theory, yes, malware can have access to system features. However, on Android, this is less common than intrusive advertising. Scan the device with Xiaomi’s built-in Security antivirus or install a reliable antivirus from a well-known vendor.
The phone turns off at 40% charge, is that normal?
No, this is not normal. This behavior indicates battery wear (cell degradation) or the need to calibrate the battery. Try discharging the phone to zero before turning it off, then charging to 100% when it's off.
How to turn off the alarm clock on Xiaomi?
If "alarm clock off" means your phone is silent in the morning, check the settings for the Clock app. Make sure you're allowed to auto-start and run in the background. Also check if the schedule is "Do Not Disturb" or "Silent Mode."

πŸ’‘

In most cases, the problem is solved by simply turning off the timer in the battery settings or removing the conflicting cleaner application.