How to set a timer to turn off Xiaomi Redmi Note 8 Pro: all ways from MIUI to ADB

The Xiaomi Redmi Note 8 Pro is one of the brand’s most popular smartphones, but even its MIUI firmware doesn’t have an automatic shutdown timer built-in, which is uncomfortable if you want the phone to shut down at night to save battery power, or shut down after a certain time after charging. Fortunately, there are a number of ways to get around this limitation, from standard tools to hidden commands for power users.

In this article, we will discuss 5 working methods, including settings through settings β†’ Advanced features, use apps from Google Play, create automatic tasks in MacroDroid, and manually control through ADB For those who are not afraid of technical nuances, we will pay special attention to the hidden function "Sleep Mode" in the MIUI 12/13, which indirectly solves the problem, but does not work on all versions of the firmware.

If you’re looking for a way to save battery power or just want your phone to shut down at a given time, choose the right method from the instructions below. All methods are tested on the Redmi Note 8 Pro with MIUI 11-14 firmware (including global and Chinese versions).

1. Method: Using the MIUI sleep mode (hidden function)

MIUI 12 and later has a half-hidden sleep mode feature that allows you to set up automatic screen shutdowns and limit functions at a given time, although it doesn't turn off the phone completely, but it blocks all notifications, shuts down the mobile network and Wi-Fi, which saves you a lot of charge.

To activate it:

  • πŸ“± Open the Settings. β†’ Screen. β†’ Sleep mode (on some versions path: Settings) β†’ Special facilities β†’ Sleep regimen).
  • ⏰ Turn on the function and set up a schedule (for example, from 23:00 to 7:00).
  • βš™οΈ In additional settings, mark Disable mobile data and Disable Wi-Fi.
  • πŸ”‹ To turn off completely, add the task to MacroDroid (see method 3).
Why doesn’t this method turn off the phone completely?
Sleep mode in MIUI It's not designed to shut down the power completely, it just minimizes the power consumption. It's going to have to be combined with other methods or used to completely shut down. ADB-team.

This method is suitable if you need to save charge at night, but not critically completely shut down.

2. Method: Applications for timer shutdown from Google Play

The easiest way is to install a dedicated app. There are dozens of options on Google Play, but we recommend only the ones we've tested:

AnnexRatings.FeaturesCons
Power Off Timer4.7Simple interface, work without root, support MIUIAdvertising in the free version
Shutdown Timer4.5Flexible settings, widget on the main screenRequires permission to access special facilities
Automate4.4Full automation (not just shutdown)A complex interface for beginners

Instructions for Power Off Timer:

  1. Download and install the app from Google Play.
  2. Open it and grant permission for Special Opportunities (necessary to turn it off).
  3. Select the time of shutdown or set the countdown (for example, after 1 hour).
  4. Press Start – the phone will turn off automatically.

πŸ’‘

If the application is not working, check if MIUI Optimizer is blocking it. Go to Settings β†’ Applications β†’ Permissions Management β†’ Special features and enable access for the timer.

Important: Some applications may not work on the Redmi Note 8 Pro due to MIUI limitations. In this case, try MacroDroid (method 3) or ADB (method 5).

Method 3: Automation via MacroDroid (without root)

MacroDroid is one of the most powerful automation apps on Android, and it allows you to create a task to turn off your phone without root rights using built-in MIUI features.

Step-by-step:

  1. Install MacroDroid from Google Play.
  2. Create a new macro team (Add Macro).
  3. Select Time/Date as the trigger and set the right time.
  4. In action, select System β†’ Power Off (if no option, use Send Intention with option) android.intent.action.ACTION_SHUTDOWN).
  5. Save the macro and activate it.

Eliminate the application from battery optimization|Provide all necessary permits|Check the macros in test mode|Make sure your phone is not locked with a password (may prevent you from turning off)-->

If Power Off is not displayed in the action list, then your version of MIUI is blocking this feature, in which case use ADB (mode 5) or third-party applications (mode 2).

4. Method: Timer off via Tasker (for experienced)

