How to turn off the power button on Xiaomi devices: 5 working methods

The power button on Xiaomi devices is one of the most vulnerable elements, often accidentally pressed, which leads to unexpected reboots, locking the screen or even resetting if the button is pinched for too long. A particularly pressing problem for smartphone owners with worn mechanical keys, as well as for parents whose children actively interact with gadgets. But what if the physical disabling of the button is impossible and the software limitations are not obvious?

In this article, we’ll look at all the ways you can deactivate the power button across Xiaomi devices, from MIUI smartphones to Android TVs to smart gadgets. You’ll learn how to temporarily lock a key through settings, use third-party apps, or even completely reassign functions. Importantly, some methods require root or unlocked bootloader rights, so we’ll point out alternatives for users without technical skills.

Why the power button may interfere: typical scenarios

Before we get to the instructions, we need to understand where turning off the power button is necessary.

  • πŸ‘Ά Children play with their phone and constantly press the side keys, causing a reboot or lockdown.
  • πŸ”§ Wear of the button mechanism - it begins to "spin" or trigger from a light touch.
  • πŸ‹οΈ Active sports when the phone is in your pocket and the button is pressed by the body.
  • πŸ“Ί On Xiaomi Mi TVs TV power button on the remote or case can be pressed accidentally during cleaning.
  • πŸ”’ Desire to protect your device from unauthorized shutdown (e.g. in public places).

Most of the time, the problem is software-solved, but there are hardware limitations, like some Redmi or POCO smartphones, where the power button is tightly integrated into the power management system, and you can't completely shut it down without root rights, but even in those cases, you can minimize the risks.

⚠️ Note: On devices with a locked bootloader (most Xiaomi smartphones by default), some methods can lead to the blocking of the Mi Account. β†’ The phone. β†’ Version. MIUI (Tap 7 times on the line "Core").

Method 1: Turn off the power button via MIUI settings (no root)

The easiest way is to use the built-in MIUI features, which is suitable for Xiaomi, Redmi and POCO smartphones based on Android 10 and later, the essence of the method is to reassign the power button to a harmless function or turn off its response to short presses.

Instructions:

  1. Open Settings β†’ Special Options β†’ Physical buttons.
  2. Select the Power Button (or the Lock Button on some firmware).
  3. In the Action section, set the No Action value or Open the Special Opportunities menu.
  4. To double tap, select No Action or any other feature (such as camera start).
  5. Save the changes and restart the device.

This method does not completely disable the button, but minimizes the risk of accidental locking of the screen, for example, if a child presses the key once, nothing will happen, but long retention (more than 3 seconds) will still cause the reset menu.

Check the MIUI version (must be at least 12)

Backup of important data

Make sure that the battery charge is > 50%

Close all background applications-->

Method 2: Using applications to block buttons

If the built-in MIUI settings don't work, you can use third-party utilities.

  • πŸ”’ Button Mapper - allows you to reassign the actions of any physical buttons, including power. ADB-permissions (without root).
  • πŸ›‘οΈ GravityBox [MM] β€” Module for Magisk, giving extended control over buttons (only for rooted devices).
  • πŸ‘† TouchLock – Blocks all physical buttons except the touch screen (good for kids).

Let’s look at the Button Mapper:

  1. Install the app from Google Play.
  2. Connect the phone to the PC and execute the command to ADB: adb shell pm grant flar2.homebutton flar2.homebutton.permission.BIND_ACCESSIBILITY_SERVICE
  3. In the app, select Power button and set the action No for single and double pressing.
  4. Activate the Button Mapper Special Options Service in your Android settings.

The advantage of this method is flexibility: you can only turn off certain actions of the button, leaving, for example, the ability to turn on the screen. ADB-Access requires the inclusion of debugging USB in the developer settings, which can be inconvenient for beginners.

πŸ“Š What kind of Xiaomi device are you using?
Smartphone (Redmi/POCO/Xiaomi)
Mi TV TV TV
Smart watch/bracelet
router
Other

Method 3: Completely disabling the power button via ADB (for experienced)

For users willing to work with Android Debug Bridge (ADB), there is a radical way to software block the processing of clicks at the system level, this method does not require root rights, but if executed incorrectly can lead to loss of functionality of the button even after resetting.

Instructions:

  1. Install ADB on your PC (download Google’s Platform Tools).
  2. Connect the phone to the PC and allow debugging over USB.
  3. Execute the command to disable the power button processing: adb shell settings put global power_button_behavior 0
  4. Reset the device.

After that, the power button will stop responding to short and long presses. To get it back to work, use the command:

adb shell settings put global power_button_behavior 1

