How to put Xiaomi phone on a shutdown timer: all ways

Automatically turning off your smartphone by timer is a useful feature that helps save battery power, limit your use time before bedtime, or simply remember to turn off the device at the right time. In Xiaomi, Redmi and Poco phones, this option is implemented in an unobvious way: it is not in the standard MIUI settings, but you can activate it through hidden menus or third-party applications.

In this article, we will discuss all the working ways to set a shutdown timer on devices with MIUI 14/15 firmware (including global and Chinese versions), and how to circumvent system limitations if the standard method does not work.

Let’s warn you right away: some methods require developer rights or install additional software. If you are a beginner, start with the simplest option (through Sleep Mode) and only then move on to advanced solutions.

Method 1: Timer off using "Sleep Mode" (without root)

The safest and most official method is to use the built-in MIUI Sleep Mode feature, which does not turn the phone off completely, but puts it into a deep sleep state with all background processes switched off, which effectively simulates turning off for most tasks.

How it works:

  • πŸ”„ The phone stops responding to notifications, calls and SMS (except for alarm clock).
  • πŸ“΄ The screen goes out and the power button is locked until you wake up.
  • πŸ”‹ Energy consumption is reduced to 0.5–1% per hour (as in the off state).

Instructions for setting:

  1. Open the Settings β†’ Screen β†’ Sleep mode.
  2. Activate the switch Sleep mode.
  3. Click the schedule and select Add the schedule.
  4. Specify the start time (for example, 23:00) and the days of the week.
  5. Turn on the option to automatically turn on.

Is the alarm on for the morning?|Are notifications from messengers disabled?|Is the phone connected to charging (optional)?|Are all open files saved?-->

Limitations of the method:

  • ❌ The phone doesn’t shut down completely – the core of the system remains active.
  • ❌ It doesn't work on models with MIUI for Russia (global firmware required).
  • ❌ Can conflict with applications using Wake Lock (e.g. sleep trackers).

πŸ’‘

If the phone slows down after waking up, clear the cache in Settings β†’ Applications β†’ Application Management β†’ Clear the cache for system processes.

Method 2: ADB commands (for advanced users)

If you want to turn your phone off completely on a timer, rather than imitating it through Sleep Mode, you can use ADB (Android Debug Bridge) commands, which works on all Xiaomi models, but requires a computer connection and USB debugging.

Step-by-step:

  1. Download ADB Tools and unpack the archive.
  2. Turn on Developer Mode on your phone: Settings β†’ About Phone β†’ MIUI version (click 7 times).
  3. Activate Debugging by USB in Settings β†’ Additional β†’ For developers.
  4. Connect your phone to your PC and type in the command line: adb devices (should appear a device with a serial number).
  5. Set a shutdown timer on 30 (Example: Adb shell am broadcast) -a android.intent.action.ACTION_SHUTDOWN --ez delay 1800 Where 1800 β€” time-in-second (30 minute).

Time (minutes)ADB Team TeamExample of use
10adb shell am broadcast -a android.intent.action.ACTION_SHUTDOWN --ez delay 600Quick function testing
60adb shell am broadcast -a android.intent.action.ACTION_SHUTDOWN --ez delay 3600Shutdown in an hour.
120adb shell am broadcast -a android.intent.action.ACTION_SHUTDOWN --ez delay 7200Night blackout

Note: On some models (e.g. Xiaomi 13 Pro with HyperOS), the command may not work due to manufacturer limitations.

What if the ADB can’t see the device?
1.Make sure that Xiaomi drivers USB Drivers are installed on PC. 2. Try another one. USB-cable (original from the phone). 3. Enable the debugging option in the developer settings USB (security settings) and confirm the PC permission. 4. Restart your phone and PC.

Method 3: Apps from Google Play (without root)

If the first two methods don't work, we can use third-party utilities, and we tested 5 popular shutdown timer apps, and we selected the two most reliable ones:

  1. Shutdown Timer (No Root) βœ… Works on MIUI 14/15 no-non-exclusive. βœ… Supports repetitive tasks (daily/days of the week). ❌ Advertising in the free version (cleaned by buying Pro for the first time) 199 β‚½).
  2. Automate βœ… Allows you to create complex scenarios (for example, shutting down at low charge) + timelessly). βœ… Integration with Google Assistant. ❌ A complex interface for beginners.

Instructions for Shutdown Timer:

  1. Download the app from Google Play.
  2. Start and grant permissions for Special Access (needed to turn off).
  3. Press + and select Turn Off.
  4. Set a time (e.g. 23:30) and a repetition day.
  5. Activate the timer with the Start button.

