How to set a timer to automatically turn off the Xiaomi phone: all ways

Have you ever fallen asleep with your phone in your hand and found a dead battery in the morning and a bunch of notifications? Or wanted to limit the time a child uses a gadget without conflicts? Xiaomi's automatic shutdown timer solves these tasks - but finding it in MIUI is not as easy as it seems. Depending on the model (Redmi Note 12, POCO X5, Xiaomi 13T) and the firmware version (MIUI 14/15), the ways are different, and some functions are hidden from the user.

In this article, 5 proven ways to set up a shutdown timer, including little-known tricks through Developer Settings and Google Assistant. We'll take a look at why a standard timer might not work on some devices (spoiler: power saving mode is to blame), and show you how to get around the restrictions. And for POCO and Black Shark owners, a separate bonus with Game Turbo setup.

Method 1: Built-in shutdown timer in MIUI (official method)

The most obvious, but most capricious way is to use the built-in MIUI feature, which is on most Xiaomi devices, but the path to it has changed in different versions of the firmware. Here is the current instruction for MIUI 14/15:

  1. Open the Settings app (cog icon).
  2. Go to Special Opportunities β†’ Shutdown Timer. On some models (e.g. Redmi 10C), the path is different: Settings β†’ System and Device β†’ Additional β†’ Shutdown Timer.
  3. Activate the Timer Slider Shutdown and set the time (15 minutes to 12 hours).
  4. Press Ready – the phone will turn off at the appointed time.

Challenges and solutions:

  • πŸ”„ No "Switch off timer" item, which means your firmware is cropped for the region (e.g. Global). ROM For Europe, try the 3 or 4 method.
  • ⚑ Timer resets after reboot - it's a bug MIUI 14.0.4 Update the firmware or use Google Assistant (method 5).
  • πŸ“΅ Does not work in Do Not Disturb mode – turn it off before activating the timer.

Make sure the battery is over 15 times charged%|

Turn off the power saving mode |

Close all apps in the background (especially games)|

Check if the phone is charging (can knock down the timer)

-->

Important: on devices with MediaTek Helio G (e.g. Redmi 9A), the built-in timer only works when connected to charging. This is a hardware limitation, and you can only circumvent it through ADB (mode 4).

Method 2: Timer through Digital Well-Being (for parental control)

If you need to not just turn off your phone, but limit your use (for example, for a child), use the Digital Well-Being feature, which is available in all Xiaomi on MIUI 12+ and allows you to set a hard shutdown on a schedule:

  1. Go to Settings β†’ Digital Well-Being and Parental Controls.
  2. Choose Parental Controls β†’ Set time limits.
  3. Set up a schedule (for example, from 22:00 to 7:00 the phone will be locked).
  4. Activate the option to turn off the device after the time has expired.
Model phoneDoes the shutdown supportLimitations
Xiaomi 13/13 Proβœ… Yes.It does not work in the performance mode
Redmi Note 11/12βœ… Yes.Demands. PIN-cancel-code
POCO F4/F5⚠️ Partially.Turns off the screen, not the device.
Black Shark 5❌ No.Just locking the screen.

⚠️ Warning: If the phone has a second space set up (a dual account), the timer will only work for the current profile. ADB (4).

Method 3: Automatically shut down via "Sleep Mode" (hidden function)

Few people know, but MIUI has a hidden sleep mode that can turn off your phone on schedule, which is originally designed to save you energy at night, but it can be adapted to our tasks:

  1. Open Settings β†’ Battery and Performance β†’ Sleep Mode.
  2. Turn on the slider and set the time (for example, from 00:00 to 6:00).
  3. Activate the option to turn off the device at the beginning of sleep mode (may be called Shutdown power).

Advantages of the method:

  • ⏰ It works even if the phone is discharged to 5% (unlike the standard timer).
  • πŸ”‹ Save battery power by turning off the background.
  • πŸ“± Not reset after rebooting.

πŸ” Where to look if there is no item "Sleep mode"?

On some models (Redmi A2, POCO M5) the function is hidden deeper:

Settings β†’ System and device β†’ Advanced settings β†’ Sleep mode

Built-in MIUI | timer

Digital well-being |

Sleep mode |

Google Assistant|

Another method

-->

Method 4: Disconnect via ADB (for advanced users)

If the built-in methods do not work (for example, on Xiaomi with custom firmware), you can use it. ADB-This requires you to connect the phone to the computer, but it gives you a 100% guarantee of operation.

