Are you in a situation where the power button on your Xiaomi, Redmi or POCO stopped working and you need to lock the screen urgently? or just want to know alternative ways to lock the mechanical button to prolong the life of the mechanical button? This article covers all possible methods, from standard MIUI features to hidden Android features that work even on outdated models.
We're going to look at not only software solutions (gestures, timers, voice commands), but also hardware workarounds for emergencies. MIUI 12 to last MIUI 15, and the specifics of the models with AMOLED-screens IPS-If you've ever had a problem with a hanging screen or a broken button, this guide will be your lifesaver.
Why the power button fails and how to prevent it
Mechanical buttons are one of the most vulnerable spots in Xiaomi smartphones, and up to 30 percent of warranty calls are due to a power or volume fault, according to service centers.
- π Contact wear β the average resource of the button is designed ~50,000 presses (with active use, it lasts for 1.5-2 years).
- π¦ Moisture infestation β even if the phone did not sink, condensation from temperature drops oxidizes the contacts.
- π± Falls and impacts β 60% of button breakages occur after mechanical damage to the body.
- π§ Poor build β especially relevant for budget models Redmi 9A and POCO M3.
To extend the life of the button, keep the case tight (check the rubber pads after repair), avoid frequent pressing (use alternative blocking methods from this article), and regularly clean the connector from dust with compressed air. If the button has already started to stick, try to blow it with isopropyl alcohol (at least 90% concentration) with a syringe without a needle.
β οΈ Note: Do not use buttons to clean the buttons WD-40 Or other oils -- they leave a film that attracts dust and speeds up the corrosion of the contacts. IP53 (For example, Redmi Note 11 Pro) allow neat rubbing with an alcohol napkin, but not immersion!
Method 1: Double-touch gesture to lock the screen
The most versatile method, which works on all Xiaomi smartphones with MIUI 10 and newer, is the "Double-Tap to Lock" feature, which allows you to lock the screen with two quick taps on any free area of the display.
- Open Settings β Screen β Lock the screen.
- Select Double Tap to lock (some firmware may call Double Tap to lock).
- Activate the switch and confirm the action.
Features of the method:
- β It works even when the screen is turned off (it is enough to tap twice on the black display).
- β It does not work on a locked screen (only for unlocking).
- β‘ Nana AMOLED-screens (such as Xiaomi 13 Pro) can accidentally activate in your pocket β turn off the feature if you notice false positives.
βοΈ Double-touch setting
If the option is not on the menu, check the firmware version: on MIUI 9 and older, it can be hidden. In this case, use the alternative path: Settings β Additional β Special Features β Gestures. For the POCO F1 and POCO X3 models, you will need to first upgrade to MIUI 12 or later.
Method 2: Automatic lock timer
If you donβt need to lock the screen right now, but just shorten the time to automatically lock, set your sleep timer:
- Go to Settings β Screen β Sleep.
- Select the minimum value of 15 seconds or 30 seconds.
- For instant lock, set Never, but then the screen will burn constantly (not recommended for the screen). AMOLED-Displays due to the risk of pixel burnout).
This method is suitable for saving battery power, but does not solve the problem of urgent locking. For models Redmi Note 10 Pro and later available option Adaptive sleep, which analyzes your habits and adjusts the timer automatically. However, it requires enabled Google Play Services and can conflict with the power saving features.
| Xiaomi model | Minimum sleep timer | Supports "Double Touch" | Supports navigation gestures |
|---|---|---|---|
| Redmi 9A | 15 seconds. | Yeah (with MIUI 12) | No. |
| POCO X3 Pro | 5 seconds | Yes. | Yeah (full screen) |
| Xiaomi 12T | 10 seconds. | Yes. | Yeah (swipes and buttons) |
| Redmi Note 8 Pro | 30 seconds | Yes (requires an update) | Partially. |
β οΈ Attention: On phones with MIUI for POCO (for example, POCO F3) After resetting, the sleep timer is reset for 2 minutes. Always check this setting after updating or hard reset!
Method 3: Blocking through the notification panel
A quick way to lock the screen without a power button is to use the notification bar, which works on all versions of MIUI, including MIUI 14 and HyperOS:
- Swipe your finger down from the top of the screen to open the notification bar.
- Find the badge. π Blocking (usually located in the upper right corner next to brightness).
- Slip it on it - the screen will immediately lock.
If the icon is not present, it must be added manually:
- Open the notification panel and tap on β Edit (pencil).
- Find the Lock list and drag it to the active area.
- Save the changes.
On HyperOS models (such as Xiaomi 14), the lock icon can be hidden behind the swipe to the right in the notification panel β check this gesture if you do not find the button right away.
π‘
Add the lock icon to the quick settings (the first 6 positions) so you can lock the screen with one swipe without opening the full panel.
Method 4: Voice command (Google Assistant or XiaoAI)
If you have Google Assistant enabled or your XiaoAI voice assistant on, you can block the screen with your voice.
- π€ For Google Assistant: Say, "OK, Google, lock your phone." If the command doesn't work, check the permissions in Settings. β Annexes β Google β Permits β Special access β Device administrators.
XiaoAI
- Say, "" (XiaoAI, lockdown).
- If the assistant doesnβt respond, update the Mi AI app to GetApps.
Limitations of the method:
- β Does not work on a locked screen (you need to unlock the phone first).
- β Requires a permanent internet connection to process the command.
- β On some models (e.g. Redmi) 7A) Voice lock is disabled by default due to performance limitations.
To automatically lock the timer, use the script:
adb shell am broadcast -a android.intent.action.CLOSE_SYSTEM_DIALOGS
adb shell input keyevent 26This method is useful for:
- π§ Automate locking via Tasker or MacroDroid.
- π₯ Remote locking of the phone from the PC (for example, if the screen is getting stuck, but USB-debugging is on).
- π± Testing applications where software screen locking is required.
β οΈ Attention: Teams ADB They give you full control of the device. Never connect your phone to a public PC (e.g., an Internet cafe) with debugging enabled. USB β This can lead to data leakage or malware installation!
π‘
ADB-commands work even if the phone sensor is not responding, but require preliminary activation of debugging. USB. Without this connection, the lock is through ADB impossible.
What to do if the screen is frozen and does not respond to touch
If the Xiaomi phone doesnβt respond to touch, but thereβs an image on the screen, try the following steps:
- Forced reboot: Press the Power button + Volume up 10-15 seconds. On models with MIUI 13+, the Power button + Volume down combination can work.
- Connecting the mouse to OTG: If USB-The connector is working, plug in. USB-mouse-adapter OTG. With the mouse cursor, call the notification panel and lock the screen.
Call from another phone
- Call a locked Xiaomi β sometimes it will wake up the sensor.
- After answering the call, the screen can unlock and you can block it in the standard way.
After that, double-clicking the smartwatch or bracelet button will block the Xiaomi screen.