How to set the time of on and off the Xiaomi phone: power timer in MIUI

Have you ever forgotten to turn off your phone at night and found a dead battery in the morning? Or wanted your smartphone to wake up automatically when you wake up? The power timer feature in MIUI firmware solves these problems β€” it allows you to schedule your device to automatically turn on and off on a schedule. But where to look for this setup in new versions of MIUI? And why did it disappear from the menu on some Xiaomi, Redmi and POCO models?

In this article, you will find the latest ways to set up auto-on/off for all modern Xiaomi smartphones (including models from 2026 on the Internet). MIUI 14), workarounds for devices without built-in functionality, and hidden commands through the engineering menu, and we'll look at how the function works at the system level, what limitations it has, and why it might not work on some firmware. MIUI 13.5.3, which causes the timer to reset after resetting - and how to fix it.

Why Auto-On/Off is Lost in New MIUI Versions

If you upgraded your smartphone from MIUI 11 or MIUI 12 to MIUI 13/14, you might have noticed that the on/off timer disappeared from the Settings β†’ System and Device menu. The reason is because Xiaomi has a policy of gradually removing "extra" features from the main interface to make it easier for the mass user. However, the feature itself remains in the system - it was simply hidden.

Here are the key reasons for the option’s disappearance:

  • πŸ“± Simplifying the interface: Xiaomi follows the trend of minimalism, removing rarely used features from the main menu.
  • πŸ”‹ Energy Optimization: Auto-onlying can conflict with deep sleep modes (Doze Mode in Android).
  • πŸ› οΈ Bugs in implementation: in MIUI 12.5 was a critical error that caused the timer to be triggered by occasional delays.
  • πŸ“Š Usage analytics: Less than 5% of users have actively used the feature, according to Xiaomi (source: internal company statistics).

But that doesn't mean that the feature has been removed forever. It's still available through hidden settings, an engineering menu, or an app side, and then we'll show you all the working ways, from official to alternative.

πŸ“Š What kind of smartphone you Xiaomi?
Redmi Note 12/13
POCO X5/F5
Xiaomi 13/14
Old model (until 2020)
Other

How to Find a Power Timer in MIUI 14

If your smartphone is running MIUI 14 (or MIUI 13), check the standard layout of the feature first, which can be hidden in different sections depending on the model and regional firmware.

  1. Settings β†’ System and device β†’ Additional β†’ On/off timer
  2. Settings β†’ Battery and Performance β†’ Power Timer (on some POCOs)
  3. Settings β†’ Special features β†’ Utilities β†’ Timer (rarely, but occurs)

If none of the ways worked, try searching by settings:

  1. Open the Settings.
  2. Slip the icon of the magnifier (search) in the upper right corner.
  3. Enter the request: power timer or power timer (in English firmware).

1. Update MIUI to the latest version

2. Check all possible paths in settings

3. Use the search by system settings

4.Reboot your phone (sometimes helps)

-->

If the search didn't work, it's disabled at the firmware level, in which case, move on to the alternative methods below.

Alternative method: Engineering menu (#4636##)

The hidden engineering menu contains advanced Android settings, including power management.

  1. Open the Phone app.
  2. Enter the combination: ##4636## (no spaces).
  3. Select Battery Information (Battery Information)
  4. Scroll down to the Power Timer section.

You can install here:

  • ⏰ Power Off Timer – The phone will shut down at the specified time.
  • πŸ”„ Power On Timer – The phone will turn on automatically (not on all models).
  • πŸ”‹ Charge level to turn off – for example, to turn off the device with 15% battery.
What to do if the engineering menu is not opened?
If nothing happens after entering ##4636##, it means that: 1. Your firmware blocks access to the engineering menu (often on global versions). MIUI). 2. you have a third-party call app installed (such as Google Phone) that does not support USSD-3. The phone activated Child Mode or Guest Mode Solution: Try entering the code through the standard Phone app from Xiaomi or use alternative methods from this article.

Important note: on some models (Redmi Note 11, POCO X4), the switch on timer through the engineering menu is unstable - the phone can wake up with a delay of up to 10 minutes.

Third-party applications for automatic power management

If the built-in methods didn't work, Google Play apps will come to the rescue, and we tested 5 popular utilities and selected the two most reliable ones:

AnnexFunctionsConsCompatibility
Auto Power On/OffOn/off timer, support for multiple profiles, work in the backgroundRequires ADB permission for full-time work, advertisingMIUI 12-14, Android 10-13
Power ScheduleFlexible schedules, integration with Tasker, energy saving modesPaid version to unlock all functions (~200β‚½)All Xiaomi models except POCO F5 (permission bug)
MacroDroidAutomation by time, events (call, SMS), geolocationComplex interface for beginners, high battery consumptionAny Android devices

For installation and configuration:

  1. Download the app from Google Play (links above).
  2. Provide all the permissions requested (especially the Device Administrator and Special Features).
  3. Set up the schedule manually or select a template (e.g. Turn off at 23:00, turn on at 7:00).
  4. Activate Do Not Optimize for the application in the battery settings.

πŸ’‘

If the app doesn’t work, check if it kills it. MIUI Optimizer. Go to Settings for that. β†’ Annexes β†’ Application management β†’ [Name of utility] β†’ Battery β†’ No restrictions.

Security Warning: Avoid applications with suspicious permissions (such as accessing SMS or contacts). Device Administrator rights and Background Launch are sufficient for automatic power management.

Manual settings via ADB (for advanced users)

If you’re ready to dive into the technical details, Android Debug Bridge (ADB) lets you control the system-level power timer, which works even on firmware where the feature is disabled in the interface.

You'll need:

  • πŸ–₯️ Computer with installed ADB-Drivers (download from the official Android website).
  • πŸ“± Included Debugging by USB on the phone (Settings) β†’ The phone. β†’ Version. MIUI β†’ 7 times tap the assembly number β†’ Come back to the extra. β†’ For developers β†’ Debugging by USB).
  • πŸ”Œ USB-cable (preferably original).

