How to completely disable background data transfer on Xiaomi: 5 proven ways

Xiaomiโ€™s MIUI-based smartphones are actively using mobile traffic and Wi-Fi even when the screen is off. Apps are synchronized, the system checks for updates, and Google and Mi Account services transmit data in the background. As a result, the battery goes down in a few hours, and gigabytes from the mobile Internet package melt in front of your eyes, especially for Redmi Note 12, POCO X5 and Xiaomi 13 models, where background activity is turned on as aggressively as possible by default.

In this article, we'll look at 5 working methods for turning off background traffic, including hidden MIUI settings that aren't shown in the standard menu. We'll look at how to limit data transfers for individual applications, how to block system services through ADB, and why, even after all the manipulations, Mi Push can continue to eat traffic. Importantly, some methods require developer or unlocked bootloader rights, we'll warn you about this in advance.

Why Xiaomi is using background traffic

The MIUI firmware out of the box is set to integrate as much as possible with the Xiaomi ecosystem, which means your smartphone:

  • ๐Ÿ”„ Syncs data with Mi Cloud (contacts, notes, photos) every time 15-30 minute
  • ๐Ÿ“ฑ Gets push notifications from Mi Push Service even for blocked apps
  • ๐Ÿ” Sends anonymous usage statistics to Xiaomi Analytics (on by default)
  • ๐Ÿ”„ Checks for security and software updates through System Update
  • ๐Ÿ“Š Synchronizes data with fitness bracelets Mi Band or smart watch Xiaomi Watch

In addition, Google Play Services and Google Mobile Services (GMS) on global versions of MIUI add their layer of background activity: synchronization of Google account, backup, security check, etc. As a result, even in standby mode, the smartphone can transmit up to 50-150 MB of data per day โ€“ and this does not take into account messengers like WhatsApp or Telegram.

โš ๏ธ Warning: A complete blackout of background traffic may cause delays in receiving notifications (e.g. from Viber or Instagram) and stop syncing emails. 1-2 day-day.

Method 1: Standard traffic restriction settings in MIUI

The easiest method is to use the built-in MIUI tools. It does not require superuser rights and is suitable for most models (Redmi 10, POCO F4, Xiaomi 12T, etc.).

Steps:

  1. Open the Settings. โ†’ SIM-maps and mobile networks
  2. Choose yours. SIM-card (if there are several)
  3. Tap on Data Transfer โ†’ Limit background traffic
  4. Activate the switch to limit background traffic

For Wi-Fi:

  1. Go to Settings. โ†’ Wi-Fi
  2. Click on the current network (or icon) โš™๏ธ near her name)
  3. Enable the option to limit the use of data in the background

This method doesn't block background activity completely, it just reduces its priority. System applications (Mi Push, Security) will continue to work, but less often.

Are the notifications from messengers still working?

Are contacts synchronized with Mi Cloud?

Are there any weather or calendar widgets missing?

Does geolocation work in Google Maps?-->

Method 2: Manually shutting down background activity for individual applications

If you only need to block traffic for specific programs (like Facebook or TikTok), use the Data Use menu:

Instructions:

  1. Open Settings โ†’ Applications โ†’ Application Management
  2. Select the desired app (e.g. YouTube)
  3. Tap on Mobile Data and Wi-Fi
  4. Turn off the switches: Background data (blocks traffic when the application is folded) Autostart (prevents starting when the smartphone is turned on)

For system applications (such as Mi Video or Mi Browser), the path is different:

  1. Go to Settings. โ†’ Annexes โ†’ Application management โ†’ Three points (โ‹ฎ) โ†’ Show all applications
  2. Find the app (use a title search)
  3. Select Battery โ†’ Limit background activity

Steps:

  1. Connect your smartphone to your PC and allow debugging over USB
  2. Open the command line (Windows) or terminal (macOS/Linux) in the adb folder
  3. Run a command to block background traffic for a specific package (e.g. Facebook): adb shell cmd appops set com.facebook.katana RESTRICT_BACKGROUND_DATA deny
  4. To block all applications (caution!): adb shell settings put global restrict_background_data 1

List of popular packages for blocking:

AnnexPacket nameWhat's blocking
Mi Push Servicecom.xiaomi.xmsfPush notifications from Xiaomi
Google Play Servicescom.google.android.gmsSynchronization of Google account
Mi Analyticscom.miui.analyticsSending of usage statistics
System Updatecom.android.updaterVerification of software updates
How to return the settings after ADB-blocking?
To unlock background traffic for an application, use the command: adb shell cmd appops set [name packet] RESTRICT_BACKGROUND_DATA allow for the cancellation of the global restriction: adb shell settings put global restrict_background_data 0 After that, restart your smartphone.

Method 4: Using Firewall applications (without root)

If ADB It seems too complicated, you can use third-party firewalls, which allow you to flexibly configure the rules of access to the network for each application. MIUI:

  • ๐Ÿ›ก๏ธ NetGuard โ€“ No Root Requirements, Works Through VPN-You can block traffic through the tunnel. Wi-Fi/mobile data separately.
  • ๐Ÿ”ฅ NoRoot Firewall โ€“ Simple interface, supports time-based rules (e.g., block traffic at night).
  • ๐Ÿš€ TrackerControl โ€“ blocks not only traffic, but also trackers in applications.

