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 version | The path to settings | Notes |
|---|---|---|
| MIUI 12β14 (Global/EU) | Settings β Battery and productivity β Timer of food | On some models, the item is called "Food schedule" |
| MIUI 11 and older | Settings β Additional β Food Timer | You may need to turn on "Show system settings" |
| POCO Launcher | Settings β System and device β Timer of food | Sometimes hidden in "additional settings" |
| Xiaomi.eu (castom) | Settings β Battery β Power Timer | In some builds, it requires manual inclusion in the developer settings. |
If you donβt find this item on the menu, try:
- Use search by settings (the magnifying glass icon at the top)
- Update MIUI to the latest version
- 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.
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:
- Open the settings and go to the Power Timer section (see the table above).
- 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.
- 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?
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
- Go to Settings. β Battery and productivity β Timer of food
- Move the slider to the off position.
- 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 0This command will reset all scheduled shutdown tasks. To cancel automatic turn on, use:
adb shell settings put global power_on_alarm 0Method 3: Resetting battery settings
If the timer continues to work even after turning off, reset your power consumption settings:
- Go to Settings β About the phone β Reset settings
- Select Reset Battery and Performance Settings
- 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 cause | Decision |
|---|---|---|
| Timer doesn't work. | Conflict with battery optimization | Turn off optimization for "Settings" in the Battery β Optimization |
| The phone turns off at random times. | Failure of the system clock | Update 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 reset | System cache error | Clean the cache in Settings β Storage β Clear the cache |
| The timer turns on on itself | Virus or third-party software | Check 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.HHMMSSIf 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.