⚠️ Note: On some Xiaomi firmware, this option is reset after the system update. Also, turning off the power button may prevent the use of the Emergency Call function (call 112 with five times pressed.

What if the ADB does not recognize the device?
Make sure that the debugging is enabled USB In the developer settings (tap 7 times on the build number in About Phone). Install drivers for your Xiaomi model (download from the official website). USB-cable (preferably original) Reboot your PC and phone, then reconnect.

Method 4: Turning off the power button on Xiaomi Mi TVs

On Xiaomi TVs, the power button can be both on the body and on the remote control. It is impossible to turn it off completely without disassembling the device, but you can block the reaction to pressing through the Android TV settings.

Methods of limitation:

  • πŸ”Œ Deactivation of the button on the remote: Go to Settings β†’ Devices and accessories β†’ Select button settings and turn off the reaction to the power button (if available).
  • πŸ”’ Parental Controls: Activate Parental Controls in Settings β†’ Security and restrictions. PIN-code and block access to power settings.

Removal of the button from the menu

ADB

adb shell am start -n com.android.tv.settings/.MainSettings

Then manually disable the display of the power button in the interface.

On PatchWall TVs, additional lock options are available, such as hiding the off button from the quick menu, leaving only the sleep mode.

Model TV setDoes the power button support the shutdown?Whether ADB is requiredAlternative method
Mi TV 4A/4C❌ No.❌ No.Parental control
Mi TV 4S/4X (Android TV 9+)βœ… Partially.βœ… Yes.Reassign buttons via ADB
Mi TV Q1/Q2 (Google TV)βœ… Yes.❌ No.The remote settings on the menu
Mi TV Stick❌ No.❌ No.Use a third-party remote

Method 5: Hardware button shutdown (extreme case)

If software methods fail, a physical shutdown remains, suitable for collapsible devices (e.g. older Redmi Note models or Mi TVs before 2020), and important: interference with hardware is warranty-free and can cause malfunction.

Step-by-step instructions for smartphones:

  1. Turn off the device and remove it. SIM-memory-card.
  2. Remove the back cover (for models with removable battery) or use a suction cup and mediator to disassemble the monolithic body.
  3. Find the plume running from the power button to the motherboard (usually located at the top of the device).
  4. Gently disconnect the plume or cut the wire responsible for the button (be sure it doesn’t affect other functions!).
  5. Reassemble the body and check its performance.

For TVs, the process is more complicated: you need to disassemble the case, find a button management board and unfurl contacts. Without soldering experience, this is not recommended, because there is a high risk of damage to other components.

πŸ’‘

Before disassembling the smartphone, take a picture of the location of all the plumes and screws. This will help to properly assemble the device back and avoid β€œextra” details.

⚠️ Note: On Xiaomi models with a non-shattered body (for example, Mi 11, Redmi). K50) Attempting to physically disable the power button almost always damages the display or battery, and in such cases it is better to use software methods or contact a service center.

Frequent Mistakes and How to Avoid Them

When you try to turn off the power button, users often encounter typical problems, and here are the most common ones and solutions:

  • πŸ”„ The button works again after the update MIUI β†’ Re-apply the settings through ADB Or Button Mapper.
  • πŸ”Œ The device does not turn on after the button is turned off. β†’ Connect the charger – some Xiaomi models automatically turn on when connected to the network.
  • πŸ“± Emergency call is not working (112) β†’ Return the standard power button settings or configure an alternative call method (e.g. via Settings). β†’ Security β†’ Emergency call).
  • πŸ› οΈ ADB can't see the device β†’ Check the drivers, cable and turn on Debugging by USB (security parameters in the developer settings.

If you use custom firmware (like LineageOS or Pixel Experience), some methods may not work, and then consult your firmware documentation or forums like XDA Developers.

πŸ’‘

Before any manipulation of the power button, make sure that the device has enabled the function "Automatically turn on when charging" (in the battery settings), which will help to avoid a situation where the phone will not be turned on after turning off the key.

Can I turn off the power button on Xiaomi without root rights?
Yes, but with limitations. You can reassign the action of the button (method 1) through MIUI settings, and with ADB you can completely disable the processing of the button (method 3).
Will your fingerprint or Face ID work after you turn off the power button?
Yes, biometric unlocking is independent of the physical power button. You can still unlock the screen with your fingerprint or face. However, on some models, a charger may be required to be connected to the screen for the first time after completely switching off.
How to return the standard operation of the power button?
If you've used ADB, Adb shell settings put global settings power_button_behavior 1 Button Mapper just needs to reset the app settings. If the button was physically disabled, you will need to disassemble the device and restore contacts.
Can I turn off the power button on Xiaomi smartwatches (Mi Band, Mi Watch)?
No, on Xiaomi wearables, the power button (if any) is tightly integrated into the system, and the only option is to use the child mode in the Mi Fit or Zepp app, which restricts access to settings.
What if the phone doesn’t turn on after the button is turned off?
Connect the device to charge and wait 10-15 minutes. Most Xiaomi models automatically turn on when connected to the network, even if the power button does not work. If that does not help, try holding the Volume Up + Power button for 20 seconds (sometimes an emergency reboot works).