How to quickly and efficiently turn off the flashlight on Android Xiaomi

The situation where the flashlight on a smartphone lights up at the most inopportune moment and refuses go out is familiar to many Xiaomi owners.This can happen due to accidental pressing, a malfunction in the system or a pressed power button. Especially unpleasant when the screen is locked and the light continues to burn, draining the battery and heating the device.

MIUI and the new HyperOS have different flash control mechanisms, but sometimes standard methods don’t work. The user has to find alternative solutions to force the lights out. In this article, we’ll look at all possible ways to deactivate, from simple swipes to deep system settings.

If your flashlight doesn’t turn off after unlocking the screen and rebooting, it could indicate a software conflict or a physical button malfunction. Before panicking, try the steps below to regain control of the device.

Standard methods of shutting down through the notification curtain

The most obvious and quick way to extinguish a flash is to use a control center. In most cases, Xiaomi's system allows you to control basic functions directly from the lock screen or desktop. You just need to swipe from top to bottom to open the notification bar.

Find a flashlight icon. If it's bright (usually blue or orange), it means the function is active. One short tap on the icon should change its color to gray and turn off the lights. If the swipe doesn't work because of security settings, unlock the device first.

Sometimes the interface can hang. In this case, try to close the curtain and open it again. Also make sure you don't have Do Not Disturb mode or special profiles that can block changing system settings through quick access.

  • 🔦 Swipe from top to bottom to open the control center
  • 🔦 Find the flashlight icon in the top row of widgets
  • 🔦 Click on the icon to change its status to “Off»
  • 🔦 Check if the flash on the back panel has gone out.

In some versions of the firmware, the icon may be hidden in the second quick settings menu. Swipe your finger down the curtain left or right to see the extra buttons. If the icon is not at all, you can add it through the edit menu, but it will not work for an emergency shutdown.

Use of power button and gestures

Many users activate the flash by double pressing the lock button or by long pressing the power key. To turn off the light, it is often enough to repeat the same action. Try twice to quickly press the switch on if this function is configured in the system.

In Xiaomi and Redmi models with a side fingerprint scanner, a random touch of the sensor may include a flashlight. Make sure you don't keep your finger on the scanner for too long. A short tap will usually unlock the screen, and a long one will trigger a switch-off menu or activate lights.

💡

If the power button is physically stuck or damaged, the flashlight can turn on spontaneously, in which case use software-based shutdown methods or connect an external keyboard via OTG.

There is also a method of button combinations. On some devices, simultaneously pressing the volume and power button can restart the system, which is guaranteed to turn off all active processes, including flash, but this is a last resort if other methods do not help.

Setup automation in the Mi Home app or Scenarios

For advanced users of the Xiaomi ecosystem, an automatic script is a great solution. The built-in Scripts app (or integration with Mi Home) allows you to customize the conditions under which the flashlight will be forced to turn off.

You can create a rule, "If the screen is off for more than 10 seconds, turn off the flashlight." This will prevent you from putting your phone in your pocket and the lights continue to burn, and this automation saves battery power and saves the LED from overheating.

How to Create a Complex Scenario
Go to Security → Scenarios → Create. Select Screen Off and Turn off the flashlight. Set a 5-10 second delay to keep normal operation.

It's also worth checking the special features settings. Sometimes third-party apps request access to the camera and flash and forget to release it. In the settings menu, look for the "Special features" section and see which services are active. Disabling suspicious services can solve the problem.

  • 📱 Open the “Scripts” app on your desktop
  • 📱 Click “Create a script” and select the screen time or state condition
  • 📱 In the action, specify "Switch off the flashlight»
  • 📱 Save and activate the created profile

Automation is especially useful for parents whose children like to play with their phone, and a child may accidentally turn on the lights and a smart script will turn it off even if the phone is locked, which adds a level of control to the device.

The problem of sticking a button and physical impact

A common cause of unextinguishable light is mechanical damage or contamination of the power button, and if the Power button gets into the body or, conversely, does not fully depart after pressing, the system perceives this as a permanent retention.