Example of settings in NetGuard:

  1. Install the app from Google Play
  2. Launch and grant permission to create VPN-linkage
  3. In the list of applications, tick the ones for which you want to block traffic.
  4. Press the badge. ๐Ÿ”„ In the top menu to apply the rules

Firewalls have the advantage of flexibility, like allowing WhatsApp to use mobile data but blocking Wi-Fi, or vice versa. VPN-This can increase battery consumption (only a small scale). 3-5%).

๐Ÿ’ก

You can create two profiles in NetGuard: one for mobile data (hard restrictions), one for Wi-Fi (more loyal rules), switch them manually or on a schedule.

Method 5: Disable Xiaomi system services (for advanced)

Some MIUI services cannot be disabled by standard methods, they can recover after a reboot, and to permanently block them, you will need to:

  1. Unlock the bootloader (official way through Mi Unlock Tool)
  2. Install custom recovery (TWRP)
  3. Get root rights through Magisk

After that, you can:

  • ๐Ÿ—‘๏ธ Uninstall unnecessary system applications through Titanium Backup or SD Maid
  • โ„๏ธ Freeze services with App Quarantine or Ice Box
  • ๐Ÿ”ง Edit files /system/build.prop foreshoot

List of safe to remove system packages (before removing it, make a backup!):

ServicePacket nameWhat's he doing?
Mi Push Servicecom.xiaomi.xmsfSends push notifications
Mi Analyticscom.miui.analyticsCollects usage statistics
Mi Browsercom.android.browserSystem browser with advertising
Mi Videocom.miui.videoplayerA player with unnecessary online services

โš ๏ธ Note: Removing system applications may result in bootloop (locked boot) or loss of functionality (e.g., the camera stops working or the camera stops working). NFC). Always check if the other part of the system is dependent on the package.

๐Ÿ’ก

If after removing the system applications, the smartphone stopped booting, restore them through TWRP from the backup or run a clean MIUI through Fastboot.

What to do if notifications stop coming after traffic is turned off

Problem: You blocked background traffic, but now Telegram or VK don't show new messages until you open the app.

  1. Add the app to exceptions: Go to Settings โ†’ Battery and Performance โ†’ Battery Management Select an app (like WhatsApp) Activate Without Limits or No Background Activity Restrictions

Use alternative notification channels:

  • For Telegram, turn on Settings โ†’ Notifications โ†’ Use FCM (Firebase Cloud Messaging)
  • In VK, activate Settings โ†’ Notifications โ†’ Push notifications via Google
  • Set up a firewall to let traffic through for instant messengers: In NetGuard or NoRoot Firewall, add apps to the whitelist for mobile data and Wi-Fi.

If the notifications donโ€™t come, check:

  • ๐Ÿ”• Do you have a security lock (in Settings)? โ†’ Annexes โ†’ Permits โ†’ Auto-start)
  • ๐Ÿ“ต Is not included in the mode Do not disturb or Saving battery power
  • ๐Ÿ”„ Have you lost your synchronization settings (in Settings)? โ†’ Accounts and synchronization)

FAQ: Frequent questions about background traffic on Xiaomi

Can you turn off background traffic for mobile data only, but leave it for Wi-Fi?
Yes. MIUI This is set separately: For mobile data: Settings โ†’ SIM-maps and mobile networks โ†’ Transfer of data โ†’ Limit background traffic for Wi-Fi: Each network settings have the option to Limit data usage in the background, and this can be done through firewalls like NetGuard, where the rules are set separately for each type of network.
Why even after disabling all settings, the smartphone continues to transmit data?
Probable reasons: Google Play Services and Google Mobile Services ignore restrictions MIUI. Block them through ADB Mi Push Service: This service has the highest priority in the world. MIUI Try to disable it via adb shell pm disable-user com.xiaomi.xmsf. Time and date update: A smartphone can synchronize time over the network (NTP). Shuts down in Settings. โ†’ Additionally. โ†’ Date and time โ†’ Network.
How to check which apps are using background traffic?
There are several ways: built-in monitoring MIUI: Settings โ†’ SIM-maps and mobile networks โ†’ Traffic usage: This is a monthly flow rate by application. Internet Speed Meter: Shows the current real-time data rate right in the notification bar. ADB-command: adb shell dumpsys netstats detail will display a full report on the traffic of all applications.
Will Google Pay work after blocking background traffic for Google Play Services?
Google Pay requires constant sync with Google servers to check payment security.If you block background traffic for com.google.android.gms, there could be problems: ๐Ÿšซ Denial of authorization when paying ๐Ÿ”„ Delays in updating the map list โš ๏ธ Warnings about unsafe device We recommend leaving Google Play Services without restrictions or adding it to firewall exceptions.
Can you turn off background traffic on Xiaomi without losing functionality?
Partially. You can't completely shut down the background without consequences, but you can find a balance: ๐Ÿ“ฑ For instant messengers: Allow background traffic only for WhatsApp, Telegram and email. ๐Ÿ”„ For sync: Leave your Mi Cloud and Google Account, but limit the frequency of updates (e.g., once every 6 hours). โšก To save battery: Use the settings โ†’ Battery โ†’ Power saving mode, but add critical applications to the exceptions. ADB-commands (to block system services) + Firewall (for flexible application management).