Setting up the power button on Xiaomi: all methods and hidden functions

The power button on Xiaomi smartphones isn't just a way to unlock the screen. MIUI And the new firmware HyperOS, she overgrown dozens of hidden functions: from calling voice assistant to emergency SOS-However, many users do not even realize that a standard press can be reconfigured to suit their needs β€” or that problems with the response of the button are often solved without visiting the service center.

In this article, we will analyze all possible scenarios for working with the power button on Xiaomi, Redmi and other devices. POCO: From basic setup to fault diagnosis, we will focus on the differences between models with a physical button, a touchpad (like the Xiaomi 13 Ultra) and devices with a side fingerprint scanner, which often acts as an on button. MIUI 12–14 and HyperOS (2023–2026.).

1. Basic functions of the power button: what it knows "out of the box"

On most Xiaomi smartphones, the default power button performs 4 basic functions:

  • πŸ”˜ Short press: Lock/unlock screen (unless a print or Face is configured) ID).
  • πŸ”² Long press (3-5 seconds): call the switch off / reset / flight mode.
  • πŸ”³ Double tap: Launch the camera (on some models, for example, Redmi Note 12 Pro)+).
  • πŸ”΄ Triple press: challenge SOS (requires pre-configuration).

On touch-button devices (such as the Xiaomi Mix Fold 3), a hold-touch is used instead of a physical tap. Importantly, the sensitivity of the touch button can be adjusted in the settings, more on this in the next section.

The power button is also involved in emergency combinations:

  • πŸ›‘ Power button + Volume increase (10 seconds) – forced reboot when getting stuck.
  • πŸ”§ Power button + Volume reduction – login to Fastboot (for firmware).

⚠️ Attention: On Xiaomi 12T The combination for the Fastboot and new models with HyperOS may differ. Before using, check the current instructions for your firmware.

πŸ“Š What Power button function do you need most often?
Screen unlocking
Calling the off menu
Camera launch
Emergency SOS

2. How to reassign the action of the power button

If you don't like standard features, MIUI and HyperOS allow you to reconfigure your response to pressing, for example:

  • πŸ“Έ Start the camera with one tap instead of a double tap.
  • πŸ†˜ Activate SOS double-press.
  • πŸ”‡ Disable the response to accidental taps in your pocket.

To change the settings:

  1. Go to Settings β†’ Special Features β†’ Physical buttons (the HyperOS path may differ: Settings β†’ System β†’ Gestures and buttons).
  2. Select the Power Button.
  3. Set up actions for one tap, double tap and long hold.

On some models (for example, POCO F5), the option β€œNo pressing in your pocket” is available – it blocks the response to accidental touches if the light sensor detects darkness (for example, when the phone is lying in your bag).

β˜‘οΈ Setting up the power button

Done: 0 / 4

For touch-button devices (such as Xiaomi 13), the option β€œTouch Sensitivity” has been added. If the button works once more, try increasing sensitivity or calibrating the sensor in the Settings menu β†’ Screen β†’ Touch button.

3. Problems with the power button: diagnosis and solutions

If the power button has stopped responding or is not working properly, the reasons can be both software and hardware.

Symptoms.Possible causeDecision
The button doesn't work on pressing.Contamination of machinery or wearAlcohol cleaning (for physical buttons) or replacement
The button β€œsticks” or works itselfMoisture or deformation of the shellDrying (24+ hours) or repairs in the service
Double-pressing doesn't start the cameraDisabled function in settingsInclude in Settings β†’ Gestures and buttons
The button only works after a few clicks.Failure of the plume or contactsDiagnostics at the service center

Before you carry your phone for repair, try the software diagnostic methods:

  1. Reboot the device forcefully (Power button + volume up 10 seconds).
  2. Check the button in Safe Mode (press the power button β†’ hold β€œSwitch off” β†’ confirm the transition to safe mode). If the button is working properly in it, the problem is in a third-party application.
  3. Update the firmware to the latest version (sometimes bugs with buttons are fixed in patches).

⚠️ Attention: On Xiaomi with AMOLED-With screens (e.g. Xiaomi 14), long-term power button retention can activate Always On Display even if it is disabled in the settings.

What to do if the button is physically broken?
If the power button is completely out of order (it does not respond even to a forced reboot), alternative ways of turning on can be used temporarily: - Connect the phone to charging - some models turn on automatically when you connect the cable. - Use the ADB command: adb shell input keyevent 26 (emulates pressing the power button). - To unlock the screen, configure Smart Lock (trusted devices or places) in the security settings.

4. Hidden functions of the power button: SOS, voice assistant and not only

