Xiaomi Power Timer: Why You Need It, How It Works and How to Set Up

Have you ever noticed that your Xiaomi smartphone spontaneously shuts down or reboots at a certain time? Or maybe the battery runs out at night much slower than during the day? MIUI, This option allows you to automate the management of the power consumption of the device, but if you set it up incorrectly, it can be uncomfortable.

In this article, we will discuss in detail what is a power timer on Xiaomi, how it affects the operation of the smartphone, and most importantly - how to adjust it correctly to your needs. MIUI, How to turn it off if it interferes, and how to use it to extend the life of the battery, and we'll also reveal some hidden power timer features that are not even mentioned in the official documentation.

What is a power timer on Xiaomi and why you need it?

Power Timer (or Power Timer in English) is a built-in feature MIUI, It's a system that allows you to schedule the automatic switching on or off of your smartphone at a given time:

  • πŸ”‹ Battery savings (such as turning off at night when the phone is not in use)
  • ⏰ Automation of routine activities (onsetting in the morning before the alarm clock)
  • πŸ›‘οΈ Protection against overheating (disconnection during charging in hot times)
  • πŸ“΅ Time limits on the use of the device (good for children)

In practice, the power timer works like a cron task in the operating system: you set the time to act, and the smartphone performs the desired action without your participation. POCO base MIUI However, in some regional firmware (e.g. Europe), this option may be hidden or renamed.

It's important to understand that a power timer is not the same as a sleep mode or battery optimization, it doesn't just limit the background activity of applications, it completely turns off or turns on the device's power at the physical level, which means that when you turn off the timer, you can't just turn it off.

  • πŸ“΄ The phone will be unavailable for calls and messages.
  • ⚑ Stop consuming energy (except for the minimum current to maintain) RTC-hours)
  • πŸ”„ All background processes will be forcibly stopped

⚠️ Note: If you use a shutdown timer on devices with AMOLED-Note that when the power is completely turned off, the screen will not display notifications via Always-On Display. To save this function, set the sleep mode instead of turning off in the battery settings.

Where is the power timer in Xiaomi settings

The path to power timer settings may differ depending on the version MIUI And the models are the actual options for different firmware:

MIUI versionThe path to settingsNotes
MIUI 12–14 (Global/EU)Settings β†’ Battery and productivity β†’ Timer of foodOn some models, the item is called "Food schedule"
MIUI 11 and olderSettings β†’ Additional β†’ Food TimerYou may need to turn on "Show system settings"
POCO LauncherSettings β†’ System and device β†’ Timer of foodSometimes hidden in "additional settings"
Xiaomi.eu (castom)Settings β†’ Battery β†’ Power TimerIn some builds, it requires manual inclusion in the developer settings.

If you don’t find this item on the menu, try:

  1. Use search by settings (the magnifying glass icon at the top)
  2. Update MIUI to the latest version
  3. Install Xiaomi ADB/Fastboot Tools for forced inclusion of the function

On some devices (for example, Xiaomi Mi 11 Ultra or Redmi Note 12 Pro)+) The power timer is integrated into the Energy Saving section and it's called the Energy Planner. If you have one, look for it next to the adaptive brightness and battery settings.

πŸ“Š Have you ever used a power timer on Xiaomi?
Yeah, regularly.
I tried it, but I turned it off.
I didn't know about that function.
I plan to set up after this article.

How to set up a power timer: step-by-step instructions

The power timer takes no more than 2-3 minutes to set up, but requires attention to detail. Here is a universal guide for most Xiaomi devices:

  1. Open the settings and go to the Power Timer section (see the table above).
  2. Activate the function by moving the slider to the "On" position. On some devices, you will need to confirm the action with a password or fingerprint.
  3. Select the timer type: Shutdown - complete disabling of the device On - automatic boot system Reboot - full restart (available on all models)

Set a time to actuate

  • To turn off, select a time when the device is not in use (e.g. 23:00)
  • To turn on, specify the time 5-10 minutes before the alarm clock.
  • Set up the days of the week when the timer should work (you can choose individual days or set a schedule for each day).
  • Save the settings and restart the device to apply the changes.

Make sure the battery is charged more than 30 times%|Turn off important notifications overnight|Check that the alarm is set in the standard "Clock" app"|Sync data with Mi Cloud in case of a crash-->

