How to set up automatic switch off Xiaomi phone on schedule: 3 working ways

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.

  1. Open Settings β†’ System β†’ Schedule on / off.
  2. Activate the Automatic Shutdown Switch.
  3. Set the time and days of the week when the phone should turn off.
  4. 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.

  1. Install Auto Power Off from Google Play.
  2. 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).
  3. Download ADB Tools on PC and execute the command: adb shell pm grant com.ebs.autopoweroff android.permission.SHUTDOWN
  4. 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).

AnnexNeed an ADB?Works on MIUI 14?Root rights
Auto Power OffYeah (one-time)Yes.No.
Shutdown TimerNo.Partially.No.
TaskerFor some actionYes.Optionally.
MacroDroidNo.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.

  1. Install Tasker and AutoTools plugin.
  2. Create a new task (Tasks β†’ +) and add System β†’ Power Off action.
  3. Set up your profile (Profiles β†’ + β†’ Time) by selecting the days and times of shutdown.
  4. 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?
Xiaomi's firmware aggressively optimizes applications in the background to save battery power, and auto-only utilities, to get around the restrictions, add the app to Protected and turn off battery optimization "MIUI Optimization through ADB-Adb shell settings put global miui_optimization 0 But remember, this can affect the stability of the system.

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.

Can I set up auto-enabled on Xiaomi without third-party apps?
Yes, but only if your firmware supports the built-in On/Off Schedule (available on some devices with MIUI 12.5+). Check Settings β†’ System. If you don't have an option, use Auto Power Off or Tasker.
Why does the phone turn on after auto-enabled?
This is due to the Fastboot feature (fast boot) or scheduled tasks (like an alarm clock).Switch off the Fastboot in the developer settings and check if there are active alarm clocks or updates that can wake the device.
Will auto-only work if the phone is discharged?
No. If the battery level is below 5 to 10 percent, MIUI ignores the shutdown commands to avoid a full discharge, charge the phone to at least 20 percent to make the function work properly.
Can I set different schedules for weekdays and weekends?
Yes, but only through third-party apps like MacroDroid or Tasker. The built-in MIUI feature (if any) usually offers only one schedule for all days.
Does Auto-Inclusion Affect Xiaomi’s Guarantee?
Not unless you use root rights or modify system files, configure through standard menus or ADB-commands (without unlocking the bootloader) do not violate the warranty conditions.