In addition to basic actions, the power button on Xiaomi can perform hidden functions that are not enabled by default.

  • 🚨 Emergency. SOS: A triple tap sends a coordinate message to pre-specified numbers. β†’ Passwords & security β†’ Emergency SOS.
  • 🎀 Calling voice assistant: Long-term power button retention can run Google Assistant or Xiao AI (Depending on the region. Included in Settings β†’ Annexes β†’ Default assistant.
  • πŸ”‹ Quick access to battery mode: on some models double press + Retention opens up the energy saving menu.

On devices with HyperOS, the Smart Retention feature appeared: if you hold the power button for more than 5 seconds, the phone will offer not only a turn off, but also a transition to Do Not Disturb mode or activation of a mobile hotspot.

For owners of POCO and Redmi with unlocked bootloader, you can set the button through ADB. For example, you can reassign a long press to start any application:

adb shell settings put global power_button_long_press_action 1

Where 1 is the action identifier (a list is available in the MIUI documentation).

5. Features of settings on different Xiaomi models

The function of the power button can vary greatly depending on the model and type of button.

Model/SeriesType of buttonUnique functionsTypical problems
Xiaomi 13/14, Mix Fold 3Touch panel.Sensitivity settings, swipe gesturesFalse positives with wet hands
Redmi Note 12, POCO X5Physical button + fingerprint scannerQuick camera launch with double pressThe wear of the mechanism after 2-3 years of use
Xiaomi Pad 6Physical button without scannerSupport for gestures while holdingSticking due to dust in connectors
Black Shark 5Physical button + game triggersReassignment to play activitiesConflict with gaming software

On Xiaomi with a fingerprint scanner in the button (e.g. Redmi 10C), there is often a problem when the button stops working after a fall, in which case the scanner could shift, blocking the mechanism, the solution is disassembling and centering the scanner (requires experience).

For Xiaomi tablets (such as the Pad 6 Pro), the power button is often combined with a volume button to activate multitasking. For example, holding the power button + increasing the volume can open a list of recent applications.

πŸ’‘

If your Xiaomi model doesn’t respond to the power button settings, check if custom firmware (e.g. xiaomi.eu or Pixel Experience) is installed. The button reassignment menu can be located in the Settings β†’ System β†’ Additional.

6. Alternative control methods without a power button

If the power button is completely out of order, but the screen is working, you can temporarily control the phone without it.

  • πŸ”Œ Auto-on when charging: Many Xiaomi models turn on when connected to the network. β†’ Battery β†’ Auto-onlying when charging.
  • πŸ“± Gestures: Set up Double Touch to Wake Up in Settings β†’ Screen. β†’ Gestures.
  • πŸ–₯️ ADB-teams: if USB-debugging was enabled earlier, you can send commands from PC: adb shell input keyevent 26 # Emulation of pressing the power button adb shell reboot #Reboot
  • πŸ”„ Smart devices: If your phone is connected to Mi Band or Xiaomi Smart Home, you can use them to unlock it.

To permanently fix the problem without repair, you can install applications like Button Mapper (requires root) or Tasker to emulate clicks through other buttons (for example, volume).

⚠️ Note: Xiaomi with HyperOS has some ADB-In order to unlock them, you need to activate Developer Mode (7 times press Version). MIUI in the settings of the phone) and enable debugging by USB.

7. How to protect the power button from breakdowns

The power button is one of the most vulnerable parts of a smartphone, and to extend its lifespan:

  • πŸ›‘οΈ Use a button protection case (especially relevant for Redmi and POCO button-protruding).
  • 🚿 Avoid getting moisture, even if the phone has protection. IP53, Buttons are often vulnerable.
  • 🧴 Once every 3-6 months, clean the button with isopropyl alcohol (do not use water!).
  • πŸ”„ Do not press the button unnecessarily – for example, use a double touch or swipe gesture to lock the screen.

On models with a fingerprint scanner in the button (for example, Xiaomi 11T), avoid high pressure, this can lead to a shift in the scanner and jamming of the mechanism. If the button becomes tight, do not try to β€œdevelop” it with multiple clicks – this will exacerbate the problem.

On Xiaomi 13 Pro and newer, the power button is integrated with the vibro speaker, so replacing it costs 2-3 times more than on budget models. If the warranty is still valid, it is better to repair it in the official service.

Frequently Asked Questions (FAQ)

Can I turn off the reaction to the power button completely?
Yes, but only with help. ADB Or root access. Standard means. MIUI Disable commands: adb shell settings put global power_button_behavior 0 To return the standard behavior, replace 0 on 1.
Why did the power button stop running the camera?
This is a typical issue after upgrading to HyperOS.Solution: Go to Settings β†’ Annexes β†’ Permits β†’ Special access β†’ Make sure the camera app is allowed to start fast. If it doesn't work, reset the button settings to Settings. β†’ System system β†’ Resetting settings β†’ Resetting gesture settings.
How to set up SOS to triple press the power button?
Instructions: Open Settings β†’ Passwords and security β†’ Emergency SOS. Activate the option "Triple press of the power button." Add contacts for emergency messages (up to) 5 Set up automatic forwarding of coordinates and photos from the front camera (optional) Test mode: to check the performance SOS Without sending real messages, use the command: adb shell am broadcast -a android.intent.action.EMERGENCY --ez test true
The power button works, but the fingerprint scanner doesn't. What do you do?
Causes and solutions: πŸ”§ Software Failure: Delete All Fingerprints in Settings β†’ Passwords and security β†’ Fingerprints and add again. πŸ’§ Moisture: Dry your phone in rice or silica gel 24+ hour. πŸ› οΈ Physical damage: If the scanner does not respond even after reset, you need to replace the module. On Xiaomi with an optical scanner (for example, Xiaomi 12), check if it is closed with a film or a case - this interferes with reading.
Can I reassign the power button to launch any application?
No root rights, just a limited list of system actions (camera, SOS, voice assistant) To run arbitrary applications: Install Tasker or Button Mapper (requires ADB or root); Set the task to Power Button Long Press event; Specify the application to run (e.g. WhatsApp or Google Maps); On HyperOS, some applications (e.g. Xiao AI) can block reassigning.