Setup automatic shutdown on Xiaomi: step-by-step instructions

The modern rhythm of life often requires us to maximize productivity, but sometimes the smartphone becomes a source of unnecessary noise and light, preventing a good rest. Xiaomi users often wonder how to make the device go to sleep on its own or reboot at a given time. This is especially true for those who forget to turn off the gadget before bedtime or want to save battery power at night.

The power scheduler function is not just a way to turn off the screen, it's a full-fledged lifecycle management tool for a smartphone, it allows you to reboot the system to clean RAM, turn off sound at uncomfortable times or simply saves battery life. In the shells of MIUI and the new HyperOS, this mechanism is implemented quite flexibly, although it has its hidden nuances.

In this article, we’ll look at all the ways you can automate your shutdown process, how a full-time scheduler differs from third-party solutions, how to get around system constraints, and what to do if the standard menu doesn’t work as you’d expect. It’s important to understand that on some global firmware versions, the path to settings may be slightly different from the Chinese versions.

Why you need to automatically turn off the smartphone

Many Android owners underestimate the benefits of regular reboots. While operating, the operating system accumulates temporary files, app cache and system errors that can slow down the interface. Auto-shutting and then turning on on schedule is an effective way to shake up the device without you.

And then there's the health and discipline aspect: blue screen light and notifications often interfere with melatonin production, disrupting the deep sleep phases. By setting a shutdown timer, you physically eliminate the ability to browse through social media in the late night, which helps digital hygiene and improves rest.

Another reason is resource savings: If you don't use your phone at certain hours (like during lectures, movies, or nighttime sleep), shutting it down completely saves the battery better than any power saving mode, and it also reduces the strain on radios that are constantly searching for the network.

⚠️ Warning: Do not set up automatic shutdowns while you are waiting for an important call or message. Make sure that the selected time interval does not override your availability hours.

And it's worth mentioning that battery life extensions, and while today's lithium polymer batteries are quite stable, regular cycles of total cooling and no load have a beneficial effect on the chemistry of the process, and the planner lets you set these rest cycles for your device.

📊 How often do you reboot your smartphone?
Once a week.
Only when he's hanging.
Never turn it off.
Every day.

Where to find a power planner in MIUI and HyperOS

Finding the right setup can be a quest, especially given that Xiaomi engineers are constantly changing the structure of the menu in different versions of the firmware. In most current shells, the path lies through the basic settings of the system. You need to open the Settings app and find the section related to power or battery.

Often users search for this feature in the Battery section, but newer versions of MIUI 14 and HyperOS have changed the logic. Power management is now often put into a separate menu or hidden inside system settings. The standard search algorithm is as follows: go to Settings → Additional settings → Date and time or Settings → Battery → Power Planner.

If you can't see these, try using an internal settings search. Click on the magnifying glass at the top of the settings screen and type in "Planner" or "Switch off," and the system will redirect you to the desired section, no matter where it's hidden in your version of the software.

💡

Use a Settings Search (a magnifier at the top) by typing the words “Planner” or “Switch Off” – this is the quickest way to find a feature in the confusing MIUI menu.

In some regions and on some models (especially global versions), the function may be limited, due to local ecosystem requirements or Google Mobile Services certification features, in which case the standard menu may not contain the necessary switches.

Step-by-step instructions for setting up a timer

Once you've reached the menu, you'll see a scheduling interface, and it's important not just to turn on the switchboard, but to set the right settings to make sure the device behaves predictably. The interface usually suggests choosing the days of the week and the specific time.

To start, activate the function by turning the main switch to "On." Then click "Replay" to select days. You can configure different scenarios, such as turning off the phone only on weekdays or, conversely, only on weekends when the mode of the day is different.

☑️ Scheduling

Done: 0 / 1

Then set the shutdown time. Be careful: if you put 23:00, the phone will go out at exactly that time, you also need to set the turn-on time if you want the phone to wake up in the morning, and make sure that the interval between turn-off and turn-on is sufficient for you to rest or complete your planned tasks.

Make sure to check if the confirmation check box is worth checking. Some versions of MIUI have a "Confirm before Shutdown" option. If it's active, the phone will wait 60 seconds for your consent before it goes out. For full automation, it's best to turn it off.

Once you have set all the settings, be sure to click OK or Save at the bottom of the screen. Without this step, all changes will remain in the buffer only and will not take effect. The system can request confirmation of administrator rights or access to system settings.

Differences in the interface on different versions of Android

Xiaomi’s shell is heavily dependent on the version of the underlying Android operating system. On older devices running Android 9 or 10, the scheduler menu is often in the Battery and Performance section, where you could customize the energy saving profile in detail and tie a shutdown to it.

On newer versions, such as Android 12 and 13 with MIUI 13/14, the interface has become more minimalist, with features moved to the Special Features or Digital Well-being section, part of Google’s overall screen time management strategy, where turning off the phone is seen as part of the Do Not Disturb mode.