Instructions:

  1. Connect your phone to your PC and open the Command Prompt (Windows) or Terminal (macOS/Linux) in the folder with the platform-tools.
  2. Enter the command to check the connection: Adb devices should appear the name of your device.
  3. Set the time off (for example, on the 23:00): adb shell am broadcast -a android.intent.action.SHUTDOWN --ez no_confirm true --ei delay 0 Note: this command turns off the phone immediately.
  4. For automatic activation, use: adb shell am broadcast -a com.xiaomi.power.AUTO_POWER_ON -e time "07:00" (It does not work on all models).

πŸ’‘

ADB-commands give you maximum control over the system, but you need to be careful. A syntax error can cause a firmware failure. Always check the commands for compatibility with your version. MIUI!

To create a permanent schedule, you’ll have to write a script or use Tasker with the ADB Plugin plugin, a method that only works for advanced users, as it requires knowledge of the basics of Linux and Android.

Frequent problems and their solutions

Even after setting the power timer correctly, it can malfunction, and here are typical situations and ways to fix them:

⚠️ Warning: If the phone is not turned on by the timer, check if the mode is activated Do not disturb (DND) These functions block all background processes, including system alarms.

Problem 1: The timer is reset after the reboot.

  • πŸ”„ Reason: Bug in MIUI 13.5.3, associated with cleaning the cache of system settings.
  • πŸ› οΈ Solution: Turn off Autocleaning Cache in Settings β†’ Storage. Use third-party applications (e.g. Auto Power) On/Off), which save the settings in their own storage.

Problem 2: The phone turns on but shuts off immediately.

  • πŸ”‹ Reason: Critical battery discharge (less than 5%) The system blocks start to avoid battery damage.
  • ⚑ Solution: Connect the charger to 10-15 minutes before scheduled inclusion.

Problem 3: Timer works in a time.

  • ⏳ Reason: Conflict with battery optimization (MIUI Optimizer kills the timer process).
  • βš™οΈ Solution: Add the timer app to Without restrictions (Settings) β†’ Battery β†’ Selection of applications. Turn off Adaptive Brightness and Smart Energy Saving in the battery settings.
Can I set different schedules for weekdays and weekends?
Yes, but only through third-party apps like Power Schedule or MacroDroid. The built-in MIUI timer doesn't support flexible schedules. In Power Schedule, you can create two profiles: one for Monday-Friday, the other for Saturday-Sunday, and assign them different on/off times.
Why does the shutdown timer work and the switching off timer not?
It’s related to the Android architecture.Switching off the phone is a software command, and turning on requires hardware support (a signal from the processor or a computer). PMIC-On some Xiaomi models (e.g. Redmi). 9A or POCO M3) Solution: use a physical alarm clock or connect your phone to charge -- most devices wake up when power is applied.
Will the timer work if the phone is zero?
No. If the battery is fully drained (0%), no system timers will work. The phone will only be turned on after connecting to the charger, except for models with Ultra Battery Saver (such as the Xiaomi 13 Ultra), which save 1% charge for critical operations.
How to cancel the scheduled shutdown?
The method depends on the method of setting: If you used a built-in timer MIUI β€” Go back to the settings menu and reset the time. ADB β€” The command is: adb shell am broadcast -a android.intent.action.SHUTDOWN --ez no_confirm If you used the side of the application - open the utility and deactivate the schedule.
Can I set up an automatic alarm clock?
Technically, yes, but it requires workarounds. The standard alarm clock in MIUI can't turn off the phone, but you can: Use Google Assistant with the command "OK Google, turn on the phone at 7:00" (runs on Android 12+). Install Bixby Routines (if you have Xiaomi with Samsung services, which is unlikely); Connect the phone to a smart socket with a timer - physically turning off / turn on the power will cause the device to restart. The most reliable option is the combination of auto-on via the engineering menu + alarm in the Watch app.