How to change the color of the battery indicator on Xiaomi: 5 proven ways

Why users want to change the color of the charging indicator and whether it can be done officially

The battery color indicator on Xiaomi smartphones is a small LED that signals charging status or charge level. It normally burns red when discharged, orange when charged and green when fully charged. But what if you get bored with the classic design or want to personalize the device? Unfortunately, most Xiaomi models (except for the flagship series Mi 11 and later) do not have a built-in color change of the indicator through the standard MIUI settings.

However, there are workarounds, from hidden options in the engineering menu to using third-party applications. It is important to understand that not all methods are equally safe. For example, changing the settings through ADB or modified firmware can lead to loss of warranty or device failures. In this article, we will analyze all available methods, from the simplest to advanced, and also explain which Xiaomi models support the official color change of the indicator.

Before you start, check your smartphone model. To do this, go to Settings β†’ About Phone β†’ Model. If you have a device from the Redmi Note 10/11/12 series, POCO X3/X4/X5 or Mi 10/11/12, the chances of successful color change are higher than those of budget models like the Redmi 9A or POCO M3.

Method 1: Official configuration in MIUI (for supported models)

Some flagship Xiaomi smartphones allow you to change the color of the charging indicator without third-party tools, a feature available in firmware based on MIUI 12.5 and later, but only for a limited list of devices.

  • πŸ“± Xiaomi Mi 11, Mi 11 Ultra, Mi 11 Pro
  • πŸ“± Xiaomi 12, 12 Pro, 12X, 12S Ultra
  • πŸ“± Xiaomi 13, 13 Pro, 13 Ultra (on) MIUI 14+)
  • πŸ“± Redmi K50 Pro, K60 Pro (only on Chinese firmware)

If your device is on the list, follow the instructions:

  1. Open the Settings β†’ Display.
  2. Scroll down and select the Charging Indicator (or Battery Color Indicator).
  3. In the menu that opens, select one of the available colors: blue, purple, blue or yellow.
  4. Save the changes and restart the phone if the color doesn’t change immediately.

⚠️ Note: Some firmware may call the option something else, like LED settings or notification color. If it's not, your model doesn't support the official color change.

πŸ“Š What is your Xiaomi model?
Redmi Note 10/11/12
POCO X3/X4/X5
Mi 11/12/13
Redmi 9/9A/9C
Another model

Method 2: Use of an engineering menu (for power users)

If there is no official way, you can try changing the color through the engineering menu, which works on most Xiaomi smartphones, but you need to be careful: the wrong settings can lead to malfunctions of the LED.

Instructions:

  1. Open the Phone app and enter the combination: ##36446337###
  2. You will be taken to the Engineer Mode. Go to the Hardware Testing β†’ LED section.
  3. In the LED Test sub-menu, select Battery LED or Charging LED.
  4. You'll see Red, Green, Blue, change your values with sliders or enter numerical codes (0 to 255).
  5. Press Set or Apply, then restart the phone.

Example of combinations for popular colors:

ColourRed (R)Green (G)Blue (B)
Blue00255
Purple.1280128
Blue.0255255
Pink.255192203

