How to turn off Xiaomi without the on button: 5 working ways

The situation when the physical power button stops responding to presses or sticks inside the case is critical for any smartphone owner. Especially acute is the question of how to turn off Xiaomi if the device is in a state of getting stuck or requires a reboot to install updates. Owners of budget and mid-budget models of Redmi and POCO face this problem more often because of the design of mechanical switches.

Ignoring a malfunction can cause a quick battery drain or overheating of the processor if the background processes are not stopped correctly. Modern MIUI and HyperOS shells provide software alternatives to hardware management, allowing you to complete the system without the use of physical keys.

In this article, we will look at all available methods of forced and regular disconnection of a smartphone, from standard settings to the use of engineering menus. You will learn what tools the system can replace a broken button and how to protect your data in the process.

Use of built-in on and off timer

The easiest and most secure way, often overlooked, is through the standard Android system functionality. The MIUI shell has a built-in task scheduler that allows you to automatically turn off and turn on the device on schedule. To activate the function, go to the Settings menu β†’ Battery and Performance β†’ Battery β†’ On and off timer.

After you go to the menu, you need to activate the Repeat Daily switch and set a time that is a few minutes ahead of the current one. For example, if it is 14:00, set the shutdown time to 14:05. The system will independently initiate the shutdown procedure, simulating a long press of the power button.

⚠️ Warning: Make sure that the Power Timer is also activated if you plan to use your phone again, otherwise the device will remain off until manual activation.

This is ideal for situations where the screen responds to touch, but the button doesn't physically work, and it allows you to close all applications correctly and save data.

πŸ’‘

If the timer didn’t work the first time, try setting a shutdown time of 10-15 minutes from the current moment so that the system can process the request.

Forced reboot through the developer menu

If the standard menu is not available or the system is unstable, you can use USB debugging. This method requires pre-activation of the developer mode. Go to Settings β†’ About phone and quickly click on the version of MIUI or HyperOS seven times.

After the notification of activation of the developer mode appears, go to the advanced settings and find the item "Debugging by" USB". Turn it on. Next, you'll need a computer with a tool installed. ADB (Android Debug Bridge. Connect your smartphone with a cable to your PC.

  • πŸ”Œ Open the command line on the computer in the folder with ADB.
  • πŸ“± Allow debugging on the smartphone screen if a request appears.
  • πŸ’» Enter the command to check the connection: adb devices.
  • πŸ›‘ Use the command to turn off: adb shell reboot -p Adb shell svc power shutdown.

The adb shell reboot -p command sends the power signal to shut down, which is equivalent to selecting the "Stop" item in the menu. If the system is completely got stuck and does not respond to touch commands, this method may not work without a working interface.

β˜‘οΈ Preparation for use ADB

Done: 0 / 1

Screen menu and special features

Some versions of Xiaomi firmware include a feature called Special Features Menu, which displays a virtual control button that duplicates the physical keys, including the power button, and can be activated via the Settings path β†’ Advanced Settings β†’ Special Features β†’ Special Features menu.

When you turn on, you'll see a floating button, and when you click on it, you'll see a virtual on-button analogue, and a short press usually locks the screen, and a long press causes the off and reboot menu, and this software solution completely replaces the physical mechanism.

Using a virtual button is especially relevant if the power button is working, but with interruptions, and you are afraid to permanently damage the plume.

Why can't the menu be there?
In some global versions of MIUI firmware, the Special Features Menu feature has been removed or moved, so try searching for it through a global search by settings by typing in "Special Features."

Resetting settings via Recovery Mode

If the smartphone is dead, the screen is unresponsive, and the power button is broken, you have the option to enter Recovery mode. Usually this requires a combination of buttons, but if the power button is not working, you can try trik with a connection to the PC.

Connect the phone (or phone) to your computer via USB-Simultaneously press the Volume Up button (or Down, depending on the model) and try to press the screen often or use a stylus to simulate touches in the area where the confirmation button might be if it were on the screen. However, without a power button, logging into Recovery is often impossible with standard methods.

There is an alternative way through the team. ADB, If you've debugged it before, adb reboot recovery. Once you've got it on the Recovery menu, you're going to be controlled by volume buttons, and you're going to be able to select from the power button. If the power button doesn't work at all, you're going to be unable to navigate the menu without an external one. USB-(via mice) OTG), press-emulating.

Entry methodConditions requiredEffectiveness with a broken button
Button combinationPower button working0% (won't work)
ADB Team TeamUSB debugging enabled100% (high)
Annex "Testing"Working touchscreen50% (depending on version)

πŸ’‘

Recovery Mode without a power button is only available through ADB program commands or when you connect an external keyboard/mouse via OTG.

Use of engineering menus and codes

Xiaomi’s engineering menu contains hidden hardware tests, including button tests and reboots, and can be logged in via a standard call by typing code ##6484#. However, newer versions of HyperOS often restrict access to this menu or require special permission.

If you're able to log in, look for Version Information or Power Key, and some builds have a Reboot or Shutdown option that forcibly shuts down the system, which is a deep system layer, so you have to be careful about using those features.

Some users use third-party apps from Google Play that create a desktop shutdown widget, which often require root rights to work properly, as standard Android resolutions do not allow apps to directly manage power without the system.

  • βš™οΈ Try entering the #7780### code (caution, it may reset the settings).
  • πŸ“² Use button emulator apps from the store.
  • πŸ”‹ Monitor the temperature when using engineering tests.
πŸ“Š How do you prefer to control your smartphone?
Touch screen only:Physical buttons:Voice control:External keyboard/mouse

What to do if the power button is physically stuck

If the problem is mechanical β€” the button is broken or is constantly pinched β€” the phone may be constantly rebooting or not responding to the screen, in which case software methods may not help, since the β€œPower” signal is continuously running.

You need to carefully, without undue effort, try to design a button with your fingers slightly pressing it from different sides. If the phone is in the case, remove it - often the cases press the button, simulating a press. Constantly pressing the power button for more than 30 seconds can lead to cyclical restart and damage to the battery.

In the event of physical damage, the only solution is to go to a service center to replace the plume or the mechanism of the button, and a temporary solution may be to use the "Alarm Signal" function to turn the phone on in the morning while you are looking for a way to turn it off.

⚠️ Warning: Don’t try to disassemble your smartphone yourself if you don’t have experience – you could damage the display plume or battery, leading to expensive repairs.

Frequently Asked Questions (FAQ)

Can I turn off Xiaomi if the screen is completely black?
If the screen is black and unresponsive and the power button is broken, it is almost impossible to turn off the phone software. The only option is to wait for the battery to run out. For models with a removable battery (a rarity for Xiaomi), you can remove the battery.
Is it safe to use the adb reboot-p command?
Yes, this command is standard for Android, and it initiates a routine shutdown procedure, shutting down all processes and storing data, similar to selecting the "Stop" item on the menu.
Why isn't the shutdown timer working?
The timer may fail if at the time of the scheduled shutdown, a process is triggered that blocks the shutdown (e.g., an active call, navigation, or play) and the function may be disabled in Do Not Disturb or Power Saving mode.
How to turn on a Xiaomi phone without a button?
Turning on the phone without the power button is more difficult. You can try to connect the charger to the phone that is turned off (some models turn on themselves), connect it to the phone that is turned off. USB-mouse-wise OTG and press the right mouse button, or use the command ADB adb reboot if the phone has been software-activated and is in deep sleep (depending on the model).