Mode in your pocket on Xiaomi: how it works, why you need and how to set up

What is “Mode in your pocket” on Xiaomi and why you need it

Pocket Mode is one of the little-known but extremely useful features in MIUI firmware that prevents accidental taps on the screen when the smartphone is in your pocket or bag. Unlike standard screen locking, it works intelligently: it doesn't just turn off the display, it analyzes the position of the device, lighting and even movement.

Imagine a situation where you put a Xiaomi Redmi Note 12 or POCO X5 in your jeans pocket, and a minute later you find that a random voice message has been sent in the messenger and the brightness of the screen has eaten 5% of the charge. This is the case where Pocket Mode is created. The function is automatically activated when the smartphone sensors detect that the device is in a closed space (pocket, bag, backpack) and the screen is pointing down.

It's important to understand that it's not the same as a double-tap to wake up or a lift to activate. The pocket mode is a separate algorithm that works at the system level and interacts with the gyroscope, the accelerometer and the proximity sensor. It's especially relevant for smartphone owners with a high-speed camera. AMOLED-screens, where even in the off state, "ghost" touches are possible due to the high sensitivity of the sensor.

How the “mode in the pocket” works: technical details

The algorithm of the function is based on data from several sensors:

  • 🔄 Gyroscope and accelerometer – determine the position of the smartphone in space (whether it lies horizontally, vertically or at an angle).
  • 👁️ Approximation sensor – detects whether the screen is closed (for example, when the phone is in your pocket facing the body).
  • 🌓 Light sensor – analyzes the level of external light (it is usually dark in the pocket, which serves as an additional signal).
  • 📱 Touch Sensor – blocks the processing of presses if the system determines that the device is “in your pocket».

When all conditions are the same, MIUI automatically:

  1. Disables touch processing (but does not block it completely – calls and notifications continue to work).
  2. Dimming vibration (if the appropriate setting is enabled).
  3. Ignores gestures such as Swipe up or Double-Tap.

Interesting fact: some models (such as the Xiaomi 13 Ultra) integrate the feature with AI algorithms that learn from the user’s habits, for example, if you often put your phone in your pocket face-up, the system adapts over time and won’t bounce falsely.

📊 You use the “Mode in your pocket” function on Xiaomi?
Yeah, always on.
Sometimes I turn it on.
I don't know what it is.
No, you don't.
I've been bugged.

How to turn on or off “Mode in your pocket” on Xiaomi

By default, the function can be activated or deactivated depending on the model and version of MIUI, to check its status and configure:

  1. Open Settings → Screen (or additionally in some versions).
  2. Scroll down and find Pocket Mode. On some devices, the path may be different: Settings → Special Features → Physical buttons and gestures.
  3. Activate the switch if the function is disabled.

On smartphones with MIUI 14/15, additional options are available:

  • 🔕 Blocking Vibration – Includes a slight vibration when the mode is activated.
  • 🔄 Automatic shutdown – deactivates the mode if the phone lies without movement for a long time (useful for saving charge).
  • 📴 Ignore calls – allows you to receive incoming calls without turning off mode.

☑️ Checking the work of “Mode in the pocket»

Done: 0 / 4

⚠️ Note: On some models (e.g, POCO F5) This feature may conflict with Always-on Display gestures. If the screen spontaneously turns on in your pocket, try turning off the display. AOD or update the firmware.

Common Problems and Their Solutions

Despite its usefulness, Mode in Pocket sometimes malfunctions, and here are the typical situations and ways to fix them:

Problem.Possible causeDecision
The mode is not activated automaticallyContaminated proximity sensor or disabled sensor permissionsWipe the sensor (near the front camera). Check the resolutions in Settings → Applications → System → Sensors.
The screen does not respond after being removed from the pocket.Failure of the gyroscope or system freezeReset your smartphone. If the problem repeats, reset the sensor settings in Settings → About Phone → Reset settings.
False positives (for example, when the phone is on the table)Sensitivity of sensors is too highCalibrate the sensors via the engineering menu (#6484##) or disable the feature.
Fast battery dischargeThe function constantly analyzes sensor dataTurn off Vibration when you lock or use Power Saving Mode.

If none of these methods worked, check if Pocket Mode conflicts with other features:

  • 🔒 Smart Lock – can interfere with the correct operation of sensors.
  • 🤖 Third-party launchers (Nova, Apex) – sometimes intercept gesture control.
  • 🛠️ Castom firmware - in unofficial assemblies MIUI The function can be removed or modified.
How to reset sensor settings in the engineering menu?
1. Enter the code ##6484## in the Phone app. 2. Select Sensor Test. 3. Press Calibration for each sensor (accelerometer, gyroscope, approximation). 4. Reboot the device. ⚠️ Do not change other options in the engineering menu without knowing their purpose!

Differences in the “mode in the pocket” on different models Xiaomi

Pocket Mode functionality can vary depending on the smartphone series and MIUI version.

  • 📱 Flagship models (Xiaomi) 13/14 series, MIX Fold: Supports adaptive AI learning that adapts to the user's habits, for example, if you often put your phone in your bag face-up, the system will stop blocking the screen in this position.
  • 💰 Mid-size segment (Redmi Note 12, POCO X5): function works on the basic algorithm without AI, but there is an option to adjust the sensitivity of sensors.
  • 🆕 New firmware (MIUI 15+): Integration with Always-on Display is added – the screen can show time and notifications even in your pocket, but block touches.
  • ⚡ Outdated models (Redmi 9, POCO M3): The function may be absent or not work properly due to weak sensors.

On devices with MIUI for POCO (for example, POCO F4 GT), an alternative implementation is sometimes found - Game Pocket Mode (GPU), which blocks only side touches during gameplay, but does not affect the main screen operation.

💡

If you use a magnetic lock case, Mode in your pocket may fire less often – the magnet automatically locks the screen and the system thinks no additional protection is needed.

How function affects battery and performance

Many users are concerned that constant monitoring of sensors increases the charge consumption.

  • 🔋 Battery consumption: On average, Mode in Pocket consumes 1–3% of the charge per day when used actively. NFC On flagships (Xiaomi 13 Pro) costs are minimal thanks to the optimized Snapdragon 8 Gen 2 processor.
  • ⚡ Productivity: the function does not load CPU, because the processing of sensor data takes place at the microcontroller level (without affecting the main cores of the processor).
  • 📉 Exceptions: on budget models (Redmi) A2) weak-iron G36) There may be a slight slowdown when Pocket Mode and resource-intensive applications (for example, games) are running simultaneously).

To check the effect on the battery:

  1. Open Settings → Battery → Battery Use.
  2. Find System Services or Sensors in the list.
  3. If the consumption exceeds 5% per day, try calibrating the sensors or turning off the function.

⚠️ Note: On some devices (POCO X3 Pro after updating to MIUI 14 experienced battery-excessing bugs due to Pocket Mode failure Solution: roll back to the previous firmware version or wait for a patch.

Alternative ways to protect against accidental pressing

If Pocket Mode** doesn’t work for you (for example, due to unstable work), consider alternatives:

  • 🔐 Password/pattern lock: classic method, but less convenient – you have to unlock the screen every time.
  • 👆 Disable gestures: Deactivate Double-Tap to wake up and Uplift to activate in Settings → Screen. → Lockdown.
  • 📱 Magnetic lock cases: automatically lock the screen when closed, but do not protect against touching in the open state.
  • 🤖 Third-party apps: Gravity Screen (using sensors to automatically lock) but requires additional permissions.

Compare the effectiveness of methods:

MethodTouch protectionConvenienceBattery consumption
Pocket Mode (Pocket Mode)⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐
Password/pattern lock⭐⭐⭐⭐⭐⭐⭐
Turning off gestures⭐⭐⭐⭐⭐⭐
Magnet case⭐⭐⭐⭐⭐⭐⭐

💡

“Mode in your pocket” is the optimal balance between protection and convenience, but on budget models Xiaomi can work unstable, in such cases, it is better to combine it with turning off unnecessary gestures.

FAQ: Frequent questions about “Mode in the pocket” on Xiaomi

🔍 Why Mode in the Pocket Doesn't Work on My Xiaomi?
Possible reasons: The feature is disabled in settings (check the Settings path → Screen → Mode in your pocket). The proximity sensor is contaminated or damaged (wipe it with soft cloth); custom firmware is installed where the function is removed; conflict with other options (e.g. Always-on Display or Smart Lock); Solution: reboot the device, update the MIUI to the latest version, or reset the sensor settings through the engineering menu.
⚡ Can the “mode in the pocket” drain the battery?
Yes, but not much. On average, it's 1 to 3 percent per day, because the sensors consume minimal energy. On flagship models (Xiaomi 13, MIX 4), the effect is almost imperceptible. If the battery goes down too quickly, check other background processes through the Settings → Battery.
📱 Does the feature work on all Xiaomi smartphones?
No. Pocket Mode is available on most devices with MIUI 12 and later, but may not be available on: Older models (Redmi 8, POCO F1), Lightweight Firmware (MIUI Lite) and some regional versions (e.g. India or China). To see if your smartphone supports the feature, check if there is a corresponding item in the screen settings.
🔧 Can you adjust the sensitivity of the "mode in the pocket»?
On some models (Xiaomi 12T, POCO F5), the feature has a Sensitivity slider in its settings that allows you to adjust how aggressively the system should block touches. If there is no such slider, try: Calibrate sensors through the engineering menu (##6484##). Update MIUI to the latest version. Use third-party applications (e.g., Gravity Screen).
🛠️ What to do if the screen does not respond after being removed from your pocket?
This is a rare bug that usually occurs due to: Approximation sensor malfunction; conflict with other features (e.g. Always-on Display); incorrect firmware updates; Solutions: Reset your smartphone; Turn off and reset your pocket mode**. Reset sensor settings (see spoiler above). If the problem repeats, reset settings via Settings → About phone → Reset (no data loss).