How to find out which application eats the battery on Xiaomi: 7 working ways

Xiaomi’s battery runs out too fast, and you don’t know why? Most often, the blame is on background processes or β€œgluttonous” applications that consume power in stealth even in standby mode. In this article, we’ll look at all the possible ways to identify such β€œenergy vampires” – from standard MIUI tools to hidden Android features and third-party utilities.

Xiaomi smartphones (including Redmi, POCO, Black Shark) are very specific in that their MIUI firmware actively optimizes the background of applications, but sometimes this optimization doesn’t work properly, and some programs continue to eat the battery to bypass the limitations, and we’ll show you how to find and what to do with these intruders.

Important: the methods in this article are relevant for MIUI 12-14 and Android 10-14. On older versions (for example, MIUI 11 or Android 9), some features may be missing or work differently.

1. Standard battery statistics in MIUI

The easiest way to do this is to look at the built-in charge flow statistics, which not only shows the total percentage of consumption, but also details it by application, system processes, and even individual components (screen, Wi-Fi, mobile network).

How to open it:

  1. Go to Settings β†’ Battery and Performance.
  2. Slip on the consumption schedule (at the top of the screen).
  3. Select the period: Last charge or Last 24 hours.

Here you'll see:

  • πŸ“Š General discharge graph with notes when the screen was on/off.
  • πŸ”‹ List of applications sorted by energy consumption (in % or mAh).
  • βš™οΈ System processes (e.g., Android System or MIUI Daemon).

Note apps labeled Background Activity or High Flow, which are the first candidates for optimization, for example, if Telegram or VK consume more than 10% of the charge when the screen is off, they should be limited.

πŸ’‘

If the Android System is the leader in statistics (over 20–30%), the problem may be the firmware or battery malfunction.

2 Hidden MIUI Tools: "Security" and "Shoot-Up"

MIUI hides some of the battery control tools in the Security menu, and you can see which apps automatically start when you turn on your phone or connect to the network, and which ones are actively using resources in the background.

Instructions:

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Go to the Auto Start tab.
  3. Sort the list by column Charge consumption (stamp by title).

What to do with the β€œglutty” apps you find:

  • ❌ Turn off autoplay for unnecessary programs (such as games or social networks you rarely use).
  • πŸ”„ Limit background activity: Go back to Application Management, select the app β†’ Charge consumption β†’ Limit background activity.
  • 🚫 Freeze system applications (such as Mi Video or Mi Browser) if you do not use them: β†’ Annexes β†’ Delete/disable.
πŸ“Š Which app is most often discharged by your Xiaomi?
Social networks (VK, Telegram, WhatsApp)
Games (Genshin Impact, PUBG)
System Processes (Android System, MIUI Daemon)
Navigation (Google Maps, Yandex.Maps)
Other

3. ADB-Teams for Advanced Users

If standard methods don't work, you can use the Android debugging bridge (ADB), which requires connecting your phone to your computer, but gives you the most accurate data on battery consumption in real time.

