This repository contains two Magisk modules designed to reduce idle battery drain caused by Wi-Fi multicast traffic on Android devices (especially Pixels), while preserving usability for discovery-based features like Chromecast and smart-home setup.
Both modules work by controlling the Wi-Fi interface multicast flag, which directly affects:
- Radio wakeups (e.g.
dhdpcie_host_wake) - Screen-off idle drain
- Doze being interrupted
Root (Magisk) is required.
Many apps (Google Play services, Instagram, WeChat, media apps, etc.) hold multicast locks unnecessarily.
This causes:
- High screen-off battery drain
- CPU + Wi-Fi radio being pulled out of suspend
WifiMulticastOnstaying active for hours- Frequent Wi-Fi driver interrupts
Android does not aggressively police multicast usage by default.
These modules fix that.
Best for: Maximum battery life, minimal discovery usage
- Disables Wi-Fi multicast globally
- Multicast stays OFF as long as the module is enabled
- Requires reboot to apply
- Discovery features (Chromecast, smart-home pairing) will not work while enabled
| State | Multicast |
|---|---|
| Boot | OFF |
| Screen ON | OFF |
| Screen OFF | OFF |
- Maximum reduction of idle drain
- Simple, stable, zero background logic
- No Chromecast / mDNS / UPnP discovery while enabled
Best for: Users who frequently use Chromecast or smart-home discovery
- Automatically disables multicast when the screen is OFF
- Automatically re-enables multicast when the screen is ON
- No manual toggling
- Discovery works normally while you are actively using the phone
| Screen state | Multicast | Discovery |
|---|---|---|
| ON | ON | Works |
| OFF | OFF | Disabled |
- Large reduction in idle battery drain
- Chromecast / smart-home still works
- Fully automatic
- Small background loop (5s polling, negligible power cost)
| Use case | Recommended module |
|---|---|
| Maximum battery life | RMBD |
| Chromecast / smart-home user | RMBD_screen_aware |
| Mostly idle phone | Either |
| Forgetful about toggles | RMBD_screen_aware |
- Rooted Android device
- Magisk installed
- Reboot capability
- Download the desired ZIP:
-
RMBD.zipfor max battery savingor
-
RMBD_screen_aware.ziptake slight hit in battery but keep smarthome discovery and chromecast working
-
- Open Magisk
- Go to Modules → Install from storage
- Select the ZIP
- Reboot
After reboot:
adb shell su -c "ip link show wlan1 | grep MULTICAST"