Why Xiaomiβs flashlight doesnβt turn off and what to do about it
The flashlight on Xiaomi smartphones is one of the most popular features, but it sometimes becomes a source of irritation, such as when it accidentally activates in your pocket, drains the battery or simply does not respond to standard methods of shutting down. In this article, we will discuss all possible methods of deactivating the flashlight, including little-known tricks for emergency cases.
The problem is compounded by the fact that the manufacturer regularly changes the location of controls in the firmware MIUI. What worked on the Redmi Note 10 may not work on the Xiaomi 13 Ultra. We took these nuances into account and collected current instructions for all modern models (2020-2026).
Important: if the flashlight is turned on spontaneously without your participation, this may indicate a hardware malfunction (for example, sticking a button or damage to the plume), in which case it is better to contact the service center.
Method 1: Disconnect through the notification panel (curtain)
The most obvious and quickest method is to use the notification bar, which works on all Xiaomi smartphones regardless of the model and version of MIUI (except for devices with highly customized firmware).
Instructions:
- Swipe your finger down the screen to open the notification bar.
- If the curtain is not fully opened, swipe again - all icons should appear.
- Find the flashlight icon (usually looking like a flashlight or a light bulb) and tap it.
If there is no flashlight icon:
- π Check if it is hidden under the βMoreβ button (three dots or arrow down).
- βοΈ Go to Settings. β Notification panel β Order of icons and add a flashlight to the active.
- π± In some models (for example, POCO F5) The flashlight can be in the section "Quick settings" in the second swipe.
π‘
If the flashlight does not turn off the first time, try tapping the icon twice with an interval of 1 second - this works when the system freezes.
Method 2: Use the lock button (double press)
Many users are unaware that on most Xiaomi smartphones, the flashlight can be controlled by double-pressing the lock button, a feature enabled by default on the Redmi Note series, POCO and flagships (Xiaomi 12/13/14).
How it works:
- π Press the lock button twice in a row (with intervals) ~0.5 sec).
- π¦ At the first double press the flashlight will turn on, at the second - it will turn off.
- π΅ Works even on a locked screen (unless the function is disabled in the settings).
If the function is not working:
- Go to Settings β Lock screen β Additional settings.
- Find the item "Double press the power button" and select "Flashlight".
- Make sure the option is active (slider is enabled).
Method 3: Voice Assistant (Google Assistant or Xiao AI)
When hands are busy or the screen is unavailable, voice commands come to the rescue. Xiaomi smartphones support two types of assistants:
- π€ Google Assistant β Works on all models with Google services.
- π§ Xiao AI β brand assistant, available on Chinese and global firmware.
Instructions for each:
| Assistant | Command to shut down | Features |
|---|---|---|
| Google Assistant | "Okay, Google, turn off the flashlight" | It works on a locked screen if access is enabled in the security settings. |
| Xiao AI (Chinese version) | ''Xiao Ai, turn off the flashlight'' (on Russian firmware) | Requires activation in Settings β Xiao AI β Voice control. |
| Xiao AI (global version) | "Turn off flashlight""Close torch" | It may not work on some regional firmware. |
If voice commands are not recognized:
- π€ Check if the microphone for the assistant is enabled in the privacy settings.
- πΆ Make sure your phone is connected to the internet (helpers need cloud services).
- π Set up voice activation in the assistant menu (e.g., βOK, Googleβ or βHey Xiaoβ). AI").
What if the assistant turns on the flashlight instead of turning off?
Method 4: Disable via the "Special Features" menu (if the screen is not working)
Situation: Xiaomi's smartphone screen doesn't respond to touch, but the phone is on. How do you turn off the flashlight in this case? The solution is to use special-purpose gestures that work even when the display is faulty.
Algorithm of action:
- If the screen is completely black, but the phone makes sounds, try triple pressing the power button β this can activate special features mode.
- On a working but non-responsive screen: π Swipe two fingers from top to bottom (gesture to open the curtains). π If the curtain is opened, try to tap the area where the flashlight icon should be (usually in the upper right corner).
MIUI 12+
Voice access
- Activate it in advance in Settings β Special. features β Voice access.
- Say "Open the notification panel", then "Push the flashlight".
- Connect your phone to your PC and execute commands: Adb devices adb shell input keyevent 26 # turns on/off flashlight
Alternative teams:
- π¦ Turning off flashlight forced: adb shell"echo" 0 > /sys/class/leds/torch-light0/brightness"
- π± Checking the status of the flashlight: adb shell"cat /sys/class/leds/torch-light0/brightness" (return"1", if it's on,"0" β if off).
β οΈ Attention: Misuse of the right ADB Do not execute commands unless you are sure of their purpose, such as writing to non-existent system files (/sys/class/leds/...) cause error.
π‘
ADB is a powerful tool, but it requires caution. Always check the commands for compatibility with your Xiaomi model before executing.
Frequent problems and their solutions
Sometimes the flashlight on Xiaomi behaves inappropriately: spontaneously turns on, does not turn off or flashes, let's analyze typical scenarios and ways to eliminate them.
| Problem. | Possible cause | Decision |
|---|---|---|
| The flashlight turns on on itself | Power button sticking Failure in the operation of the proximity sensor Viral software | Check the button for physical damage Disable "Smart Assistant" in the settings Scan the phone with antivirus (for example, Malwarebytes) |
| The flashlight doesn't turn off in any way. | System freeze Damage to camera driver/flashlight | Reboot your phone forcibly (press the power button for 10 seconds) Reset to factory settings (if the problem persists) |
| The flashlight flashes or works intermittently | Weak contact in the camera connector Low battery charge Activated SOS mode | Charge your phone to 30% or more Turn off emergency alert mode in security settings Contact the service to check the camera plume |
If none of the methods worked and the flashlight continues to work, it could indicate a hardware malfunction.
- π οΈ Contact the authorized Xiaomi service center.
- π¦ If the phone is warranty, do not try to disassemble it yourself.
- π On models with removable battery (for example, Redmi) 4A) You can temporarily turn off the power, removing the battery for 10-15 seconds.