The ability to automatically turn off Xiaomi smartphone by timer is a useful feature that helps save battery power, limit the time of use of the device before bedtime or just remember to turn off the phone at the right time. Despite the fact that MIUI does not have a separate item βSwitch offβ in the main menu, you can implement this option in several ways β both standard tools and third-party applications.
The feature of Xiaomi, Redmi and Poco smartphones is that the manufacturer regularly updates the firmware, changing the location of some functions. Therefore, the instructions for MIUI 12 may not be suitable for MIUI 14 or HyperOS. In this article, we will look at current methods for 2026, which work on most models β from the budget Redmi Note 12 to the flagship Xiaomi 14 Ultra.
Method 1: Using a full-time task scheduler in MIUI
The most reliable method is to use the built-in Planner tool, which has been in MIUI firmware since version 10, which allows you not only to turn off the device, but also to run applications, turn on/off Wi-Fi or mobile data on a schedule, the main advantage is that you do not need to install third-party programs.
To set up auto-disconnection through the scheduler:
- Open the Settings app (cog icon).
- Go to the section Additional β Planner (on some versions the path can be System and Device β Additional β Planner).
- Click Add Task and select the Shutdown type.
- Specify the time of operation and days of the week (daily, on weekdays, etc.).
- Save the task and activate the slider Enable the scheduler.
Important: Some models (like the Poco X5 Pro) may call the scheduler Automation or Smart Features. If you don't find a section, search by settings (the magnifying glass icon in the upper right corner).
Update MIUI to the latest version
Make sure the battery is at least 20% charged.
Turn off the power saving mode for the Settings app
Check that the system time is synchronized with the network-->
β οΈ Warning: If the scheduler does not work after setting up, check if it is disabled in Settings. β Annexes β Autostart control: Some battery optimizers (e.g., Security) may block background operation of system services.
Method 2: Auto-disconnect via Do Not Disturb mode
A less obvious, but working, method is to use a time-based Do Not Disturb (DND) function, which is suitable if you need to not only turn off your phone, but also block notifications in advance, such as setting up a shutdown at 22:00 and a shutdown at 23:00.
Instructions:
- π± Open the Settings. β Sound and vibration β Don't disturb.
- π Select Schedule and set the time interval (for example, from 22:00 to 7:00).
- βοΈ In additional settings, activate the option to turn off the device after the time has expired (if available in your version). MIUI).
- π If there is no shutdown option, create a separate task in the scheduler (see Method 1) at 23:00.
The advantage of this method is that you can combine auto-disconnect with other activities: turning off mobile data, turning the phone into airplane mode or activating night lights. For example, on Xiaomi 13T you can set the chain: 22:00 - Do not disturb mode, 23:30 - turn off.
π‘
If your MIUI version does not have the option to turn off in DND mode, use the MacroDroid app (free version) to create a macro: "If time = 23:00 β Turn off the device."
Method 3: Auto-disable applications (for advanced users)
If Xiaomi's regular tools don't suit you, you can use third-party utilities that offer more flexibility, such as turning off battery power, geolocation, or after charging is complete.-3 tested applications:
| Annex | Functions | Does it require ROOT? | Link (Google Play) |
|---|---|---|---|
| Shutdown Timer | Countdown timer, schedule shutdown, widget | β No. | Download |
| Power Off | Time/charge switching off, Tasker support | β No. | Download |
| MacroDroid | Creating macros with triggers (time, charge, Wi-Fi connection) | β No (but there are extended functions with the ROOT) | Download |
To install any applications from this list:
- Download APK or install from Google Play.
- Grant permissions for Special Access (in the security settings).
- Set the timer or macro according to the instructions in the application.
- Add the app to the AutoRun list and No battery restrictions.
β οΈ Note: Auto-disable applications may conflict with Google Play Protection if they request administrator rights.If a malware warning appears after installation, check the hash APK VirusTotal.
Shutdown Timer (simple and free)|Power Off (Tasker-enabled)|MacroDroid (maximum flexibility)|I won't use third-party apps-->
Method 4: Auto-Disconnection via ADB (for technical users)
If you're familiar with Android Debug Bridge (ADB), you can configure to turn off your phone via the command line, which is suitable for devices with an unlocked bootloader or for automation on multiple smartphones (for example, in the office), the advantage is that you don't need ROOT, but you need minimal knowledge of how to work with the console.
Step-by-step:
- Activate Developer Mode: Go to Settings β About Phone and click on MIUI Version 7 times.
- Return to Settings β Additional β For developers and enable USB debugging.
- Connect your phone to your PC, install ADB Tools, and execute the command: adb devices (you should display your device).
- Turning off the phone through 30 Please enter adb shell am broadcast -a android.intent.action.ACTION_SHUTDOWN --ez delay 1800 (where 1800 β time-in-second).
The only way to set up auto-disconnection on schedule through ADB is to create a script on a PC that will send a command at the right time (for example, through the Windows task scheduler), which is relevant for administrators who manage the device fleet.
Example of a bat script for auto-disconnection on a schedule
Method 5: Auto-disconnect via Bixby/Routine (for hybrid solutions)
If your Xiaomi supports Google Assistant or Mi AI, you can set up an automation routine that will turn off your phone by voice command or time, which is suitable for devices with MIUI 13+ and Google Assistant installed.
How to set up:
- π€ Open Google Assistant and go to the Roots.
- π°οΈ Create a new routine with a time trigger.
- π± In actions, select Device Management β Turn it off.
- β Keep and activate routine.
Limitation: Not all Xiaomi models handle the shutdown command correctly through the Assistant. If the feature doesn't work, try the alternative - create a routine that opens the shutdown menu (Open Power Panel command) and then the phone will manually shut down after a timeout.
Comparison of methods: which way to choose?
To determine the best option, we evaluate each method according to the key criteria:
| Criteria | MIUI Planner | Do not disturb mode. | Party of annex | ADB | Google Routine |
|---|---|---|---|---|---|
| Reliability | βββββ | βββ | ββββ | ββββ | ββ |
| Flexibility of settings | ββ | ββ | βββββ | ββββ | βββ |
| Does it require ROOT? | β No. | β No. | β No (except for extended functions) | β No. | β No. |
| Suitable for beginners | β Yes. | β Yes. | β οΈ Partially. | β No. | β Yes. |
Selection recommendations:
- π For most users, the planner MIUI (simple and secure).
- π§ For geeks β ADB MacroDroid (maximum control).
- π For sleep mode - the combination "Do not disturb" + Planner.
- π€ For automation, Google Routine (if supported).
π‘
If you need to turn off your phone at one time every day, use a regular scheduler. If you need flexibility (such as turning off when youβre low charge or connecting to Wi-Fi), install MacroDroid.
Frequent problems and their solutions
Even after you set it up properly, auto-disconnection may not work, and let's look at the typical causes and ways to fix them:
- β‘ Phone does not turn off at the appointed time: Check if the scheduler is disabled in Settings β Annexes β Autostart control. Make sure the device is not in Power Saving mode (it can block background tasks).Reboot the phone - sometimes resetting time errors helps MIUI.
- π Auto-disconnect works, but the phone immediately turns on: Turn off Auto-Reboot in the developer settings. Check if the phone is connected to charging (some models turn on when the power is connected).
- π± Auto-Switching App Not Working: Add It to Battery Optimization Exceptions (Settings) β Battery β Battery optimization: Provide all requested permits, including Special Access.
β οΈ Note: On devices with HyperOS (new firmware from Xiaomi), the layout of the scheduler may differ. If you do not find a section, update the firmware to the latest version or search for settings with the keyword βplanner".