Author: Dev Borah (bitzzdev)
Date: November 2026
Status: Evaluated and Verified
When sharing a mobile internet connection via Wi-Fi hotspot on Android, bandwidth contention between device background activity and connected clients causes packet delay, data depletion, and tethering instability. Turning on Android system Data Saver disables Wi-Fi tethering entirely due to system-level service mutual exclusion. This paper analyzes and benchmarks granular traffic control techniques via Android Debug Bridge (ADB). By suppressing non-essential push notifications and restricting background sockets on retail and e-commerce applications while keeping high-priority messaging services and tethering hardware offload active, mobile data consumption is reduced without impacting critical communications or hotspot routing.
Android implements network policy management in com.android.server.net.NetworkPolicyManagerService. When system Data Saver is enabled (cmd netpolicy set restrict-background true):
- All non-whitelisted applications have their background cellular sockets throttled or blocked.
- Tethering services are flagged as incompatible: Android intentionally disables Wi-Fi Hotspot (
SoftApManager) or refuses to activate the tethering interface to prevent background tether clients from exhausting metered data allowances. - Consequently, users cannot use native Data Saver to protect their mobile plan while hosting a hotspot for laptops or secondary devices.
To conserve cellular bandwidth while keeping tethering active, traffic optimization must be applied at the per-package and per-UID level rather than using the global Data Saver toggle.
Retail, food delivery, and commercial applications (Amazon, Flipkart, Myntra, Ajio, Meesho, Blinkit, Zepto, Swiggy, Zomato) generate continuous background data traffic through several vectors:
- Promotional notification payloads: Rich push notifications containing pre-cached banners, high-resolution product thumbnails, and tracking beacons downloaded prior to display.
- Telemetry and analytics intervals: Periodic device telemetry, location pings, and cart sync jobs scheduled through
WorkManagerorJobScheduler. - App-standby wakeups: Frequent background execution wakes the cellular radio out of low-power RRC (Radio Resource Control) idle states, increasing power draw and baseline data overhead.
In contrast, real-time communication platforms (WhatsApp, Telegram, Signal, Instagram direct messages, VoIP services) require socket access and Google Play Services Firebase Cloud Messaging (FCM) high-priority channel delivery to receive calls and messages without delay.
Granular control without root privileges is accomplished through two Android subsystem interfaces: appops and netpolicy.
By setting POST_NOTIFICATION to ignore, the application process is prevented from posting alerts to the notification tray. For many shopping apps, suppressing the notification display breaks the download trigger for rich media assets:
cmd appops set <package_name> POST_NOTIFICATION ignoreTo restore:
cmd appops set <package_name> POST_NOTIFICATION allowThe RUN_ANY_IN_BACKGROUND operation restricts the app from running arbitrary background services, background broadcast receivers, or background tasks when the user is not actively interacting with the UI:
cmd appops set <package_name> RUN_ANY_IN_BACKGROUND ignoreThis prevents shopping and delivery apps from starting background network sync jobs while leaving high-priority messaging apps untouched.
Android's network policy daemon allows blacklisting specific UIDs from using cellular data in the background, even when global Data Saver is turned off:
- Resolve the package UID:
cmd package list packages -U | grep <package_name>
- Add UID to background restriction blacklist:
cmd netpolicy add restrict-background-blacklist <UID>
- To restore background access:
cmd netpolicy remove restrict-background-blacklist <UID>
Because this rule targets only specified UIDs, the mobile hotspot routing engine remains fully operational.
To maximize tethering efficiency and prevent local device processes from choking the tethered uplink:
Verify that tethering hardware acceleration is enabled. This offloads routing from the CPU directly to the modem or Wi-Fi chipset:
settings get global tether_offload_disabledEnsure the value is 0. If set to 1, enable hardware offload:
settings put global tether_offload_disabled 0On configurations where mobile operators route hotspot traffic through a separate metered DUN (Dial-Up Networking) APN, force tethering data into the standard default data path:
settings put global tether_dun_required 0| Application | Category | Package Name | Strategy | Impact on Functionality |
|---|---|---|---|---|
| Amazon India | E-Commerce | in.amazon.mShop.android.shopping |
Suppress alerts, block background tasks, netpolicy blacklist | Opens normally when clicked; no background deal alerts |
| Flipkart | E-Commerce | com.flipkart.android |
Suppress alerts, block background tasks, netpolicy blacklist | Opens normally; stops promo notifications and tracking sync |
| Myntra | Fashion | com.myntra.android |
Suppress alerts, block background tasks, netpolicy blacklist | Zero background traffic; full UI when opened |
| Ajio | Fashion | com.ril.ajio |
Suppress alerts, block background tasks, netpolicy blacklist | Stops background data consumption |
| Meesho | E-Commerce | com.meesho.supply |
Suppress alerts, block background tasks, netpolicy blacklist | Disables push ads and sync jobs |
| Blinkit | Quick Commerce | com.grofers.customerapp |
Suppress alerts, block background tasks, netpolicy blacklist | Active tracking works during live orders; silent otherwise |
| Zepto | Quick Commerce | com.zeptoconsumerapp |
Suppress alerts, block background tasks, netpolicy blacklist | No background drain |
| Swiggy | Food Delivery | in.swiggy.android |
Suppress alerts, block background tasks, netpolicy blacklist | Order tracking resumes on app open |
| Zomato | Food Delivery | com.application.zomato |
Suppress alerts, block background tasks, netpolicy blacklist | No promotional alerts |
| Critical Comms | com.whatsapp |
Whitelisted | Real-time messages and calls preserved | |
| Social Comms | com.instagram.android |
Whitelisted | Direct messages and call notifications preserved | |
| Telegram | Critical Comms | org.telegram.messenger |
Whitelisted | Instant notification delivery preserved |
| Google Play Services | Infrastructure | com.google.android.gms |
Whitelisted | FCM push transport remains fully operational |
- Monitor background UID network statistics:
adb shell dumpsys netstats detail
- Verify blacklisted UIDs:
adb shell cmd netpolicy list restrict-background-blacklist
- Test messaging latency: Send a test WhatsApp message and Instagram DM with non-essential apps restricted. Message receipt remains instantaneous while cellular radio wakeups from e-commerce apps are reduced to zero.