Carefully examine the end of the device. Try to press the button carefully several times to "stir up" the mechanism. Don't make excessive efforts not to break the plume permanently. Light tapping of the finger on the body near the button sometimes helps the contact to move away.

☑️ Diagnostics of the power button

Done: 0 / 1

If the phone is in a case, remove it. A tight or deformed case can push the button to simulate a push. After removing the protection, check if the flashlight goes out. If the problem disappears, just replace the accessory with a more suitable size.

⚠️ Warning: Do not try to disassemble the case or pick a button with a needle unless you have repair skills, this can damage the waterproof (if any) and cause the plume to break, after which the button will not react completely.

In winter, the button can get stuck because of the low temperature. Put the device in a warm room and let it warm up. Condensation inside the mechanism can also cause the contacts to short out, leading to chaotic turn on of functions.

Comparison of disabling methods for different versions of MIUI

Xiaomi’s shell interface has changed over the years, and the way it manages the flashlight varies, too. In older versions of MIUI, the controls were more direct, while newer versions of HyperOS add security layers that require unlocking to access the curtain.

Below is a table that will help you navigate your system version, so you can find the right switch faster or understand why the standard method is not working on your device.

System versionPositioning of the buttonI need to unlock.Features
MIUI 10-11Top curtainNo.Direct access from the lock screen
MIUI 12-13Control centre (right)Yeah (often)Division of notification and management
MIUI 14Centre for controlYes.Improved animations, widgets
HyperOSControl panelYes.Integration with the ecosystem, strict rights

If you've recently upgraded and used to swipe the lights off without unlocking, now the system may require a pin code to be entered, so that no outsider can manipulate your phone's functions, and it will take a couple of days to adapt to the new rules.

What to do if the flashlight does not turn off programmatically

There are times when a software failure blocks the control of the LED, you press a button in the curtain, it changes color, but the lights don't go out, or the button doesn't press at all, and this requires a deeper intervention in the Android operating system.

First, try to force the Camera or Flashlight app to close if it is running. Go to Settings → Apps → All apps, find the Flashlight (or Camera) system app, and click Stop. This will force the process using the flash to end.

📊 How often do you have a flashlight failure?
Daily:Once a week:Rarely, after updates:Never

If stopping the app didn't help, perform a soft reboot.Press the power button for 10-15 seconds until the phone vibrates and the MI or Xiaomi logo appears.Reboot clears RAM and resets the states of all drivers, including the flash driver.

⚠️ Warning: Do not allow the flashlight to operate in maximum brightness mode more 15-20 This can cause the camera module to overheat critically and melt plastic elements around the LED.

As a last resort, if nothing works and the lights are on all the time, empty the battery to zero. Put the phone on the table, turn on the screen maximum brightness and leave it until it turns off. Once the charger is plugged in, the stuck state problem usually disappears.

Frequently Asked Questions (FAQ)

Why does Xiaomi flash flash instead of burning constantly?
A flash usually indicates low battery power when the system is trying to protect the battery, or that the device is overheated. It can also be a sign of a camera driver failure. Try restarting the phone.
Can I set the flashlight off by cotton or shaking?
You can't do this with standard MIUI tools, but you can install third-party apps from Google Play that use an accelerometer to control a flash, or create a complex script in the Scenarios app.
Is it bad for your phone if the flashlight burns all night?
Yes, it's harmful. Long-term operation of the LED at full power causes strong heating, which accelerates battery degradation and can damage the camera matrix or unstick the display from heating.
How to turn off double-pressing on the screen to turn on the flashlight?
Go to Settings → Additional settings → Gestures and buttons (or “Special Opportunities”). Find “Run flashlight” and turn off the option “Double tap” or “Double tap”.
The flashlight is in your pocket, what should I do?
This is a pocket kit. Turn on the Mode in Your Pocket function in your screen or lock settings. Also check if the volume button is pressed, as some models have a bunch of buttons that can activate light.