Why Xiaomi is discharged at night and how to fix it: the complete guide

You put your Xiaomi smartphone on charge before bedtime, and in the morning you find that the charge fell on the phone. 10-30%? Or did the phone go to zero even though you weren't using it, POCO and Mi, especially in the models with AMOLED-But the cause of nighttime discharge is not always "obsolete battery"; more often, background processes, unoptimized settings or even hardware failures are to blame.

In this article, weโ€™ll look at all the possible causes of Xiaomiโ€™s nighttime discharge, from the banal Wi-Fi on to the hidden viruses in the firmware, and give you step-by-step instructions for diagnosing and fixing the problem. Youโ€™ll learn how to check power consumption by application, what MIUI settings affect autonomy, and when itโ€™s time to bring your phone to service.

1. Checking for obvious charge eaters

Before digging deep into the system settings, eliminate external factors that can drain Xiaomi at night. Often the problem is solved in just 2 clicks.

The first thing you need to do is turn off all wireless modules that are not used during sleep. Even in standby mode, Wi-Fi, Bluetooth and GPS consume energy to scan networks and update location. For example, Wi-Fi in the background can eat up to 5-7% of the charge per night if the phone is constantly connected / disconnected from a weak signal.

  • ๐Ÿ“ถ Wi-Fi: Turn off or activate In-plane mode (but note that this will block all wireless connections).
  • ๐Ÿ“ GPS/Exact location: Check if continuous tracking is included in Settings โ†’ Confidentiality โ†’ Permits โ†’ Location.
  • ๐Ÿ”ต Bluetooth: Even if you are not connected to the device, the module can search for conjugated gadgets (earphones, fitness bracelets).
  • ๐Ÿ“ถ Mobile data: In some regions, a smartphone spends a lot of energy switching between 4G/5G and 3G.

The second thing is the ambient temperature: If you leave Xiaomi charging next to the heating battery, under direct sunlight or in a closed case, the battery can overheat, which accelerates its degradation and increases self-discharge. The optimal temperature for lithium-ion batteries is 10-35 ยฐC. At 40 ยฐC and above, the battery capacity is irreversibly reduced.

โš ๏ธ Note: If your Xiaomi is warming up at night for no apparent reason (no charging, no games running), this could indicate a hardware malfunction (such as a bloated battery) or virus software mining cryptocurrency in the background.

10-20%|20-40%|More 40%|It's not discharged, but it's warm.|Another option-->

2.Analysing battery consumption through the MIUI menu

MIUI provides detailed data on charge consumption, but many users don't know how to read it properly. Open Settings โ†’ Battery and Performance โ†’ Battery Use. Here you'll see a flow chart and a list of applications ordered by energy consumption.

Pay attention to the following points:

  • ๐Ÿ“Š Screen Activity Graph: If the screen turned on at night (for example, due to notifications), this may indicate proximity sensor issues or false touches (especially relevant for the Redmi Note). 10/11 touch-buttoned).
  • ๐Ÿ”‹ Standby consumption: Normal self-discharge for 8 sleep-time โ€” 1-3%. If more, look for the culprit among the apps.
  • ๐Ÿค– System processes: If you see Android System in the top of the flow rate, MIUI Daemon or Mediaserver, this may indicate a firmware failure or conflict of services.
  • ๐Ÿ“ฑ Applications with background activity: Messengers (Telegram, WhatsApp), social networks (TikTok, Instagram) and games often do not close completely, but continue to update data.

To get more accurate data, turn on the developer mode and activate the Do Not Turn Off screen (in the developer menu). Then leave the phone overnight with the screen on so you can see if it wakes up spontaneously.

Annex/processNormal overnight expenditureWhat to do if the cost is higher
Screen.0-1%Check the proximity sensor, turn off the Rise to wake up in Settings โ†’ Screen.
Android System2-5%Update the firmware, perform a reset settings (Settings โ†’ About the phone โ†’ Reset settings).
Telegram/WhatsApp3-7%Turn off background activity in Settings โ†’ Apps โ†’ Permissions โ†’ Autostart.
Google Play Services5-10%Update Google services, check geolocation and sync.
Mediaserver0-2%Delete corrupted media files (photos/video) or reset the cache.

๐Ÿ’ก

If you see a high-flow kernel or qcom-thermal process in the battery statistics, it indicates that the processor is overheated. Try rolling back the firmware or resetting to the factory settings.

3. Optimization of background processes and auto-start