⚠️ Note: On some firmware, changes to the engineering menu are reset after the system update. There is also a risk that the LED will stop working correctly (for example, it will burn constantly or flash.

Charging your phone at least 50% | Backup of important data | Record of current LED settings (photo/screenshot) | Model compatibility check-->

Method 3: Apps from Google Play (without root)

If you don't want to dig into the settings, you can try specialized applications that don't change the color of the LED at the hardware level, but simulate the charging indication with the screen or notifications.

  • πŸ”Ή LED Blinker Notifications – allows you to configure color notifications for charging, SMS It works on most Xiaomi models, but requires permission to access notifications.
  • πŸ”Ή Battery LED Notifier simulates the charge indicator on the lock screen and supports color adjustment for different charge levels (e.g. red at 15%, yellow at 50%, green at 100%).
  • πŸ”Ή Always On Edge creates backlight at the edges of the screen (Ambient Display effect), you can adjust the color depending on the status of the battery.

How to set up LED Blinker Notifications:

  1. Install the app from Google Play.
  2. Open it and give you access to notifications.
  3. Go to Battery or Charging section.
  4. Choose a color for each status (charged, fully charged, discharged).
  5. Activate the Show on Screen option if you want the indicator to appear on the display.

The downside of this method is that the indicator only works when the screen is on or in notification mode. The physical LED remains unchanged.

πŸ’‘

If the app doesn't work, check if the power saving mode is on, and some programs are blocked by MIUI to optimize the battery.

Method 4: Change through ADB (for advanced users)

If you’re ready for more complex manipulations, try changing the color of the indicator via Android Debug Bridge (ADB), a technique that requires connecting the phone to a computer and basic command line knowledge.

Step-by-step:

  1. Download and install ADB Tools on PC.
  2. On your phone, activate Developer Mode: go to Settings β†’ About Phone and click on MIUI Version 7 times.
  3. Return to Settings β†’ Additional β†’ For developers and enable USB debugging.
  4. Connect the phone to your computer and type in the command line:
adb devices

(The name of your device should appear.)

adb shell


su




echo "color code" > /sys/class/leds/battery/color

Instead of a color code, enter one of the values:

  • πŸ”΄ red is red
  • 🟒 green is green
  • πŸ”΅ blue
  • 🟣 purple - purple (not working on all models)

Example of a blue team:

echo"blue" > /sys/class/leds/battery/color

⚠️ Attention: This method requires root rights (most Xiaomi smartphones don't have them by default) without root access, the command won't work.

What if the ADB can’t see the device?
If the adb device command doesn’t show your phone, check: 1. If Xiaomi drivers are installed USB Drivers on PC. 2. Is File Transfer Mode Enabled (MTP) when connected USB. 3. Does the antivirus block the connection ADB. 4. Try another one. USB-cable (preferably original).

Method 5: Castom firmware (for enthusiasts)

If none of these methods worked, the last option is custom firmware (e.g. LineageOS, Pixel Experience or Xiaomi.eu) and many alternative MIUI builds allow you to flexibly adjust the battery display, including:

  • 🎨 Selection of any color from the palette RGB.
  • πŸ”„ Setting up blinking or smooth transition of colors.
  • πŸ“Š Relation of color to percentage of charge (e.g., gradient from red to green).
  • πŸ”‹ Turning off the indicator completely.

However, this method has serious disadvantages:

  • ❌ Loss of warranty (if the phone is under warranty).
  • ❌ Risk of "bricking" (turning into a "brick") with firmware error.
  • ❌ The need to unlock the bootloader, which takes up to 720 hours of waiting (according to the rules of Xiaomi).
  • ❌ Possible bugs in the work of the camera, sensors or wireless modules.

If you do, follow this algorithm:

  1. Unlock the bootloader through the official Xiaomi website (en.miui.com/unlock).
  2. Download the right firmware for your model (check compatibility on the 4PDA or XDA Developers forums).
  3. Install firmware via TWRP Recovery or Fastboot.
  4. After installation, find the indicator settings in Battery β†’ LED indicators.

πŸ’‘

Custom firmware is the most radical way, but it's also the most flexible way, and if you want stability, you'd better focus on apps or engineering menus.

Frequent problems and their solutions

When changing the color of the battery indicator, users often encounter errors. Let's consider the most common and ways to eliminate them:

Problem.Possible causeDecision
Color unchanged after adjustmentSettings are not saved or firmware does not support the functionReboot your phone. If it doesn't work, reset the LED settings in the engineering menu.
The LED flashes or burns constantlyIncorrect settings in the engineering menu or application conflictReset your LED settings via ##36446337## or remove third-party display apps
ADB does not see the deviceDrivers not installed or USB debugging enabledInstall Mi PC Suite or check the developer settings
After the firmware, the LED does not work.The hardware does not support the hardware display.Return to the official firmware or find an alternative build with LED support

If none of these methods worked, it’s possible that your Xiaomi model simply doesn’t support color change, leaving you with two options:

  1. Use LED overlays (sold on AliExpress or in accessories stores).
  2. Disable the indicator completely through the engineering menu (LED Off).
Can I change the color of the indicator on the Redmi Note 9 Pro?
There's no official color change feature on the Redmi Note 9 Pro. You can try an engineering menu or an app like LED Blinker, but you can't change a physical LED without root rights.
Why did the LED stop working after the change of color in the engineering menu?
Chances are you have entered incorrect RGB values (for example, all three parameters are 0). Go back to the engineering menu and reset to the standard settings: Red: 255, Green: 0, Blue: 0 for red.
Will it work? ADB-method POCO X3 Pro?
On the POCO X3 Pro, the ADB method only works if there are root rights, and without them, the team will not change the color of the LED, since it requires access to system files.
How to return the standard color of the indicator?
To reset your settings, go to the engineering menu (#36446337##), select LED β†’ Battery LED and set the defaults: Red: 255, Green: 0, Blue: 0 (red when discharged) and Red: 0, Green: 255, Blue: 0 (green when fully charged).
Can I change the color of the indicator to Xiaomi without a computer?
Yes, but only if your model supports the official setup (see Method 1) or you use apps from Google Play (see Method 3). ADB No computer is needed, but technical knowledge is required.