How to turn off Xiaomi phone on schedule: all ways + hidden MIUI features

You go to bed and forget to turn off your phone β€” and it keeps buzzing with notifications until morning? Or you want to limit your child's time to use it without manual control? The automatic shutdown feature on Xiaomi smartphones solves these problems, but not everyone knows where to look. In this article, we will examine all the available methods, from standard MIUI tools to hidden features and third-party applications.

It's important to understand that not all Xiaomi models support this feature out of the box. For example, in budget devices (Redmi 9A, Poco C31), the option may be missing, while flagships (Xiaomi 13 Ultra, Mix Fold 3) offer advanced settings. We tested all methods on current versions of MIUI 14/15 and highlighted those that work stably. If your phone does not support built-in auto-out, no problem: there are workarounds in the article.

1. Standard auto-shutdown via MIUI settings

The most obvious way is to use the built-in AutoSwitch-off feature in the MIUI menu, which is available on most models starting with the MIUI 12, but the path to it may vary depending on the firmware version.

  1. Open the settings (cog icon on the desktop).
  2. Go to the Special Features section (in some versions – Additional or System and Device).
  3. Choose Auto Shutdown or Sleep Timer (name varies).
  4. Activate the slider and set the time off.

If you don’t have AutoSwitch Off on your menu, try an alternative route:

  • πŸ” Settings β†’ Battery and productivity β†’ Schedule
  • πŸ” Settings β†’ Screen. β†’ Sleep timer (on some Redmi Notes)
  • πŸ” Use the search by settings (laptop of the screen) and enter "Switch off".

πŸ’‘

If the feature is missing, upgrade to the latest version of MIUI. In older builds (up to MIUI 11), auto-turndown is often hidden.

Limitations of the method:

  • ⏰ It works only once a day – you can not set several time points.
  • πŸ”„ After switching off, the phone will not turn on automatically (you need to press the power button).
  • πŸ“΅ It does not work if the device is connected to charging (on some models).

2. Auto-switch off via Do Not Disturb mode

If your firmware doesn’t have a separate auto-switch option, you can emulate it with Do Not Disturb (DND) Mode and automatic screen shutdown, a technique that is suitable for Xiaomi models that lack a built-in sleep timer, such as the Redmi 8 or Poco X3 NFC.

Instructions:

  1. Set Do Not Disturb Mode on a schedule: Go to Settings β†’ Sounds and Vibrations β†’ Do Not Disturb. Select a schedule and set a time (e.g. 23:00 to 7:00). Activate the option to Turn off all sounds.
  • In Settings β†’ Screen β†’ Screen timeout, select the minimum value (15 seconds).
  • In Settings β†’ Battery β†’ Sleep mode turn on Deep Sleep.

πŸ“Œ Check the Android version (some utilities don't work on Android 12)+)

πŸ“Œ Disable battery optimization for the application (Settings) β†’ Annexes β†’ Permits β†’ Optimizing the battery)

πŸ“Œ Provide all permissions requested (especially "Device Administration")

πŸ“Œ Test at short intervals (for example, after 5 minutes)

-->

Attention, auto-switching applications may conflict with MIUI protection, if the timer does not work:

  • πŸ›‘οΈ Add the app to Battery Optimization Exceptions.
  • πŸ”’ Disable Privacy Protection for the utility (in the security settings).
  • πŸ”„ Restart the phone after installation.

4. Auto-switched off through ADB-Teams (for advanced teams)

