You lock your phone, put it down… and just like that, Wi-Fi disconnects. Notifications stop. Downloads pause. Everything breaks until you unlock it again.
Yeah—this is one of those frustrating issues that feels random, but it’s not.
The good news? You can fix it in a few minutes.
Quick Fix (Try This First)
- Turn OFF Battery Saver / Low Power Mode
- Enable “Keep Wi-Fi on during sleep” (Android)
- Disable Wi-Fi optimization or smart switching
- Restart your phone
- Forget the Wi-Fi network and reconnect
This usually fixes it instantly.
Why This Happens
Your phone is trying to save battery. That’s it.
When the screen turns off, many devices automatically reduce background activity—including Wi-Fi.
Here’s what’s really happening behind the scenes:
- Battery optimization shuts down background network access
- Wi-Fi sleep policy disconnects to save power
- System “smart switching” moves you to mobile data
- Apps are restricted when the phone is idle
This usually happens after updates, when settings quietly reset.
Step-by-Step Fixes
Keep Wi-Fi On During Sleep (Android)
This is the most important setting—and most people don’t even know it exists.
- Go to Settings → Wi-Fi → Advanced (or Additional Settings)
- Find “Keep Wi-Fi on during sleep”
- Set it to Always
If you skip this, Wi-Fi will keep disconnecting. Simple as that.
Disable Battery Optimization for System Apps
This is where things get tricky.
- Go to Settings → Battery → Battery Optimization
- Switch to “All Apps”
- Find Wi-Fi, Android System, or System Services
- Set them to Not Optimized
Most people skip this step—and that’s why the issue keeps coming back.
Turn Off Smart Network Switching
Your phone may be switching away from Wi-Fi automatically.
- Go to Wi-Fi settings
- Look for options like:
- Smart Switch
- Adaptive Connectivity
- Switch to Mobile Data
- Turn them OFF
This prevents your phone from silently disconnecting.
Fix iPhone Wi-Fi Sleep Behavior
iPhones handle this differently, but similar issue.
- Go to Settings → Battery
- Turn OFF Low Power Mode
- Go to Settings → Wi-Fi → Tap your network
- Enable Auto-Join
Also make sure Background App Refresh is ON for apps you care about.
Adjust App Background Restrictions
Some apps stop working when Wi-Fi drops during sleep.
- Go to Settings → Apps → Select app
- Open Battery or Data settings
- Allow Background Activity
This helps keep connections alive even when the screen is off.
If It Still Doesn’t Work
If nothing above fixes it, check these:
- Outdated system software (update your phone)
- Aggressive custom UI (like some Android skins)
- Router settings disconnect idle devices
- VPN apps interfering with Wi-Fi
Try connecting to a different Wi-Fi network. If the issue disappears, your router might be the cause.
Extra Tips to Prevent This Issue
- Avoid using extreme battery saver modes daily
- Restart your phone every few days
- Keep your system updated
- Don’t install aggressive “battery saver” apps
Small tweaks. Big impact.
FAQ
Why does Wi-Fi turn off when my phone sleeps?
Because battery optimization disables background connectivity to save power.
How do I keep Wi-Fi always on?
Enable “Keep Wi-Fi on during sleep” and disable battery restrictions.
Does battery saver affect Wi-Fi?
Yes. It often limits or disables Wi-Fi when the screen is off.
Why do notifications stop when my phone is locked?
Because apps lose internet access when Wi-Fi disconnects in sleep mode.
Is this a hardware problem?
No. It’s almost always a settings issue.
Helpful Tip
If your apps also behave strangely in the background, you might want to check this: why apps fail to load properly due to hidden system limits. It’s more connected than you think.
Final Thoughts
Wi-Fi disconnecting during sleep isn’t random—it’s your phone trying too hard to save battery.
Fix the settings once, and it stays stable.
If this solved your issue, check out more quick fixes—you’ll be surprised how many small problems have simple solutions.