Manual power button | Through Sleep Mode |Timer App |Team ADB|I don't turn off at all-->

⚠️ Warning: Shutdown apps may conflict with battery optimizer MIUI. After installation, add them to exceptions: Settings β†’ Battery β†’ Optimizing the battery β†’ All applications β†’ Choose the utility. β†’ No restrictions.

Features for different Xiaomi models

The shutdown timer function can work differently depending on the processor, MIUI version, and regional firmware. We collected data on popular models in the table:

ModelProcessorSupported methodNotes
Xiaomi 13/13 ProSnapdragon 8 Gen 2ADB, AnnexesSleep is not stable due to HyperOS.
Redmi Note 12 Pro+MediaTek Dimensity 1080Sleep mode, ADBApplications may require additional permissions.
Poco F5Snapdragon 7+ Gen 2All right.Best compatibility with Shutdown Timer.
Xiaomi Pad 6Snapdragon 870Only ADB.There is no sleep mode on tablets.

On MediaTek devices (like the Redmi Note 11), ADB commands can be executed with a delay of up to 1-2 minutes, due to the power management features of the manufacturer’s chips. If accuracy is critical, use Force Shutdown applications.

For owners of Black Shark: on gaming smartphones, the shutdown function is blocked by the proprietary shell JoyUI. The workaround is the firmware of the global MIUI or the use of the Magisk module Shutdown Timer Enabler.

Frequent problems and their solutions

Even after setting the shutdown timer correctly, we've collected common errors and ways to fix them:

  • 🚫 Timer resets after rebooting Reason: MIUI Solution: Use Automate with the Start-up option.
  • 🚫 The phone doesn't turn off through ADB Reason: Core-level lockdown. Solution: Try an alternative command: Adb shell input keyevent 26 (imitation of power button pressing).
  • 🚫 The timer application does not work in the background Reason: battery optimization Solution: add the application to exceptions (Settings) β†’ Battery β†’ Optimizing the battery).

⚠️ Attention: On phones with MIUI for Russia (e.g. Redmi) 10C) The function of sleep mode may be absent due to local constraints. ADB third-party.

πŸ’‘

If none of the methods work, check if there are apps on the phone to block the shutdown (such as antivirus or parental controls).

Safety and alternatives

Before setting up an automatic shutdown, consider the potential risks:

  • πŸ” Data loss: If the phone turns off while recording videos or updating apps, files may get corrupted.Always save important data before activating the timer.
  • πŸ“‘ Missed notifications: You won’t get any sleep in mode SMS or calls (except alarm clocks) for critical notifications, use the exceptions in the mode settings.
  • πŸ”‹ Battery wear: frequent full shutdowns (especially when charged low) can shorten battery life. Optimally use a timer 1-2 times a week.

If you want to limit your use time rather than turn off, consider alternatives:

  • πŸ“± Digital Well-Being: Settings β†’ Digital well-being β†’ Use timer (blocks apps but doesn't turn off phone).
  • πŸŒ™ Night mode: Settings β†’ Screen. β†’ Night mode (reduces brightness and filters blue light).
  • ⚑ Auto Charging: Apps like Battery Charge Limit can stop charging by 80%, extending battery life.

πŸ’‘

For parental control, it is better to use specialized apps (like Google Family Link) rather than a shutdown timer – they are more flexible and do not interfere with emergency calls.

Can I put a shutdown timer on Xiaomi without a computer?
Yes, use Sleep Mode (method 1) or apps from Google Play (method 3). ADB commands (method 2) require a PC connection.
Why doesn’t the phone turn off on a timer in Shutdown Timer?
The reasons may be: App added to battery optimization (Settings β†’ Battery β†’ Battery Optimization) Developer Mode is active with the option Do not turn off the screen, installed antivirus that blocks off commands (for example, Avast). Check these points and restart the timer.
How to cancel the scheduled shutdown?
Cancellation methods depend on the method: For Sleep Mode: Open Settings β†’ Screen. β†’ Sleep mode and deactivate schedule. ADB: Reboot your phone or type in the command adb shell am broadcast -a android.intent.action.ACTION_SHUTDOWN --ez delay 0 For applications: Open the utility and press Cancel.
Does the shutdown timer work on the phone turned off?
No. The timer only works when the device is on. If the phone is already off, no commands (including ADB) can turn it on or off again without manual intervention.
Can you set the shutdown timer to a specific action (e.g., after charging is complete)?summary> Yes, but you will need automating applications like Automate or Tasker. Example scenario for Automate: Add the Condition: Battery Charge = 100%. Add Action: Shut down the device. Save and activate the stream. Note that this will require ADB or root rights.