Tasker is an advanced automation tool that takes more time to set up but gives you maximum flexibility, for example, you can set the phone to turn off not only in time, but also at a certain level of battery charge or connection to charge.

Algorithm of settings:

  • πŸ“² Install Tasker and Secure Task plugin (to work with shutdown).
  • πŸ›  Create a new task (Task) β†’ New Task).
  • πŸ”Œ Add the action Plugin β†’ Secure Task β†’ Power Off.
  • ⏰ Create a profile (Profile) β†’ Time) and specify the appropriate time.
  • πŸ”— Link the profile to the task.
πŸ“Š What kind of automation do you prefer?
MacroDroid
Tasker
Standard apps from Google Play
ADB-team

Warning: On some versions, the MIUI Tasker may not have access to the shutdown function due to security limitations, in which case an ADB or root will be required.

5. Method: Disconnect via ADB (for advanced users)

If none of the above methods work, the most reliable, but also the most difficult, method is to use ADB (Android Debug Bridge), which requires connecting the phone to a computer, but it works on all versions of MIUI.

Instructions:

  1. Turn on USB Debugging on your phone: Go to Settings β†’ About Phone β†’ MIUI version and press 7 times to activate Developer Mode. Return to Settings β†’ Additional β†’ For Developers and enable USB Debugging.

Redmi Note 8 Pro

ADB Tools

Platform Tools by Google

cmd

adb.exe

adb devices

(Your device should be displayed).

adb shell input keyevent 26

Or to turn off immediately:

adb shell reboot -p

πŸ’‘

Adb shell reboot-p turns off the phone instantly, without confirmation, and use it carefully to avoid losing unsaved data.

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

@echo off


adb shell reboot -p

⚠️ Attention: with frequent use ADB To turn off the phone, protection can work MIUI, In this case, you will need to reconnect the device or use alternative methods.

Comparison of all methods: which one to choose?

To make the choice easier, we have compiled a comparative table:

MethodDifficultyRequired. root/ADBReliabilityIt's good for MIUI.
Sleep regimen⭐No.Medium (not completely switched off)Yes (MIUI 12+)
Apps from Google Play⭐⭐No.High (depending on the application)Yes.
MacroDroid⭐⭐⭐No.Tall.Yes (may require adjustment)
Tasker⭐⭐⭐⭐Sometimes (for some activities)Very high.Yeah (with plugins)
ADB⭐⭐⭐⭐⭐Yes (USB-debugging)MaximumYes (all versions)

For most Redmi Note 8 Pro users, MacroDroid or Google Play apps are the best solution. If you want maximum reliability and you are not afraid of technical nuances, use ADB.

FAQ: Frequent questions about the shutdown timer

❓ Can I put a shutdown timer through standard settings? MIUI?
No, MIUI for the Redmi Note 8 Pro does not have a built-in shutdown timer function, but MIUI 12+ firmware has a sleep mode that partially solves the problem (see method 1).
❓ Why shutdown apps don't work on my phone?
This is due to the limitations of MIUI, which blocks access to shutdown functions for third-party applications.Solutions: Give the application permission for Special Features. exclude it from battery optimization (Settings β†’ Battery β†’ Battery Optimization). Use MacroDroid or ADB.
❓ Can you set the shutdown to the battery level?
Yes, but not through standard means. Options: Use MacroDroid with battery level trigger. Set up Tasker with Battery Level condition. Install Battery Charge Limit app (requires root).
❓ Will the shutdown timer work if the phone is locked?
Depending on the method: Apps from Google Play usually work. MacroDroid/Tasker work unless MIUI is blocked. ADB works always but requires a PC connection. If the phone is locked with a pattern lock or PIN, some methods may not work due to security limitations.
❓ How to Cancel a Planned Shutdown?
The methods of cancellation depend on the method: For applications, open the application and stop the timer. For MacroDroid, turn off the macro manually. ADB β€” interrupt the execution of the command (Ctrl)+C at the terminal). ⚠️ Note: If you use the adb shell reboot command -p, You can only physically disconnect your phone from the USB before.