For devices with MIUI 13+ You can have an advanced setting of the trigger conditions, for example, you can program the timer so that it's not going to work:

  • πŸ”Œ It only works when connected to the charger.
  • πŸ“Ά It didn’t work if the mobile internet was turned on.
  • 🎧 Cancel shutdown if headphones are connected

These options are hidden behind the "Additional Settings" button (or "Advanced" in English firmware), and their availability depends on the device model - on budget Redmi they may not be available.

What to do if the timer does not work?
If the power timer is not working, check: 1. Permissions for system applications - sometimes MIUI blocks automatic shutdown due to security policy. 2. Battery optimization – in the battery settings, turn off optimization for the Settings app (com.android.settings). 3. Developer mode – enable debugging by debugging USB and check logs via adb logcat (requires PC). 4 System updates - in some versions MIUI The power timer is not working properly due to bugs (for example, in the MIUI 12.5.3 for Redmi Note 10 Pro).

Hidden power timer capabilities you didn’t know about

Most users use the power timer only for basic functions - turn off at night or turn on in the morning. MIUI There are several advanced modes that can significantly expand the capabilities of automation:

1. Cyclical reboot to clean up memory

If your smartphone starts to β€œbrake” after a few days of operation, you can set up a daily restart at 3-4 a.m.

  • 🧹 Clear the app cache
  • πŸ”„ Free up the working memory
  • πŸ› οΈ Fixing small system errors

To do this, select Type: Reboot in the timer settings and set the time for the minimum activity period.

2. Automatic shutdown at low charge

On devices with a severely worn battery (capacity) < 70% can be set to emergency shutdown when a critical charge level (e.g., 5%) is reached:

  • ⚑ Deep discharge that kills lithium-ion batteries
  • πŸ”₯ Overheating when trying to charge β€œzero"
  • πŸ“΅ Data loss due to sudden shutdown

This option is available in Settings β†’ Battery β†’ Additionally. β†’ Battery protection and works in tandem with a power timer.

3.Sync with the Mi Home smart home

If you have Xiaomi Smart Home devices (such as Yeelight bulbs or Mi Smart Plug outlets), you can use the power timer to:

  • πŸ’‘ Automatic lighting when waking up the smartphone
  • β˜• Running a coffee maker through a smart socket at the same time as turning on the phone
  • 🌑️ Activate the air conditioner 30 minutes before you wake up

This will require you to configure automation in the Mi Home app, where you select the event β€œDevice is turned on” as a trigger.

⚠️ Note: When using a power timer with Mi Band or other wearable devices, note that when you turn off your smartphone, the synchronization of sleep and activity data may be interrupted. To avoid losing statistics, set your timer to times when you normally don’t sleep (e.g. 4:00 to 5:00 a.m).

How to turn off the power timer if it interferes

If the power timer was activated accidentally or started to work incorrectly (for example, turns off the phone at the wrong time), it can be easily turned off.

Method 1: Through standard settings

  1. Go to Settings. β†’ Battery and productivity β†’ Timer of food
  2. Move the slider to the off position.
  3. Confirm the action if the system requests a password.

Method 2: Through ADB (if the settings are not available)

If the item with the power timer disappears from the menu, you can turn it off via Android Debug Bridge:

adb shell settings put global power_off_alarm 0

This command will reset all scheduled shutdown tasks. To cancel automatic turn on, use:

adb shell settings put global power_on_alarm 0

Method 3: Resetting battery settings

If the timer continues to work even after turning off, reset your power consumption settings:

  1. Go to Settings β†’ About the phone β†’ Reset settings
  2. Select Reset Battery and Performance Settings
  3. Confirm the action (it won’t delete your data, it will only reset the optimization).

On some devices (e.g. Xiaomi) 12T or POCO F4 GT) The power timer may be linked to Do Not Disturb mode, in which case it must also be turned off in the notification settings.

πŸ’‘

If the phone still turns off at the same time after the timer is turned off, check for viruses or malicious applications using Mi Security or Malwarebytes. Some programs (such as Clean Master) have their own task schedulers that can conflict with system settings.

Frequent problems and their solutions

Despite the simplicity of the function, users often experience power timer problems, and here are the most common problems and ways to fix them:

Problem.Possible causeDecision
Timer doesn't work.Conflict with battery optimizationTurn off optimization for "Settings" in the Battery β†’ Optimization
The phone turns off at random times.Failure of the system clockUpdate date and time manually or enable automatic synchronization
Timer powering is not working.Battery discharged (<15%)Charge the device to at least 30% before setting up
Timer settings resetSystem cache errorClean the cache in Settings β†’ Storage β†’ Clear the cache
The timer turns on on itselfVirus or third-party softwareCheck your device with antivirus and remove suspicious apps

Problems are often encountered after the update. MIUI. For example, in MIUI 14 for Xiaomi 13 Pro was a bug that caused the power timer to go off 1 hour earlier than the set time, either by rolling back on the previous firmware version or manually editing the system time through the ADB:

adb shell date -s YYYYMMDD.HHMMSS

If none of these methods helped, contact Xiaomi Service Center – the problem may be related to partition damage. /data Failure of the power controller.

Alternatives to the power timer: what to use instead

If your firmware doesn't have a power timer or it's not running smoothly, you can use alternative solutions.

Third-party annexes

  • πŸ“± MacroDroid – allows you to create complex automations, including turn off / turn on on on a schedule
  • ⏰ Automate – visual task designer with support for switching off the device
  • πŸ”Œ Shutdown Timer is a simple application with a countdown timer

When using third-party applications, keep in mind that they will need root or other rights to turn off the device. ADB-permitting.

2. Commands through ADB

You can schedule shutdown or reboot through Task Planner Windows/Linux using ADB-team:

  • Shutdown: adb shell reboot -p
  • Reboot: Adb shell reboot
  • Addition: Adb shell input keyevent KEYCODE_POWER (It doesn’t work on all devices)

3. Functions of a smart home

If you have a Xiaomi Home or Google Home, you can create automation.

  • πŸ”Œ Smart socket turns off charging at a given time β†’ The phone is discharged and turned off.
  • πŸ“Ά Wi-Fi router shuts down the Internet β†’ The phone goes into aircraft mode (configured via Mi Router)

⚠️ Note: When using alternative shutdown methods (especially through ADB or root) there is a risk of disrupting the Secure Boot, which will lead to the blocking of the bootloader. 12S Ultra) this can make the phone unusable without flashing it over.

πŸ’‘

The meal timer in MIUI β€” The safest on/off automation solution, as it is integrated at the system level and does not require additional permissions. Third-party applications should only be used if the system function is not available or does not cover your needs.

FAQ: Answers to Frequent Questions

Can I use a power timer on all Xiaomi models?
The function is available on most devices with MIUI 10 and newer, but may not be available on some budget models (e.g. Redmi) A1) Or regional firmware for Europe. POCO Launcher path to settings may vary. To find out exactly whether your smartphone supports this feature, check for the "power timer" option in the battery settings.
Will the phone charge if it is turned off by the timer?
Yes, if you plug the charger in after the timer is turned off, the phone will start charging normally. However, if the charge was connected before the timer is triggered, some models (e.g. Xiaomi) 11T) They may not charge until the power button is pressed, due to the Qualcomm Quick Charge power controller.
Can I set the power timer to turn on the alarm clock?
No, the power timer and the alarm clock are two separate functions, but you can synchronize them: Set your turn on timer 5-10 minutes before the alarm clock. β†’ Alarm clock) turn on the option "Stop if phone is off" so that the phone will turn on in advance and the alarm will go off at the set time.
Why does the power timer reset after the MIUI update?
This is a well-known problem with the fact that the timer settings are stored in a file. /data/system/power_alarm.xml, To avoid resetting: Backup your settings through Settings β†’ System system β†’ Backup. Use Xiaomi ADB/Fastboot Tools for exporting the timer configuration. After updating manually check and restore the settings if necessary.
Can I use a power timer on Xiaomi tablets (for example, Pad) 5/6)?summary> Yes, on Xiaomi Pad tablets, a power timer is also available, but with some limitations: On Pad 5 function hidden in Settings β†’ Screen and brightness β†’ Schedule, Pad. 6 Pro power timer integrated into power saving modes. Automatic power on may not work if the tablet is discharged below 20%. The cyclic reboot feature is especially useful for tablets, as they are often used for long-term video playback or as digital frames.