Step-by-step:

  1. Download Platform Tools from the Android website.
  2. Turn on USB Debugging on your phone (Settings β†’ About Phone β†’ MIUI version – press 7 times, then go back to Additional β†’ For Developers).
  3. Connect your phone to your PC and type in the command line: adb shell am start -a android.intent.action.SHUTDOWN For delayed shutdown (e.g., after 30 minutes): adb shell "echo 'input keyevent 26' | at now + 30 minutes"

⚠️ Note: On some devices (Black Shark) 4/5, POCO F3 GT) ADB-In this case, only unlocking the bootloader will help (but this removes the warranty!).

What if the ADB can’t see the device?
1.Install Xiaomi drivers USB Drivers from the official website. 2. Check if File Transfer is enabled (MTP) 3. Try another one. USB-cable (preferably original). 4. In the Developer Settings, enable Debugging by USB (security parameters) and confirm the PC permission.

Method 5: Voice timer via Google Assistant (the easiest)

If you don’t want to dig into the settings, use Google Assistant, which works for all Xiaomi services with Google (except Chinese firmware without GMS):

  1. Activate Google Assistant by voice (OK, Google) or by holding the Home button.
  2. Say, "Put the timer on the phone in 1 hour."
  3. Confirm the command - the phone will turn off at the appointed time.

Features of the method:

  • 🎀 It works even on a locked screen (if the option Voice Assistant from a locked screen is enabled).
  • ⏱️ You can set a timer up to 12 hours.
  • πŸ”Œ Does not require rooting or ADB.

πŸ’‘ If Google Assistant doesn’t recognize the command, try alternative wording:

  • "Switch off your phone in 2 hours."
  • "Set a timer to turn off the device."
  • "Planning a shutdown for 23:00."

πŸ’‘

Create a shortcut to quickly turn off: add the Google Assistant widget to the home screen and set the command "Switch off the phone in [time]." Now just one tap!

Frequent problems and their solutions

Even after setting it right, the timer might not work.-5 causes and ways of eliminating them:

Problem.Reason.Decision
Timer resetsEnergy saving mode kills background processesAdd settings to battery exclusions
The phone doesn't turn off.The game is a game turbo or second space.Turn off these functions before setting the timer
No option in the settingsFirmware trimmed (Global/EU ROM)Use Google Assistant or ADB
The timer works onceMistake in MIUI 14.0.2-14.0.5Update to MIUI 14.0.6+ or 15th version
Only the screen is off.Restriction on POCO/Black SharkUse ADB or third-party apps

⚠️ Note: On devices with a locked bootloader (Redmi from China, Xiaomi with official firmware) some methods (for example, ADB) They may require unlocking. OEM. This voids warranty and can lead to a blink if you make an error! If you're not sure, use Google Assistant.

Can I put a timer on turning off Xiaomi phone without root?
Yes, in 90% of cases root is not needed. Use: Built-in timer in Special features; Google Assistant; Sleep mode in battery settings; ADB (does not require root, but you need to debug over USB); Root will only be needed for deep customization (for example, setting the shutdown on the proximity sensor).
Why doesn’t the Redmi Note 10 Pro work?
This model (and others with the Snapdragon 7xx) has a bug in MIUI 13.0.4-13.0.8 that ignores the timer if: Game Mode is enabled; Second Space is activated; Phone is connected to charging. Solution: upgrade to MIUI 14+ or use Google Assistant.
How to cancel the shutdown timer on Xiaomi?
The methods of cancellation depend on the method of setting: Built-in timer: Return to Settings β†’ Special features β†’ Shut-off timer and turn off slider. Google Assistant: Say: "Cancel shut-off timer." ADB: Enter the command: adb shell "atrm $(atq | awk '{print $1}')" Sleep mode: Turn it off in Settings β†’ Battery β†’ Sleep mode.
Are there any apps for a shutdown timer on Xiaomi?
Yes, but most require root or ADB. Out of those working without them: Shutdown Timer (needs Accessibility Service); Automate (creates automation through Google Assistant); MacroDroid (works on the Internet). MIUI 14/15 rootless). ⚠️ Caution: Some apps (like Power Off Timer) may collect data – check permissions!
Can I set the alarm clock to turn off?
There's no direct function, but there's a workaround: Install MacroDroid or Automate. Create a macro: If time = [your time] β†’ Run shell command: "input keyevent 26." Give the application accessibility rights and Settings Management. This simulates pressing the power button, but the phone must be unlocked (otherwise it won't work).

πŸ’‘

Xiaomi devices with MIUI 15 have a feature called Auto Shutdown on Schedule in Settings β†’ System. It allows you to set up a weekly shutdown (for example, every day at 23:00).