Have you noticed that your smartphone loses Wi-Fi connection after locking the screen? This issue occurs on devices running both Android, and iOS, but the causes and solutions can vary dramatically. In some cases, aggressive power-saving algorithms are to blame, while in others, firmware errors or incorrect router settings are to blame.
Users often complain that Wi-Fi disconnects 5-10 seconds after the screen turns off, and when unlocking, you have to wait for a reconnection. This is not only annoying, but also interferes with background apps: notifications stop coming, downloads are interrupted, and messengers go dormant. In this article, we'll look into this. all possible reasons - from basic settings to hidden developer options, and we will also provide step-by-step troubleshooting instructions.
Let's pay special attention to the differences between Android And iPhone: on iOS the problem is usually related to the limitations of the system, whereas Android It can be caused by dozens of factors, from firmware versions to the chipset manufacturer. We'll also consider cases where the router or ISP is at fault, not the phone itself.
1. Energy conservation is the main culprit of the problem
In 80% of cases, Wi-Fi is disconnected when blocked due to energy conservation policiesModern smartphones actively optimize battery life, and one of the first "victims" is the Wi-Fi module. Manufacturers believe that if the screen is off, the user doesn't need the internet—but this isn't always the case.
On Android Several mechanisms are responsible for this:
- 🔋 Adaptive battery (a built-in feature of Android 9+) that limits background activity of apps.
- ⚡ Power saving modes from the manufacturer (for example, MIUI Battery Saver on Xiaomi or Game Optimizer on Samsung).
- 📶 Optimizing Wi-Fi in Sleep Mode — a hidden setting that forcibly disables the module after a specified time.
On iPhone The situation is simpler: Apple does not allow users to flexibly adjust energy consumption, but sometimes background app refresh or low power mode may affect the stability of Wi-Fi. For example, if in Settings → Wi-Fi parameter disabled Connect to the network automatically, the phone may "forget" the network after sleep.
2. Wi-Fi settings in sleep mode (hidden options)
Many users don't know that Android There's a hidden option that controls how Wi-Fi behaves when blocked. It's called Wi-Fi in sleep mode and can have three meanings:
- 🔄 Always — the module remains active (maximum battery consumption).
- ⏳ Only when connected to charging - a compromise option.
- ❌ Never — Wi-Fi turns off immediately after the screen turns off.
To find this setting:
- Go to
Settings → Wi-Fi. - Tap the three dots (⋮) in the upper right corner and select
AdditionallyorAdvanced settings. - Find the item
Wi-Fi in sleep mode(on some firmware versions it may be calledHibernation policyorKeep Wi-Fi on during sleep). - Set value Always.
Open Wi-Fi settings | Find the "More" or "Advanced" section | Select "Use Wi-Fi during sleep" | Set to "Always" -->
If this option is not in the menu, it means the manufacturer has hidden it. In this case, section for developers:
- Activate
Developer mode(Tap the build number 7 times inSettings → About phone). - Return to
Settings → System → Developer Options. - Find the option
Keep Wi-Fi on in sleep mode(orWi-Fi scan throttling) and turn it on.
What should I do if there is no "For Developers" option?
On some firmware (for example, EMUI from Huawei) The developer section may be blocked. In this case, try:
1. Update the firmware to the latest version.
2. Use ADB command:
adb shell settings put global wifi_sleep_policy 2
(Where 2 — meaning "Always").
3. Install third-party software like WiFi Keep Alive (requires root).
3. Firmware errors and manufacturer bugs
Sometimes the problem lies not in the settings, but in software errors. For example:
- 🐞 Bugs in Wi-Fi drivers (often found on cheap smartphones with chipsets Mediatek).
- 🔄 Conflicts after update (for example, after switching to Android 13 many users Samsung Galaxy complained about Wi-Fi interruptions).
- 📱 Incompatibility with certain routers (for example, telephones Xiaomi sometimes they don't maintain connection with routers TP-Link Archer C6).
How to check if the firmware is at fault:
- Check out reviews of your model on forums (for example, 4PDA or XDA Developers). If the problem is widespread, it will most likely be fixed in the next update.
- Try it reset network settings (
Settings → System → Reset → Reset Wi-Fi, mobile network, and Bluetooth settings). - If the phone supports beta firmware versions, try updating to it (but be careful - the beta may contain new bugs!).
For iPhone The following bugs are relevant:
- 🍎 Problems with iOS 16–17, when the phone "forgets" 5 GHz networks after sleep.
- 🔒 VPN Errors - If VPN is enabled, Wi-Fi may be disconnected when blocked.
- 📡 Conflicts with Mesh systems (For example, Google Nest Wi-Fi).
Solutions for iPhone:
- Update iOS to the latest version.
- Forget the network (
Settings → Wi-Fi → ⓘ → Forget this network) and reconnect. - Disable the VPN or change the protocol (for example, from
IKEv2onOpenVPN).
4. Problems with the router or provider
It's not always the phone's fault. Sometimes Wi-Fi is disconnecting due to router settings:
- ⏱️ DHCP timeout — if the router distributes IP addresses for a short time, the phone may “fly out” of the network.
- 🔄 Router power saving mode (For example,
Wi-Fi ScheduleorGreen Mode). - 🛡️ MAC address filtering — if the phone is not on the white list, the router may disconnect.
- 📶 Unstable 5 GHz channel - Many phones have poor connection at high frequencies.
How to check:
| Problem | How to diagnose | Solution |
|---|---|---|
| Short DHCP timeout | Check your router log for frequent IP distributions. | Increase DHCP lease time to 24 hours |
| Router energy saving | Check settings Wi-Fi Schedule or Eco Mode |
Disable or customize the schedule |
| MAC filtering | View the list of allowed devices in the router admin panel | Add the phone's MAC address to the whitelist |
| Problems with 5 GHz | Connect to a 2.4 GHz network and check stability | Disable 5 GHz or change the channel (for example, to 36-48) |
Also worth checking:
- 🔌 Router power supply - if it is connected via an extension cord or a weak power supply, there may be voltage drops.
- 📡 Network congestion — if many devices are connected to the router, it can forcibly “reset” inactive ones.
- 🔄 Updating the router firmware — outdated software may conflict with modern smartphones.
5. Conflicts with applications and VPNs
Some programs may block background Wi-Fi activity, even if you don't notice it. Most often, the culprits are:
- 🔒 VPN clients (especially with the function
Kill Switch, which breaks the connection when the VPN is interrupted). - 🛡️ Antiviruses and firewalls (For example, Avast, Kaspersky, NetGuard).
- 🎮 Game accelerators (For example, Game Turbo on Xiaomi or GPU Turbo on Huawei).
- 📱 Battery optimizers (For example, DU Battery Saver or Greenify).
How to find the culprit:
- Start your phone in safe mode (on Android: hold down the power button →
Safe mode). If Wi-Fi is stable, one of the installed applications is to blame. - Disable suspicious programs one by one, checking the connection.
- On iPhone check
Settings → Privacy → Analytics & Improvements → Analytics Data— there may be logs about Wi-Fi errors.
6. Hardware malfunctions
If none of the methods helped, the problem might be iron:
- 📡 Poor Wi-Fi antenna connection (often after falls or repairs).
- 🔋 Worn out battery — when the battery is low, the phone can forcibly turn off energy-intensive modules.
- 🔥 Chipset overheating — If the phone gets hot, the system may limit Wi-Fi operation.
How to diagnose:
- Check your phone's temperature using an app AIDA64 or CPU MonitorIf the temperature is above 50°C, it is critical.
- Connect your phone to a charger and see if the Wi-Fi works. If so, the battery is to blame.
- Try connecting to a different Wi-Fi network (for example, at a cafe or at a friend's place). If the problem persists, there's a problem with your phone.
Solutions:
- 🔧 If your phone is under warranty, contact a service center.
- 🔋 If the battery is at fault, replace it (cost for iPhone ~5–10 thousand rubles, for Android — 1–3 thousand rubles).
- 📱 If the problem is in the antenna, disassembly and soldering will be required (price depends on the model).
What to do if the phone is under warranty?
Don't attempt to repair it yourself! Opening the case or replacing parts will void the warranty. Contact an authorized service center with your receipt and box. If the problem is software-related, they'll reset or reflash your device for free.
7. Specific cases: Mesh systems, corporate networks, public points
In some scenarios, Wi-Fi may be disconnected due to network features:
- 🏢 Corporate networks With
802.1X(EAP) - require re-authentication after sleep. - 🌐 Public Wi-Fi (at airports, hotels) - often have a session time limit.
- 📡 Mesh systems (For example, Google Nest Wi-Fi or TP-Link Deco) - can "throw" the phone between nodes, which leads to a break.
- 🔒 Network with Captive Portal (where you need to enter your login/password in the browser) - the phone cannot automatically repeat authorization.
Solutions:
- For corporate networks: ask the administrator to increase the session timeout or configure
EAP-SIM(if supported). - For public Wi-Fi: Disable automatic connection to this network.
- For Mesh systems: disable in the router settings
Fast Roaming(802.11r) or tether the phone to one node. - For Captive Portal: Use apps like WiFi Captive Login for automatic authorization.
FAQ: Frequently Asked Questions
Why does iPhone Wi-Fi only turn off on certain networks?
iPhone may "forget" networks with non-standard settings (for example, with a hidden SSID or unusual encryption type). Try:
- Forget network (
Settings → Wi-Fi → ⓘ → Forget this network). - Reconnect by manually specifying the parameters (for example,
WPA2/WPA3instead ofAuto). - Disable
Private Wi-Fi addressin the network settings.
My Android phone stopped working as a Wi-Fi hotspot after an update. What should I do?
This is a typical problem after major updates (for example, with Android 12 on Android 13). Solutions:
- Reset network settings (
Settings → System → Reset → Reset Wi-Fi, mobile networks, and Bluetooth). - Turn it off
Adaptive batteryin the battery settings. - If that doesn't help, roll back to the previous firmware version (look for instructions on 4PDA for your model).
The Wi-Fi only turns off at night. What's wrong?
Most likely, the following are to blame:
- 🌙 Router night mode (many routers turn off Wi-Fi on a schedule).
- 🔋 Saving phone power (at night, the system optimizes the battery more aggressively).
- 📡 Interference from neighboring networks (at night, neighbors may turn on powerful devices that create interference).
Check your router settings for scheduling and change the Wi-Fi channel to a less busy one (for example, from automatic to fixed 6 or 11 for 2.4 GHz).
Is it possible to permanently disable Wi-Fi shutdown when blocked?
On Android - yes, if:
- Install in
Wi-Fi in sleep modemeaning Always. - Disable all power saving modes.
- Use ADB command to force Wi-Fi:
adb shell settings put global wifi_sleep_policy 2
On iPhone there is no complete control, but it is possible:
- Disable
Low power mode. - Turn on
Background app refreshfor critical programs.
Does resetting the phone to factory settings help?
Yes, but only if the problem is software. Resetting will delete all data, That's why:
- Make a backup (
Settings → System → Backup). - Remember your Wi-Fi and account passwords.
- After resetting, do not restore settings from a backup - set up your phone as new.
If the problem persists after the reset, the hardware or firmware is to blame.