If you are not afraid of the command line, you can configure auto-switch through ADB (Android Debug Bridge – This method works for all Xiaomi models, but requires a computer connection, and it works even on non-root and older versions. MIUI.

Instructions:

  1. Turn on Developer Mode: Go to Settings β†’ About Phone. 7 times click on the MIUI Version until the notification β€œYou are a developer” appears.

USB debugging

  • Back to Settings β†’ Additionally. β†’ For developers.
  • Turn on the debugging slider over USB.
  • Connect your phone to your PC and execute the command: adb shell am broadcast -a android.intent.action.ACTION_SHUTDOWN To set a specific time, use: adb shell am broadcast -a android.intent.action.ACTION_SHUTDOWN --ez delay 3600 (where 3600 β€” time-off).

Critical detail: once the ADB command is executed, the phone will turn off without further confirmation.

Standard settings of MIUI

Party of annex

ADB-team

Do not disturb mode.

Another option-->

To automate the process, you can create a.bat file on a PC with the right command and run it on schedule through the Windows Task Planner.

@echo off


adb shell am broadcast -a android.intent.action.ACTION_SHUTDOWN --ez delay 7200




exit

This script will turn off the phone 2 hours (7200 seconds) after launch.

5. Hidden MIUI features: Auto-off-event

MIUI has little-known features that allow you to turn off your phone not only by time, but also by events, such as setting up automatic shutdowns when you:

  • πŸ”‹ Connection/disconnection of charging
  • πŸ“Ά Loss of network (transition to "In the plane" mode")
  • πŸ“΄ Achieving a critical battery level

How it works:

  1. Install the Automation app (built into MIUI or download from AppGallery).
  2. Create a new automation: Condition: Battery charge ≀ 5%. Action: Turn off the device.

Save the rule and activate it.

Similarly, you can configure a shutdown when you connect to a specific Wi-Fi network (for example, when the phone connects to a home router at night).

  • Condition: Connected to Wi-Fi [your network name].
  • Action: Turn off the device in 30 minutes.

πŸ’‘

Automation through the built-in Automation app is the most reliable way, as it does not require third-party utilities and works even when optimizing the battery.

6.Switching off for children: parental controls

If you want to limit your child's phone use time, a standard auto-shutdown doesn't work -- it doesn't block the on, and that's where Child-friendly mode or specialty apps like Google Family Link can help.

How to set up through Family Link:

  1. Install Family Link on your phone and your child’s phone.
  2. Create a Google account for your child (if you don’t have one).
  3. In the application settings, select Time Management β†’ Use limit.
  4. Set a schedule (for example, from 21:00 to 7:00 the phone will be locked).
  5. Activate the option to lock the device after the time has elapsed.

The alternative is the mode for children in MIUI:

  • Go to Settings β†’ Special Opportunities β†’ Mode for children.
  • Set up your password and time limits.
  • Select the apps that will be available (for example, only "Calls" and "Clocks").

Attention! A child can bypass the lock by restarting the phone in safe mode or resetting the settings.

⚠️ Block access to Settings and Safe Mode: Set a password for Settings (in some firmware) MIUI There's an option. Turn off Safe Mode through ADB-Adb shell settings put global safe_mode_enabled 0 Hide the notification panel (so that the child can not turn off) Wi-Fi/Mobile data and resetting restrictions).

7. Frequent problems and their solutions

Even after setting it right, the auto-shutdown may not work.-5 causes and ways of eliminating them:

Problem.Reason.Decision
Timer doesn't work.Battery optimization blocks the applicationAdd utility to exceptions (Settings β†’ Applications β†’ Permissions β†’ Battery Optimization)
The phone does not turn off when connected to chargingDefault settings in MIUITurn off the option Do not turn off when charging in auto-off settings
After switching off the phone immediately switches on.Auto-inclusion function is active (on some models)Turn it off in Settings β†’ System β†’ Schedule
The app requires rootAn outdated version of the utilityUpdate the app or use an alternative (e.g. MacroDroid)
ADB-team is not workingNot enabled debugging on USB or no driversCheck the connection (adb devices) and install the Xiaomi drivers

If none of these methods worked, try an alternative approach:

  • πŸ”Œ Use a smart timer outlet (such as Xiaomi Mi Smart Plug) – it will turn off the phone power at a given time.
  • πŸ“± Buy a second. SIM-card with a limited tariff and set up automatic disconnection of the mobile network on the main SIM.
  • ⏳ Set your alarm to turn off (some Xiaomi models support delayed shutdown via the standard Watch app").

FAQ: Answers to Frequent Questions

Can you set up auto-shutdown on Xiaomi without third-party apps?
Yes, but only if your model supports this feature at the firmware level. β†’ Special facilities β†’ Auto-Switch Off Settings β†’ Battery β†’ Schedule Settings β†’ Screen. β†’ If these points are not available, use Do Not Disturb Mode or ADB-team.
Why doesn’t the phone turn off when it’s connected to the charger?
That's a limitation. MIUI β€” By default, the auto-shutdown doesn't work when charging so as not to interrupt the process. To get around it: Turn off the option Do not turn off when charging in the timer settings. Use ADB-The command with forced shutdown: adb shell reboot -p Set up a smart socket that will turn off power at the right time.
How to make the phone turn on automatically after switching off?
MIUI It doesn’t support auto-enabled β€œout of the box”, but there are workarounds: πŸ”„ Use MacroDroid with macro: Condition: Time = 07:00 Action: Enable the device (root required) πŸ“… Set your alarm clock to the time your phone should turn on (some models wake up from the alarm clock). ⚑ Connect your phone to charge - some devices automatically turn on when power is applied. Attention! Auto-on without root is only possible on selected models (for example, Xiaomi Mi). A2 pure Android).
Is it safe to use? ADB-shut-off?
Yes, if you follow instructions. -a android.intent.action.ACTION_SHUTDOWN It's like just sending a signal to the system to turn off -- it's like pressing the power button: ⚠️ Risks in use ADB: A continuous connection to the PC drains the battery. If you interrupt the command (for example, turn off). USB), The phone may freeze. On some models (Redmi Note) 8 Pro) ADB-For safety, test commands at short intervals (e.g., through a 1 minute).
Which Xiaomi models support built-in auto-off?
The function is available on most devices with MIUI 12 And newer, but there are exceptions. Here's a list of proven models: Series Support auto-switch off Xiaomi Notes 11/12/13 βœ… Yes Way: Settings β†’ Special features of Redmi Note 10/11/12 βœ… Yes, in some regional firmware, the option is hidden by Poco F3/4/5 βœ… Yes Activation is required in Settings β†’ Additional Redmi. 9/8/7 ❌ No (only via apps) Use Auto Power Off or ADB Black Shark ⚠️ Partially Works Only in Game Mode If your model is not listed, check for the feature through a search by settings.