One of the main causes of nighttime discharge is uncontrolled auto-run of applications. Many programs (especially Chinese ones) turn on auto-boots by default and run in the background even if you're not using them. MIUI has built-in tools to manage this.

Go to Settings โ†’ Applications โ†’ Application Management โ†’ Autorun. Here you will see a list of all programs that can run automatically.

  • ๐ŸŽฎ Games (PUBG Mobile, Genshin Impact, Free Fire)
  • ๐Ÿ“บ Social networks (TikTok, Facebook, Instagram)
  • ๐Ÿ›’ Shops (AliExpress, Wildberries, Ozon)
  • ๐Ÿ“Š Analytics services (e.g. Google Analytics or Firebase in some applications).

Also check your battery optimization settings for individual applications. In Settings โ†’ Battery and Performance โ†’ Battery Consumption Management applications select Restricted or Strictly Restricted mode for unnecessary programs.

Pay special attention to messengers. For example, Telegram defaults to back-channel chats, which can drain the battery by 10-15% per night. Go to the messenger settings and turn off:

  • ๐Ÿ”” Auto-update chats in the background
  • ๐Ÿ“ฅ Autoload media files (especially in mobile data)
  • ๐Ÿ“ Location tracking (if not used)

Disable Autostart for Games |Limit background social media activity |Check messenger settings |Disable unnecessary notifications |Reset the cache of system applications-->

4. Problems with firmware and MIUI updates

If the nighttime discharge started after the firmware update, the fault is in the new version of MIUI. This is especially true for Xiaomi, which receives updates over the air (OTA) โ€“ sometimes new builds contain errors that increase battery consumption.

Check the current firmware version in Settings โ†’ About Phone โ†’ MIUI version. If the problem has appeared after the update, try:

  1. Reverse to the previous version (via Fastboot or Recovery).
  2. Install a stable global firmware (if you have a Chinese or European ROM).
  3. Clear the system cache in Recovery (click Volume up + Power when the phone is off).

Also worth checking your sync settings. In Settings โ†’ Accounts and sync, turn off automatic sync for unnecessary services (like Mi Cloud if you donโ€™t use it). Some users note that Xiaomi actively syncs data at night when the phone is connected to Wi-Fi.

โš ๏ธ Note: If you use custom firmware (e.g. LineageOS, Pixel Experience), nighttime discharge may be due to malfunctioning of the kernel or Magisk modules. ADB Or go back to the stock firmware.

How to check battery logs through ADB
1. Connect your phone to your PC and enable debugging. USB developer-setting. 2. Enter the command: adb shell dumpsys batterystats --charged 3. Examine the output for abnormal flow (look for lines with drain or drain). wake_lock).

5. Hardware causes: battery, screen, charger

If the software didn't work, the problem could be the hardware, and here are the three most common hardware causes of nighttime discharge:

1. Battery wear. Lithium-ion batteries lose capacity over time. After 300-500 charging cycles, their capacity can drop by 20-30%, leading to accelerated discharge.

  • ๐Ÿ”‹ Built-in menu Settings โ†’ Battery and productivity โ†’ Battery status (shows current capacity).
  • ๐Ÿ“Š Apps like AccuBattery (analyzes charging and wear cycles).
  • ๐Ÿ”ง Service codes (e.g. #4636## โ†’ Battery information).

If the battery capacity fell below 80% It's time to replace it from the nominal. 1500-3000 ruble depending on the model.

2. Defect of the screen or sensors. AMOLED-screens (for example, in Xiaomi) 11T, Redmi K50) Even 1 broken pixel can cause a current leak:

  • ๐Ÿ”ฆ Approximation Sensor: If it is broken, the screen may turn on in your pocket or on your desk.
  • ๐Ÿ“ฑ Ghost touch: Some Xiaomi touch screens spontaneously press buttons (checked through test #6484##).
  • ๐Ÿ”„ Always On Display (AOD): Turn it off in Settings. โ†’ Screen. โ†’ Always On Display.

3. Faulty charger or cable: Cheap charges can cause unstable voltages, resulting in cyclical recharging (the phone is charged and discharged). Use only original or certified Xiaomi accessories.

๐Ÿ’ก

If the phone discharges unevenly (e.g., from 100% to 80% in 1 hour, and then slowly), this almost always indicates a hardware problem - a worn-out battery or short circuit on the board.

6.Viruses, Mining and Hidden Processes

One of the most insidious causes of nighttime discharge is hidden viruses or mining software. Some malware masquerades as system processes (for example, com.android.system) and uses the phoneโ€™s resources to mine cryptocurrency or display ads.

How to Detect and Remove These Threats:

  1. Check your phone with antivirus (Dr.Web, Kaspersky, Malwarebytes).
  2. Go to Settings โ†’ Apps and sort programs by installation date. Delete suspicious ones (especially with names like System Update, Android Helper).
  3. Check traffic consumption in Settings โ†’ SIM cards and mobile networks โ†’ Traffic usage. If an application consumes gigabytes of data at night, this is a sure sign of a miner.
  4. Install NetGuard or PCAPdroid to monitor network activity.

Phones with unlocked bootloader or pirated apps are particularly vulnerable. If you have ever installed an APK from unverified sources, complete a full reset (Settings โ†’ About Phone โ†’ Settings Reset).

Also worth checking is the special features settings. Some viruses register themselves as accessibility services to get extended rights. Go to Settings โ†’ Special features โ†’ Installed services and turn off anything suspicious.

7. Additional settings for maximum autonomy

If youโ€™ve exhausted all the previous methods, but your phone is still running out, try these advanced settings:

  • ๐Ÿ”„ Turn off background app updates in Google Play (Settings) โ†’ Auto-update of applications โ†’ Never).
  • ๐Ÿ“ก Switch to the switch. 3G At night (if you have a weak signal) 4G/5G, Your phone spends a lot of energy searching for it).
  • โšก Activate Ultra Battery Saver mode in Settings โ†’ Battery and performance (limits background activity to a minimum).
  • ๐Ÿ› ๏ธ Turn off diagnostics and error reports in Settings โ†’ The phone. โ†’ User feedback.
  • ๐Ÿ”’ Block the ads in MIUI through settings โ†’ Confidentiality โ†’ Advertising โ†’ Disable personalized advertising.

For models with Qualcomm Snapdragon (e.g. POCO F3, Redmi Note 10 Pro), you can further optimize the processor. Install the Kernel Auditor app and:

  • Choose an energy-efficient governor (e.g., powersave).
  • Limit the maximum CPU frequency to 1.8-2.0 GHz (by default it can be 2.4-2.8 GHz).
  • Turn off the processor cores in standby mode (Hotplug option).

โš ๏ธ Warning: Changing the kernel settings can cause the phone to malfunction or overheat.Do this only if you understand the risks!

FAQ: Frequent questions about Xiaomi nightlife

โ“ Why Xiaomi is dead at night, even if itโ€™s off?
If the phone is completely off but still discharges, the problem is almost always hardware: ๐Ÿ”‹ Short circuit on the board (for example, after falling or getting moisture). ๐Ÿ”Œ Faulty Power Controller (Frequent Problem with Redmi) 9/9A). ๐Ÿ”ฅ Bloated battery (can run out even when it's off) Solution: bring it to the service for diagnostics. Self-repair is not recommended!
โ“ How to check if my resources are mined?
Signs of mining on Xiaomi: ๐Ÿ“ˆ The phone is heated for no reason (even in standby mode). ๐Ÿ“Š Battery statistics show a kernel or mediaserver flow rate >10%. ๐Ÿ“ก Unexpected mobile traffic consumption (e.g, 1-2 Use PCAPdroid to analyze network activity or check your phone through VirusTotal.
โ“ Why does the battery change the phone still run out?
Possible causes: ๐Ÿ”ง Poor battery (Chinese "noname" batteries often have a capacity below the declared one). ๐Ÿ”Œ Charge controller not calibrated (must be done) 2-3 full-cycle). ๐Ÿ“ฑ Firmware issues (e.g. Battery Stats settings are lost) Solution: Return to the service for a rediagnosis or reset settings.
โ“ Can the case affect the battery discharge?
Yes, but indirectly: ๐Ÿ”ฅ Overheating: Tight covers (especially with metal inserts) worsen heat sink. ๐Ÿ“ถ Bad signal: Some cases shield the antenna, causing the phone to spend more power searching for the network. ๐Ÿ”‹ False touches: Magnet cases can activate the screen (e.g., Xiaomi Mi 11 with magnetic sensor).Try to remove the case overnight and see if things change.
โ“ What a normal self-discharge for Xiaomi overnight?
Self-discharge standards (at 100% charge and screen off): ๐Ÿ”‹ New battery: 1-3% post 8 hours. ๐Ÿ”‹ Battery. 1-2 year-end: 3-5%. ๐Ÿ”‹ Battery. 3+ year-end: 5-10% (If the discharge exceeds these values, look for a problem in the settings or hardware.