Automatically shutting down Xiaomi's smartphone on a schedule is a useful feature for those who want to limit their time to use the gadget before bed, save battery power or just remember to turn off the device at certain hours. Unlike the standard alarm clock, which only reminds you to turn off the phone, automatic shutdown does it yourself, without your participation. But where to look for this option in MIUI, and why it is not on the menu on some models? Let's look at it in detail.
In this article, you will find current ways to set up auto-onsets for Xiaomi, Redmi and POCO smartphones based on MIUI 12-15, including workarounds for devices where the function is hidden or absent. We will also analyze how this affects the battery, background processes and why the timer sometimes works incorrectly. If you are looking for a way to discipline yourself or optimize the performance of the phone, read on.
Why Xiaomi doesnβt have a standard auto-inclusion feature?
Many users are surprised that MIUI lacks an automatic shutdown option built in, while other brands (such as Samsung or Huawei) do, and the reason lies in the firmware philosophy: Xiaomi developers are betting on flexibility of settings, but some βnicheβ features are considered redundant.
- π Power saving mode β limits background activity but does not turn off the phone.
- β° Alarm clock β reminds you to turn off the device, but does not automatically do so.
- π± Parental Controls β Blocks access to apps but does not cut power.
But there are workarounds. Starting with MIUI 12.5, some regional firmware has now introduced the Auto Shutdown option in Settings β System β Turn-on/off schedule, but even if it's not there, you can use third-party tools or hidden ADB commands. Next, detailed instructions for each case.
β οΈ Note: On custom firmware devices (such as LineageOS or Pixel Experience), standard methods may not work, requiring manual tuning through Tasker or analogues.
Method 1: Built-in function "Schedule on/off" (MIUI 12.5+)
If your smartphone is running MIUI 12.5 or later, check for the built-in option, which is not available on all models, but is more common on flagships (Xiaomi 13 Pro, Redmi K60) and devices for the Chinese market.
- Open Settings β System β Schedule on / off.
- Activate the Automatic Shutdown Switch.
- Set the time and days of the week when the phone should turn off.
- Save settings and restart the device (sometimes required to apply changes).
If there is no on/off schedule, your firmware does not support it, in which case you can move to Method 2 or Method 3.
Check out the MIUI version (Settings β About Phone β MIUI version)
Make sure your phone is at least 30% charged.
Turn off the power saving mode (Settings β Battery)
Close all background applications-->
π‘
If the phone doesnβt turn off after setting up, try turning off battery optimization for system applications in Settings β Applications β Application Management β Three points (menu) β Special Access β Battery Optimization.
Method 2: Use the "Autoin" application (without root)
For devices that don't have built-in functionality, a third-party Auto Power Off app (available on Google Play) will do. It doesn't require root rights, but you need to give it special permissions through ADB to work properly.
- Install Auto Power Off from Google Play.
- Connect your phone to your PC and activate Debugging via USB (Settings β About Phone β MIUI Version β 7 times click on the build number β Return to Settings β Additional β For Developers β Enable Debugging via USB).
- Download ADB Tools on PC and execute the command: adb shell pm grant com.ebs.autopoweroff android.permission.SHUTDOWN
- Open the application, set the shutdown time and save the settings.
The app will work even when the screen is locked, but note that some versions of MIUI may block it from working in the background. To avoid this, add Auto Power Off to the list of Secure Applications (Settings β Applications β Application Management β Auto Power Off β Battery β No restrictions).
| Annex | Need an ADB? | Works on MIUI 14? | Root rights |
|---|---|---|---|
| Auto Power Off | Yeah (one-time) | Yes. | No. |
| Shutdown Timer | No. | Partially. | No. |
| Tasker | For some action | Yes. | Optionally. |
| MacroDroid | No. | Yes. | No. |
β οΈ Note: After the granting of permits through ADB Auto Power Off will access low-level commands, install it only from an official source (Google Play) to avoid malware.
Method 3: Automation via Tasker (for advanced users)
If you're willing to take the time to set up, Tasker is the most flexible solution, and it allows you to create complex automations, including turning off your phone on a schedule.
- Install Tasker and AutoTools plugin.
- Create a new task (Tasks β +) and add System β Power Off action.
- Set up your profile (Profiles β + β Time) by selecting the days and times of shutdown.
- Link the profile to the task created.
Important: On some versions of MIUI, the Power Off command in Tasker requires root rights or a special plugin (e.g. SecureTask) without which the task may not be completed.
Built-in MIUI function
The third party application (Auto Power Off)
Tasker/MacroDroid
Another option-->
Frequent problems and their solutions
Even when set up correctly, automatic shutdowns can be unstable, and here are the typical causes and ways to address them:
- β‘ Phone does not turn off at the appointed time: check if it is blocking MIUI Application operation in the background (Settings) β Annexes β Application management β Autostart. Turn off battery optimization for the timer app.
- π When you turn off the phone, it turns on immediately: This may be related to Fastboot. β Additionally. β For developers β Fast loading.
- β³ Timer is delayed: Background processes are to blame.Try Tasker with High priority.
If the problem persists, check the system event log through Settings β About Phone β Problem Report or Logcat App. Look for records with the keywords shutdown, poweroff or alarm.
Why does MIUI block background processes?
Impact of Auto-Switching on Battery and Performance
Many users fear that turning off the phone frequently automatically could damage the battery, depending on the current state of the battery and the charging mode:
- π Positive effects: Reduces battery wear by reducing battery life; interrupts background processes that can drain the phone at night.
- β οΈ Potential risks: If the phone turns off at a charge level below 20%, it can accelerate the degradation of the lithium-ion battery.Frequent on/off cycles (more than 1 time per day) increase the load on the power controller.
Optimal scenario: set the shutdown for when the phone is not in use (for example, at night), and make sure that before turning off the battery charge is 30-80%.
π‘
Auto-on is only useful for the battery when settings are correct: avoid turning off at a critical charge level (below 15%) and do not use the function more than 1 time per day.
Alternatives: Do Not Disturb and Parental Control
If automatic shutdown is not suitable, consider alternatives:
- π΅ Do Not Disturb Mode: Blocks notifications and calls, but does not turn off the phone.Settings: Settings β Sound and vibration β Don't disturb. β Schedule.
- πΆ Parental controls: Limits the time of use of the device. Pathway: Settings β Annexes β Parental control.
- β³ Sleep timer in Digital Wellbeing: Locks the screen at night, but does not turn off power. Activated in Settings β Digital well-being β Sleep timer.
These methods are less radical, but they help discipline yourself without risking the system, for example, Do Not Disturb mode can be set to activate automatically from 23:00 to 7:00, and all notifications come later.