What you need:

    Analysis teams:

    adb shell dumpsys batterystats --charged

    - show statistics from the last charge.

    adb shell dumpsys batterystats --checkin

    β€” outputs the data in a format that is easy to analyze (look for lines with "uid": and "power_ma":).

    adb shell dumpsys battery set ac 0

    - reset the counters (after that you can track the flow from a clean sheet).

    Example of inference (simplified):

    UIDAnnexExpenditure (mAh)% of the total
    10045com.whatsapp (WhatsApp)12015%
    10123com.android.chrome (Chrome)8510%
    1000android.system20025%
    10034com.miui.gallery (Gallery)405%

    UID applications can be compared with their names through the command adb shell pm list packages -U. If any application consumes more than 100-150 mAh in the background - this is an excuse to limit it.

    How to find system process UIDs?
    System processes (e.g., android.system or mediaserver) do not have standard UIDs, and can be identified by the names in the output of the command adb shell top -m 10 -d 1 -t (shows active processes in real time).

    Third-party monitoring applications

    If you need more visual graphics or notifications about β€œgluttonous” apps, install one of these apps:

    • πŸ“ˆ AccuBattery β€” shows detailed statistics on charging cycles, battery wear and energy consumption by application.
    • πŸ” BetterBatteryStats is an advanced tool for analyzing partial wakes and background activity.

    Example of AccuBattery's work:

    Please note:

    ⚠️ Note: Some battery monitoring applications (e.g, DU Battery Saver consumes a lot of resources. Use only proven utilities from official sources (Google Play or APKMirror).

    5. Virus and malware check

    Sometimes high battery consumption is caused by hidden miners or spyware that masquerade as legitimate applications, such as in 2023, Trojans were discovered that, under the guise of Google Play Services, were mining cryptocurrency in the background.

    How to check:

    1. Install an antivirus (such as Malwarebytes or Dr.Web Light).
    2. Run a deep scan.
    3. Check the permissions of suspicious applications in Settings β†’ Apps β†’ Permissions.

    Signs of infection:

    • πŸ”₯ The phone is getting hot for no apparent reason.
    • πŸ“‰ Battery goes down in 2-3 hours with minimal use.
    • 🚨 In battery statistics, unknown processes appear (e.g. com.android.update or system_update).

    If the antivirus has not found anything, but suspicions remain:

    ⚠️ Attention: Some malware masquerades as system files, in which case only a complete resetting of settings will help (Settings) β†’ The phone. β†’ Resetting settings) or flashing through Fastboot.

    6. Analysis through Developer Modes

    The developer menu contains tools that help track partial wakes and processor activity, and these data are useful if the battery is running out even in sleep mode.

    How to turn on and use:

    1. Activate Developer Mode (see ADB section).
    2. Go to Settings β†’ Additional settings β†’ For developers.
    3. Find options: Activity tracking will show what processes are waking up the phone; process statistics will show how the CPU is loading across applications; Do not turn off the screen will help test the flow rate at constant activity.

    What to look for:

    • πŸ”„ High-value Wake Locks processes (e.g. AlarmManager or JobScheduler).
    • πŸ“ˆ Constant activity CPU (10-15 percent more when the screen is off.

    Example of normal and abnormal values:

    ParameterNorma.Anomaly.
    Partial Awakenings (Wakelocks)50-100 an hour>500 per hour
    CPU activity in sleep mode1–5%>15%
    Processor temperature30–40Β°C>50Β°C

    Manual testing and experiments

    If the automatic methods did not work, try the exclusion method:

    1. Charge your phone to 100% and disconnect from the network.
    2. Turn off mobile data and Wi-Fi (leave only basic features).
    3. After 2-3 hours, check the battery statistics.
    4. Gradually turn on apps and services while watching for changes in flow.

    Checklist for the experiment:

    β˜‘οΈ Step-by-step battery consumption test

    Done: 0 / 5

    Typical results:

    • πŸ“΅ If the consumption normalized without mobile Internet – the problem in the communication module (try to change the phone). SIM-map or disable VoLTE).
    • πŸ“Ά If the battery lasts longer without Wi-Fi, it is the background traffic that is to blame (check the router settings or turn off Wi-Fi in sleep mode).

    If after all the manipulations the problem remains, the reasons may be hardware:

    • πŸ”‹ Battery wear (check in AccuBattery or through code ##4636## β†’ Battery information).
    • πŸ”Œ Fault of the power controller (requires diagnosis in the service).

    πŸ’‘

    If after resetting the settings and all optimizations, the battery still discharges in 4-5 hours, the problem is almost certainly in the hardware (battery, motherboard).

    FAQ: Frequent questions

    Why is the Android System the leader in battery statistics?
    Android System is a common process that involves kernel, drivers and system services. High consumption (over 20%) can indicate: firmware problems (try updating MIUI); sensor malfunction (such as GPS or gyroscope); malware masquerading as system processes; Solution: perform factory reset or run your phone through Fastboot.
    How to limit background activity for system applications (e.g. MiuiDaemon)?
    System applications MIUI You can not limit the standard means, but you can: Disable them through ADB: adb shell pm disable-user --user 0 com.xiaomi.midrop (replace com.xiaomi.midrop with the desired application package). Use Xposed Framework or Magisk with the App Systemizer module. ⚠️ Disabling system components can lead to unstable phone operation!
    Does turning off Google Play Services save battery life?
    Google Play Services is a critical component for many applications (e.g. Google Maps, Gmail, YouTube: βœ… Reduce battery consumption by 5-15%. ❌ It will break most Google services and some third-party apps.Alternative: limit background activity through Settings β†’ Annexes β†’ Google Play Services β†’ Charge consumption β†’ Limit.
    How to check battery wear on Xiaomi without third-party applications?
    Enter the engineering code: ##4636## Go to Battery Information and note Battery Health. Values: Good (Good) - wear less than 20%, Replace soon - wear 20-50%, Replace now - wear more than 50%.
    Can the battery capacity be restored programmatically?
    No, software methods (e.g., calibrating a battery through resetting statistics) don't restore physical capacity; they only reset the charging numbers, which can temporarily trick the system, and the only way to get the original capacity back is to replace the battery with a new one. Xiaomi costs 1,500-3,000. β‚½ model-wise.