The Wake on Wi-Fi feature on Xiaomi devices often causes unexpected screen turns on, quick battery drain, and even network connection problems. While the technology was designed for convenience β such as remotely controlling a smart home or getting push notifications while asleep β many users are facing side effects, a particularly pressing problem for Redmi smartphone owners, POCO and Mi on base MIUI 12/13/14, where the function is activated by default and hidden in the depths of settings.
In this article, weβll look at all possible ways to disable Wake on Wi-Fi on Xiaomi, including hidden developer settings, router settings, and alternative methods for rootless devices. You will also learn how to check if the function is deactivated, and what to do if the smartphone continues to βwake upβ for no apparent reason. 2020β2026 years, including Xiaomi 13/14 Series, Redmi Note 12/13 Pro and POCO F5/X5.
What is Wake on Wi-Fi and why you should turn it off
Wake on Wi-Fi (WoW) technology allows a device to wake up from sleep when a particular network packet is received, originally used in corporate networks for remote control of PCs, but in mobile devices Xiaomi feature is adapted to:
- π± Push notifications β even in deep sleep, the smartphone can receive messages from Mi Cloud or third-party messengers.
- π Smart home β Mi Home devices (such as light bulbs or robot vacuum cleaners) can wake up a phone to perform scenarios.
- π Background tasks β some applications (such as Mi Fit or Google Play Services) use WoW to synchronize data.
However, in practice, the function often fails:
- π Increased battery consumption β Wi-Fi remains active even in sleep mode, consuming up to 5-15% of charge per night.
- π΅ Spontaneous awakenings β the screen is turned on without notifications, sometimes with the interface hanging.
- π Router conflicts β some routers (such as TP-Link or Keenetic) send βextraβ packets, causing the phone to wake up.
When the shutdown is required:
β οΈ Note: If your smartphone is more than drained 20% post 8 Watch standby (with the screen off and background apps), check the activity of Wake on Wi-Fi. 7xx/8xx This feature may conflict with the processorβs energy-saving algorithms.
Method 1: Disconnect via Wi-Fi settings (basic method)
The easiest way to deactivate WoW is to use standard settings. MIUI. However, on some firmware, the option is hidden or otherwise named:
- Open the Settings. β Wi-Fi.
- Click on the three dots in the top right corner and select Additional Settings (or Advanced Features on newer versions).
- Scroll down to Wi-Fi Power Saving Mode (could be called Keep Wi-Fi on during sleep on global firmware).
- Choose the option of Never.
If there is no such item, try an alternative path:
- Go to Settings β Battery and Performance β Battery Mode.
- Choose the Energy Saving or Super Energy Saving profile.
- Activate the option to limit background activity β this will indirectly turn off wake-up over Wi-Fi for most applications.
βοΈ Checking the Wake on Wi-Fi shutdown
Limitations of the method:
- β It doesnβt work on some custom firmware (e.g. Pixel Experience or LineageOS).
- β May be reset after the update MIUI.
- β Does not disable WoW for system applications (e.g. Mi Cloud or Finder).
Method 2: Deactivation through Developer Parameters
If the basic method doesn't work, you'll have to use hidden settings, so first, turn on the developer mode:
- Go to Settings. β The phone.
- Click the MIUI version 7 times in a row until you become a developer!
- Go back to the main settings menu and open a new section for developers.
Now find and disable the following options:
| Parameter | Recommended value | Note |
|---|---|---|
| Wake-on-WLAN | Shut down. | The main function switch. Some firmware is called WoWLAN. |
| Scanning Wi-Fi in sleep mode | Shut down. | Prevents background network scanning that can wake up the device. |
| Aggressive Wi-Fi mode | Shut down. | Improves connection stability but increases battery consumption. |
| Optimization of data transmission | Shut down. | It can be in conflict with energy-saving algorithms. |
Important! After the changes, restart the device - some settings are only applied after the reboot. If the Wake-on-WLAN option is not on the list, then your firmware does not support its management through the developer menu (see alternative methods).
What to do if you donβt have a Wake-on-WLAN option?
Method 3: Set up a router to block WoW packets
If you can't turn off the function on your smartphone, you can block wake-up packets at the router level, which is suitable for users who have:
- πΆ Router backs up MAC-Filtering or Parent Control (most Xiaomi Mi Router models, ASUS RT, TP-Link Archer).
- π§ Access to the router administrator panel.
Instructions for Xiaomi routers:
- Open the Mi Wi-Fi app or go to 192.168.31.1 in your browser.
- Select Devices β Device management.
- Find your smartphone in the list and click on it.
- Activate the option to block the awakening over the network (or Disable WoL on English firmware).
- Save the settings and restart the router.
For other routers (ASUS, TP-Link, Keenetic):
- Go to the control panel (usually 192.168.0.1 or 192.168.1.1).
- Find the Wireless section β MAC Filter or Parent Control.
- Add in. MAC-Address of your smartphone (can be found in Settings) β The phone. β General information) in the list of devices blocked for waking.
- Turn on the filtering by ARP-Magic Packets or Magic Packets (if you have such an option).
iptables -A FORWARD -p udp --dport 7 -j DROP
This will block all packets to the port. 7 (standard WoL/WoW).-->
Method 4: Using ADB to Forced Shutdown
If the previous methods did not work, the shutdown remains through ADB (Android Debug Bridge: This method requires connecting your smartphone to your computer, but it works on all firmware. MIUI.
Step 1: Preparation
- Download and install Googleβs Platform Tools.
- Turn on your smartphone to debug by USB (Settings β For developers β debugging by USB).
- Connect the phone to the PC and confirm the debugging permission.
Step 2: Execution of commands:
- Open the Command Prompt (Windows) or Terminal (macOS/Linux) in the folder with the platform-tools.
- Enter it in turn:
adb shell
settings put global wowlan_enabled 0
settings put global stay_on_while_plugged_in 0These commands will disable Wake on Wi-Fi and prevent the device from remaining active when connected to a charger.
Step 3. Verification:
- Follow the command:
settings get global wowlan_enabledIf 0 is disabled. If 1, repeat step 2 or check the rights. ADB.
π‘
Teams. ADB They are reset after you reset your settings or update your firmware. To keep the changes, create a script to automatically execute commands when you connect to your PC.
Method 5: Alternative methods (root, Magisk, third-party applications)
If none of these methods worked, radical measures remain, requiring root rights or the installation of modified modules.
Method 1: Using Magisk:
- π§ Install Magisk and WakeBlock from the repository.
- π± In the module settings, select Block Wake-on-WLAN.
- π Reset the device.
Method 2. editing system files (only for power users!):
- with the help of Root Explorer or ADB open the file /system/build.prop.
- Add a line:
ro.wowlan.support=false- Save the file and restart it.
Method 3: Applications for energy management:
- π Greenify β allows you to freeze background processes, including WoW.
- π Battery Guru β monitors wake-ups and blocks unnecessary ones.
- π Wake Lock Detector β Shows which applications use WoW.
β οΈ Attention: Using root methods can lead to loss of warranty, unstable system operation or locking of the bootloader (on models with Anti-Rollback). TWRP.
How to Check if Wake on Wi-Fi is Turned Off
Even after the feature is turned off, the smartphone may continue to wake up for other reasons. To make sure that WoW is deactivated, follow the following steps:
Step 1. Check through ADB:
adb shell dumpsys wifi | grep"wowlan"If the answer is wowlan enabled: false, the function is disabled.
Step 2: Monitoring the awakenings
- Install the BetterBatteryStats app (requires) ADB root).
- Go to Kernel Wakelocks.
- Check if there's any on the list. wlan_rx_wake or wlan_wow_wake. If so, WoW is still active.
Step 3: In-plane test:
- Activate Flight Mode.
- Wait 10-15 minutes.
- Turn on Wi-Fi (without turning off flight mode!)
- See if the smartphone will spontaneously wake up. If it doesn't, the problem is solved.
Step 4: Checking through logcat:
adb logcat | grep -i"wowlan\|wake_on_wlan"If the log is empty, the function is disabled. If the logs appear, look for the source of the awakenings (for example, the application com.miui.cloudservice).
Frequent problems and their solutions
Even after turning off Wake on Wi-Fi, users experience side effects, including:
| Problem. | Possible cause | Decision |
|---|---|---|
| The smartphone still wakes up at night. | Google Play Services or Mi Cloud Background Tasks | Turn off autosynchronization in Settings β Accounts |
| After the update, WoW turned on again. | Resetting settings when upgrading MIUI | Repeat the shutdown via ADB or developer settings |
| Wi-Fi is not working after the WoW shutdown | Conflict with energy saving settings | Reset network settings in Settings β System system β Resetting settings β Wi-Fi reset |
| Router does not block WoW packets | Outdated Router Firmware | Update your routerβs firmware or use iptables (see above) |
Additional advice:
- π If the problem persists, try resetting the network settings (Settings) β System system β Resetting settings β Resetting the mobile network/Wi-Fi/Bluetooth).
- π± In the models with MIUI 14+ Check the Settings section β Connections and sharing β Special features β there may be a hidden option WoW.
- π If the battery is still running out, use the AccuBattery app to analyze the flow rate.