Xiaomi and Redmi are famous for their functionality and availability, but the MIUI or HyperOS shell interface sometimes contains features that can annoy users. One of these features is the ability to make an emergency call or activate the voice assistant when you repeatedly press the lock button. This feature was conceived to quickly communicate with rescue services in critical situations, but in practice often leads to random dials in your pocket or alarm clock in the middle of the night.
Users often look for ways to set up a lock button to avoid awkward situations and save battery life. Random dialing can not only drain the device, but also disturb contacts from the emergency list. Fortunately, the system settings have a mechanism for managing this setting, although finding it the first time can be difficult because of the localization of the menu.
In this article, we will take a look at the algorithm that will allow you to completely protect your smartphone from random calls. We will look at the standard paths in the settings menu, and also touch on specific scenarios associated with the voice assistant Google Assistant, which is often activated by the same button.
Reasons for Accidental Call Activation
The main cause of unwanted calls is the Emergency Call feature, which is activated after five quick presses of the power button, which is enabled by default on most global firmware versions for security purposes. However, high sensitivity touchscreen or wearing a phone in a narrow pocket of jeans often leads to false positives.
The second common reason is that Google Assistant or XiaoAI is activated when you hold the lock button long enough, and if you have a finger in your pocket or a cloth that fits tightly into the button, the phone may take it as a command and start dialing with your voice or perform actions leading to a call, and the mechanical button may stick over time, which also causes chaotic behavior.
⚠️ Attention: Frequent occasional calls to emergency services can cause your number to be entered in a false call database, making it difficult to get help in a real emergency situation.
Also, it’s worth considering that some third-party apps can intercept button control, creating conflicts. If you’ve installed programs to customize the interface or control volume, check their permissions. Android’s system constraints don’t always properly handle the priorities of such applications, which leads to unpredictable results when you press physical keys.
Disabling emergency call in security settings
To prevent the phone from calling when you press a button, you need to go to the security settings section, which is the most effective method, since it disables the very ability to initiate the phone. SOS-The path to this menu may vary slightly depending on the version. MIUI, But the logic remains the same for all devices of the brand.
First, open the main app menu and find the Settings icon, and in the options list that opens, you'll need to find the security section of the device, and some models may simply call it Security, while others may hide it inside the Passwords and Security submenu, and it's important not to confuse this with the application settings.
☑️ Check before changing the settings
Inside the security section, look for Emergency Call, or SOS. This is where the switch activates the five-click function. Deactivating this slider will completely prevent the system from responding to a series of lock button clicks with a call. Once turned off, the system can request confirmation of action or input a password to unlock the screen.
It's worth noting that in some regions (e.g. India or Europe), this can be tightly tied to legal requirements, and if you can't find a switch, it may be hidden deep in the menu or blocked by a carrier, and changing the region in settings helps, but it can affect the performance of some system applications.
Adjust the reaction to a long pressing button
Another scenario that leads to unwanted actions is a long pressing of the power button. By default, many Xiaomi smartphones are set to start Google Assistant when holding the button for 0.5-1 seconds.
To solve this problem, go to Settings and search for settings by typing the phrase “Power button” and you will see a menu where you can select the action with a long press. The standard version of Google Assistant should be replaced with Nothing or Shutdown menu, if this option is available in your version of firmware.
Changing this setting will not only prevent random calls, but also speed up access to the device's reboot menu.This is especially useful if you're used to using long clamping to turn off the screen or other actions.
💡
If the action selection option is hidden, try temporarily disabling Google Assistant in the settings of the Google app itself to unlock the choice of Nothing.
Owners of HyperOS devices should check the additional settings in the “Special Features” section, which may contain a clause allowing the assistant to start even when the screen is off, and disabling this feature ensures that the phone in your pocket does not start to “listen” to you and respond to sounds.
Managing the functions of the power button in special features
There's a tier of customization in the Android operating system called Accessibility, which gathers features to help people with disabilities, but is often used by ordinary users, and it's in this section that you can find deep button management settings that can redefine standard system behavior.
Find the Special Features section in the settings. Universal Control or Quick Access may be of interest to you inside. If any voice or emergency services are activated here, they need to be rechecked. Often, it is third-party accessibility services that intercept the signal from the lock button.
| Function | Location on the menu | Recommended action | Impact on the call |
|---|---|---|---|
| Emergency call. | Security/SOS | Shut down. | Blocks 5 taps. |
| Google Assistant | Settings / System | Change the action | Blocks the long clamp. |
| Universal governance | Special opportunities | Check the permits | Can intercept a click |
| Pocket mode. | Lockdown and protection | Turn on | Prevents false pressing |
Pay particular attention to permissions for applications. If you've installed a launcher or a call management program, check if it has permission to use the power button. Access rights conflict is a common reason why system settings are ignored.
⚠️ Warning: By disabling services in the Specials section, make sure you don’t disable the features you need to control your phone, such as eye control or voice control.
ADB's Hidden Teams
Mode in the pocket and protection against false positives
A separate and very important feature that helps solve the problem of random calls is Pocket Mode. Although it doesn't directly disable the call with the button, it locks the screen and sensor when the proximity sensor is closed (for example, by the fabric of a pocket), which prevents the button presses from registering if they occur inside the pocket.
You can activate this feature in the screen lock menu or screen is always on and lock. Find the Mode switch in your pocket and make sure it is active. On some Redmi and POCO models, this item may be called "Advertent Press Protection."
The efficiency of the mode depends on the serviceability of the proximity sensor. If the sensor is contaminated or closed with a protective film, the function may not work. Regularly wipe the top of the screen. Clean sensor is the key to the correct operation of the software protection mechanisms.
If the pocket mode is on, but the phone is still ringing, try calibrating the sensor, which can be done through an engineering menu or a special application from the Play Market, and calibration helps the system to more accurately determine when the phone is in a confined space.
💡
The combination of turning off emergency SOS and turning on the mode in your pocket gives you a 100% guarantee of protection against accidental calls when wearing your phone in clothes.
Solving button sticking problems and hardware malfunctions
Sometimes the software settings are powerless if the problem lies in the physical wear of the device. The lock button on Xiaomi smartphones is located on the side of the side and is subject to constant mechanical stress. Over time, the contact group can oxidize and the mechanism loses its elasticity, which leads to the “sticking” effect.
You can check the status of the button using special tests in the engineering menu. Enter the code ##6484## in the phone application (does not work on all models) and select a button test. If the system registers multiple clicks or double clicks with a light touch, the button most likely needs to be replaced.
Temporarily, the solution to the problem is to use a cover that has a protruding side around the button, preventing it from accidentally pressing, and you can also try to gently clean the gap around the button with compressed air to remove dust and pile, which often cause sticking.
⚠️ Note: Do not try to disassemble the button or pour it with alcohol without removing the module, the liquid can get under the screen and disable the display.