Do you accidentally push buttons on Xiaomi when your phone is in your pocket or bag? Does the screen spontaneously turn on, apps run, or even make calls? Pocket Mode is a special feature MIUI, It blocks the touch screen and physical buttons when the sensors of the smartphone detect that it is in a closed space, and is available on all modern models, from the budget Redmi Note 12 to the flagship Xiaomi 14 Ultra.
In this article, you will find 3 working ways to turn on the mode, including hidden settings for older versions. MIUI, And we'll also talk about fine-tuning the sensitivity of the sensors, and we'll look at why the function might not work on some devices (e.g., some devices, POCO F5 or Redmi A2) And we'll also talk about the differences between pocket mode and screen lock, and many users confuse these options, even though they solve different problems.
What is a mode in the pocket and why it is needed
Pocket Mode is a software function. MIUI, It automatically turns off the touch screen and physical buttons (Power, Loudness) when it detects that the smartphone is in a closed space:
- π± Approximation sensor β detects whether the screen is closed (e.g. in a pocket or bag).
- π Accelerometer β Analyzes the movement of the device to distinguish a pocket from a table or hand.
- β‘ Algorithm MIUI β combines sensor data and blocks input if the smartphone βdecidedβ that it is carried in the pocket.
The main advantages of the function:
- π Prevents accidental taps (calls, camera launch, music switching on).
- π Saves battery power, as the screen does not turn on from accidental touches.
- π‘οΈ Protects against unauthorized activities (for example, if the phone is in a backpack with other items).
β οΈ Attention: The pocket mode does not replace the locking of the screen! It only temporarily disables the sensor and buttons, but does not encrypt data. PIN-finger-print.
The function appeared in MIUI 9, But in the older versions, it was unstable. MIUI 12 The algorithm became more accurate and MIUI 14/15 It's also a way to adjust the sensitivity of the sensors, but on some models, like the Redmi. 9A or POCO M3) The option can be hidden β we will talk about this in the section on alternative ways of inclusion.
How to turn on the mode in the pocket through settings MIUI
The most reliable way to activate the function is through the standard settings menu. POCO on MIUI 12β15 (including global and Chinese firmware).
Open the Settings app and follow the path:
- Display.
- Screen lock (on some models β Additional screen settings)
- Pocket Mode (or Pocket Mode on English firmware)
Turn the switch on in the position On.. After that, an additional menu with settings will appear:
- π Sensitivity - regulates how "strictly" the smartphone will detect where in the pocket.
- β±οΈ Delayed activation β the time after which the mode will turn on after placing the phone in your pocket (default β 2 seconds).
- π Block Volume buttons β Disables physical buttons (useful if the volume in your pocket accidentally changes).
Put your phone in your pocket and wait 3-5 seconds
Try pressing the screen β it shouldnβt react.
Get your phone out β the screen must unlock automatically
Check if the volume buttons are working (if they are locked)
-->
If your menu doesnβt have Mode in your pocket, it could mean:
- π± You have an outdated version. MIUI (Update the firmware through Settings β The phone. β Updating the system.
- π§ The feature is disabled at the firmware level (relevant for some regional versions, for example, for India).
- π οΈ The smartphone has custom firmware (for example, Pixel Experience or LineageOS), where this option may not be available.
π‘
If the mode in your pocket doesn't work, try calibrating the proximity sensor. β The phone. β All specifications and 5 times click on the Approximation Sensor. There will be a test menu where you can check the sensor's performance.
Alternative ways to enable (if not in settings)
On some Xiaomi models (especially budget or released before 2021), the mode in your pocket can be hidden.
Method 1: Through the menu of special features
This method works for MIUI 11β13 and some custom firmware:
- Open the Settings. β Special facilities.
- Select Physical buttons (or Button Management).
- Find the lock in your pocket and activate it.
Method 2: Using Quick Settings
On some devices (for example, Redmi Note 10 Pro or POCO X3 Pro) the mode in the pocket can be enabled through the notification panel:
- Swipe down from the top edge of the screen to open the notification bar.
- Click on the icon. βοΈ Edit (pencil).
- Find the Pocket Mode tile and drag it to the active area.
- You can now turn on/off the mode with one touch.
Method 3: Through ADB (for advanced users)
If the function is not in the interface, it can be activated through debugging. USB. For that:
- Turn on Developer Mode (7 times click on the MIUI version in Settings β About Phone).
- Activate Debugging by USB in Settings β Additional β For developers.
- Connect your phone to your PC and execute the command: adb shell settings put global pocket_mode_enabled 1
β οΈ Attention: Use ADB This can cause system failures if you enter the wrong commands. On models with a locked bootloader (for example, Xiaomi). 13T In the European version, this method may not work.
Through the standard MIUI settings
Through special opportunities
Through the Quick Settings Panel
I had to use ADB.
The function is not on my device.-->
Why the pocket mode doesn't work: common problems
Even if you turn on the function correctly, it may not work. Here are the 5 most common causes and solutions:
| Problem. | Possible cause | Decision |
|---|---|---|
| Mode not activated | The proximity sensor is contaminated or damaged | Wipe the sensor area (near the front camera) with an alcohol wipe. If it doesn't work, check the sensor in the engineering menu (##6484###). |
| It works too often. | High sensitivity of sensors | Reduce sensitivity in the mode settings or turn off the volume button lock. |
| The screen will not unlock after removal. | Conflict with other functions (e.g., Raise to activate) | Turn off Raise for Activation in Settings β Display. β Screen locking. |
| The function is not in the menu | Outdated firmware or regional restrictions | Update. MIUI before the latest version or use it ADB (see method 3 above). |
| The mode works when talking. | Approximation sensor conflicts with phone sensor | Turn off the mode in your pocket for the time of calls or use the headset. |
If none of these methods worked, check if the mode in your pocket conflicts with other features:
- π Gestures MIUI (For example, double tapping to wake up can interfere with the correct operation of sensors.
- π‘οΈ Third-party screen locking apps (such as Smart Lock or Tasker).
- π Power saving mode sometimes turns off sensors to save charge.
How to check the proximity sensor without an engineering menu?
The difference between the mode in the pocket from the lock screen and Always on Display
Many users confuse the mode in the pocket with other functions MIUI, Screen locking or always on display (AOD). Discuss the key differences:
| Function | Appointment | How it works | Energy consumption |
|---|---|---|---|
| Pocket mode. | Blocks random taps | Disables the sensor and buttons when in a closed space | Minimum (sensors consume little energy) |
| Screen locking | Protection of data against unauthorized access | Requires input PIN-code, print or face | Medium (depends on the type of lock) |
| Always On Display | Display time and notifications on the off screen | Part of the screen is still active. | Increased (especially on the AMOLED-screen) |
Important nuances:
- π The pocket mode does not replace the locking of the screen, it only temporarily disables the input. If you are interested in security, use both methods.
- π AOD And you can use the pocket mode together, but it increases your battery consumption. AMOLED-screens (Xiaomi 13, Redmi) K60) minimal.
- π οΈ In some models (POCO X4 Pro, Redmi Note 11) AOD Automatically shuts down when the mode in your pocket is activated.
If you want to protect your phone from accidental pressing and save charge, the best combination is:
- Turn on the high sensitivity pocket mode.
- Turn off Always On Display (or set a timer).
- Use fingerprint locking to quickly unlock.
How to set up a mode in your pocket for maximum convenience
By default, the mode is in base mode, but you can fine-tune it to your needs. Here are the options that you need to change:
Sensor sensitivity
If the mode is triggered too often or, conversely, does not turn on in time:
- Go to Settings. β Display. β Pocket mode.
- Choose Sensitivity:
Delayed activation
By default, the mode turns on 2 seconds after placing the phone in your pocket.
- π Reduce latency (up to 1 second) β if the phone often presses buttons in the first moments.
- β±οΈ Increase delay (up to 3-5 seconds) β if the mode is triggered by accidentally covering the screen with your hand.
3. Physical button locking
In the mode settings, there is the option to Lock the volume buttons, which is useful if:
- π The volume in your pocket changes accidentally (for example, when the phone rubs against the keys).
- π΅ You listen to music and the volume goes down when walking.
However, if you adjust the volume in your pocket frequently (for example, through headphones), this option is best turned off.
4. Annex exemptions
Nana MIUI 14/15 It's possible to add exceptions to individual applications, for example, to allow:
- π§ Player (Spotify, YouTube Music) when blocking buttons.
- π Call reception (the screen will remain locked, but you will hear vibrations).
To customize the exceptions:
- Go to Settings β Applications β Permissions.
- Select Special Access β Pocket mode.
- Add the required applications to the list of exceptions.
π‘
Optimal settings for most users: sensitivity - Average, delay - 2 seconds, locking volume buttons - On.
Mode in the pocket on different models Xiaomi: features
The feature works on all Xiaomi smartphones with MIUI 12 and newer, but there are nuances depending on the model and firmware. We tested the mode on 10 popular devices β the results in the table:
| Model | Support for the regime | Features | Recommendations |
|---|---|---|---|
| Xiaomi 14 / 14 Pro | β Yes. | It works stably, there is a sensitivity setting and exceptions for applications. | Use it with AOD β Battery consumption is minimal due to AMOLED-screen. |
| Redmi Note 12 Pro+ | β Yes. | Sometimes it conflicts with the function to raise for activation. | Turn off the lift to activate if the mode is triggered too often. |
| POCO F5 / F5 Pro | β Yes. | In global firmware, the function is called Pocket Mode. | Set up an exception for Google Assistant if you use voice commands. |
| Redmi A2 / A2+ | β No (in the basic firmware) | The function is not in the menu, but it can be activated via the ADB. | Use the alternative β turn off Double Touch to wake up. |
| Xiaomi 12T / 12T Pro | β Yes. | Sensitivity above average can be triggered when talking. | Reduce sensitivity or turn off mode during calls. |
On devices with infrared proximity sensor (for example, Xiaomi 13 Ultra or Redmi) K50 Gaming mode works more accurately than on models with a conventional sensor. 10A, POCO M4 Pro), the function can be delayed or falsely lock the screen during normal use.
For owners. POCO-It is important to note that in some models (for example, POCO X3 NFC) The mode in your pocket turns off the vibration when you're notified:
- Go to Settings. β Sound and vibration.
- Select Vibration at notifications.
- Activate the option to Vibrate even in "Do Not Disturb" mode.