MIUI/HyperOS versionLocation of functionFeatures of settings
MIUI 11 - 12Settings → BatteryAdvanced planner with profiles
MIUI 13 - 14Settings → Additional settingsSimplified interface, only time
HyperOS 1.0Settings → System (or Search)Integration with a smart alarm clock
Android GoAbsent normally.Third-party software required

Owners of HyperOS shell devices should pay attention to the new widget system, and in some cases, the quick access to the scheduler can be brought to the desktop, which makes it easier to manage the schedule on the fly.

If you have a Chinese version of a smartphone (CN Version), the menu may be entirely in Chinese, in which case you should focus on icons: the battery symbol for the power section and the watch symbol for the time section. The path in Chinese firmware is often shorter and straighter.

Alternative methods: alarm clock and modes

A regular scheduler isn't the only way to control the device's turn on. There's a Power-on alarm that allows the phone to turn on itself at a given time, even if it's been completely off. This is useful if you're afraid of sleeping.

To activate this feature, you need to go to the Watch app, open the alarm settings, and find the "Switch on the alarm clock" option. Importantly, this function only works if the phone was turned off programmatically, not because of battery discharge.

⚠️ Warning: The alarm function may not work if the phone battery is completely discharged to 0.

You can also use Do Not Disturb mode in conjunction with automation, and although the phone won't technically turn off, it won't make sounds or shine with the screen, and this is achieved through the Sleep mode settings in the Digital Well-being app.

Another method is to use automation scenarios, where you can create a scenario in the Security app or through third-party utilities, "If it's 23:00, turn on flight mode," which doesn't turn off the phone completely, but it turns off all communication modules, which is often the end goal of the user.

Secret code for verification
Enter the code ##6484## in the phone app to get to the engineering menu, where you can check the status of all sensors and buttons, including the power button, but be careful when changing the settings in this menu.

What to do if the auto shutdown does not work

It's not uncommon for a configured timer to be ignored by the system, most often it's access rights or conflicts with other applications. If the phone doesn't turn off at a given time, the first thing you do is check if there's some kind of heavy process or update going on.

Android has protection against the forced termination of important system processes. If you are recording data, calling or navigation at the time of the shutdown, the system can delay the shutdown. Make sure that all applications are closed and background activity is minimal.

Check the power saving settings, too. Aggressive charge saving modes sometimes block system timers, thinking they're a waste of CPU life, and try switching power to Balanced or Performance for the night.

If nothing works, the scheduler service may have crashed, so clearing the system application cache or resetting the date and time settings can help. Go to Settings → Date and time and click Reset.

💡

If the full-time scheduler fails, the problem is often solved by updating the system application “Security” or “Xiaomi Services” through the GetApps store.

Third-party applications for automation

When Xiaomi's built-in capabilities aren't enough, Google Play apps come to the rescue, allowing you to create complex scripts that aren't available in standard firmware, and one of the most popular solutions is the MacroDroid or Tasker app.

With these programs, you can set the phone to turn off not just by time, but by geolocation (like when you come home) or when you connect to Wi-Fi, and this creates a truly smart ecosystem that responds to your actions.

  • 📱 MacroDroid is the perfect choice for beginners, has a simple interface with ready-made “If-To” action templates".
  • ⚙️ Tasker is a powerful tool for advanced users, allowing you to program the behavior of the phone at the code level.
  • 🔋 Power Schedule – a specialized application specifically for planning shutdown and turn on, simple and easy.

However, it is worth remembering that third-party applications require additional permissions, such as permissions to manage the system, access to the status of the phone, and sometimes device administrator rights, which can carry potential data security risks if the application is unscrupulous.

In addition, aggressive battery optimization in MIUI can kill third-party application processes, preventing them from working at the right time. You will have to manually add such an application to the battery exceptions and allow auto-start so that the timer is guaranteed to work.

⚠️ Warning: When installing third-party power management apps, read reviews carefully and check with the developer. Administrator-enabled programs have full access to your device.

Frequently Asked Questions (FAQ)

Does regular auto-switching off affect the wear of the power button?
No, it doesn't. Scheduled shutdown is a software command that is fed directly to the motherboard's power controller. The mechanical button is not involved, so it's not consumed. You can use this feature on a daily basis.
Will the phone wake up if the battery goes down during the shutdown?
No. If the phone is off on a timer and then completely discharged, it won't be able to turn on on itself even if the time is set for it to turn on. Auto-on requires a minimum battery charge to work. Always charge the phone before bed if you expect to turn on in the morning.
Can I set different off times for weekdays and weekends?
In a standard Xiaomi scheduler, you can usually create only one active schedule profile. To have different schedules, you will either have to manually switch days in settings, or use third-party automation applications that allow you to create complex profiles with different conditions for different days of the week.
Will there be notifications if the phone is turned off on schedule?
No. When the phone is off, it doesn't get signals from the cellular network or Wi-Fi. Messenger messages and calls will only come after the phone turns on and re-registers on the network. SMS can come with a delay, but not when it's off.
Why does the phone turn on without me?
This can happen if the scheduler settings didn't set a shutdown time, but only an on time, or if it ticks "Repeat." Also, some system updates or backups may initiate an onset. Check if the "Alarm Turn on" or sync function is activated at a predetermined time.