Mode in your pocket on Xiaomi: how to turn on and configure on any smartphone

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:

  1. Display.
  2. Screen lock (on some models – Additional screen settings)
  3. 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:

  1. Open the Settings. β†’ Special facilities.
  2. Select Physical buttons (or Button Management).
  3. 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:

  1. Swipe down from the top edge of the screen to open the notification bar.
  2. Click on the icon. βš™οΈ Edit (pencil).
  3. Find the Pocket Mode tile and drag it to the active area.
  4. 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:

  1. Turn on Developer Mode (7 times click on the MIUI version in Settings β†’ About Phone).
  2. Activate Debugging by USB in Settings β†’ Additional β†’ For developers.
  3. 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 causeDecision
Mode not activatedThe proximity sensor is contaminated or damagedWipe 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 sensorsReduce 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 menuOutdated firmware or regional restrictionsUpdate. MIUI before the latest version or use it ADB (see method 3 above).
The mode works when talking.Approximation sensor conflicts with phone sensorTurn 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?
Call your phone and cover the top of the screen with your hand. If the screen goes out (as when you put it in your ear), the sensor works. If it doesn't, you need to clean or replace it.

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:

FunctionAppointmentHow it worksEnergy consumption
Pocket mode.Blocks random tapsDisables the sensor and buttons when in a closed spaceMinimum (sensors consume little energy)
Screen lockingProtection of data against unauthorized accessRequires input PIN-code, print or faceMedium (depends on the type of lock)
Always On DisplayDisplay time and notifications on the off screenPart 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:

  1. Turn on the high sensitivity pocket mode.
  2. Turn off Always On Display (or set a timer).
  3. 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:

  1. Go to Settings. β†’ Display. β†’ Pocket mode.
  2. 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:

  1. Go to Settings β†’ Applications β†’ Permissions.
  2. Select Special Access β†’ Pocket mode.
  3. 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:

ModelSupport for the regimeFeaturesRecommendations
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:

  1. Go to Settings. β†’ Sound and vibration.
  2. Select Vibration at notifications.
  3. Activate the option to Vibrate even in "Do Not Disturb" mode.

FAQ: Frequent Questions About Mode in Your Pocket on Xiaomi

❓ Is the mode in your pocket eating away at the battery? How much does it consume?
No, the battery consumption is minimal. The proximity sensor and the accelerometer consume about 0.1 to 0.3% of the charge per hour, which is less than the Always On Display. AMOLED-screens (e.g. Xiaomi 13 or Redmi) K60) The impact on autonomy is almost imperceptible.
❓ Can I use the mode in my pocket along with contactless payments?
Yes, but with reservations, the mode locks the touch screen, but it doesn't turn it off. NFC. You can pay with your phone in your pocket if you: πŸ’³ Contactless payments are configured via Google Pay or Mi Pay. πŸ”’ The screen is unlocked (for example, after entering) PIN-code). πŸ“Ά The phone supports payments without unlocking (configurable in the bank app). on some models (Xiaomi 14, Redmi Note 12 Pro)+) You may need to double-press the power button to activate NFC.
❓ Why does the regime work when I just hold my phone in my hand?
This is due to the sensitivity of the proximity sensor: πŸ‘† You cover the top of the screen with your finger (for example, when holding the phone in one hand). 🧴 The sensor got dirt or fat (wipe it with a soft cloth). πŸ”§ Sensitivity set to High - reduce it in the settings. If the problem persists, check the sensor in the engineering menu (##6484##). If the Proximity Sensor values do not change when the screen is covered, the sensor is faulty.
❓ Can I turn on the mode in my pocket on Xiaomi with custom firmware?
Depends on the firmware: βœ… MIUI-based firmware (e.g. xiaomi.eu or MIUI Mix – the function must work because the core of the system is the same. ❌ AOSP-LineageOS, Pixel Experience β€” no mode in your pocket, but you can use alternatives like GravityBox (Magisk requires). MIUI 15, but may be called Pocket Detection.
❓ How to turn off the mode in your pocket if it interferes?
To fully deactivate the function: Go to Settings β†’ Display. β†’ You can use the switch. If you don't have a menu item, you can use it. ADB-Adb shell settings put global pocket_mode_enabled 0 If the mode is on but not working, check if it conflicts with other features (such as Smart Lock or Unlock Face).