Wi-Fi Disconnects When You Turn Off Your Phone: 7 Reasons and How to Fix It

Have you noticed that Wi-Fi on the phone turns off automatically, when the screen goes dark or the device goes into sleep mode? Or maybe the connection drops immediately after the smartphone is completely turned off? This problem is familiar to many users. Android And iPhone, but its causes and solutions often remain a mystery. In most cases, it's not breakdowns that are to blame, but energy saving settings, firmware features, or even errors in the router's operation.

In this article we will look at All possible scenarios for Wi-Fi disconnection when the phone is turned off — from a simple transition to sleep mode to a complete power outage. You will learn how to distinguish normal behavior of a smartphone from failure, which parameters to check first, and how to configure the device so that the internet remains stable in any condition. We will pay special attention to the differences between Android (including Samsung, Xiaomi, Huawei) And iOS, and we'll also consider cases where the problem lies not in the phone, but in the router or provider.

1. Why does Wi-Fi turn off when the screen turns off (sleep mode)?

The most common situation is when you put your phone down, the screen goes dark, and after a few minutes you discover that the internet is gone, although the router is working properly. This is not a bug, but energy saving function, which is enabled by default on most smartphones. Manufacturers attempt to extend battery life by disabling "unnecessary" communication modules.

On Android the parameter is responsible for this Adaptive communication or Wi-Fi optimization (the name depends on the OS and shell version). iPhone the option plays a similar role Low power consumption (Low Power Mode). In both cases, the system assumes that if the screen is off, then an active internet connection is not required—except for background tasks like syncing email or instant messaging apps.

  • 🔋 Android (AOSP, Samsung, Xiaomi, etc.): Turns off Wi-Fi after 5-15 minutes of inactivity if no "important" apps are active (e.g. YouTube Music or Google Maps).
  • 🍎 iPhone (iOS): in mode Low power consumption may pause background Wi-Fi activity, but does not usually completely disable the module.
  • Exceptions: some applications (eg Zoom or Discord) forcibly hold the connection even when the screen is off.

It is important to understand that this is not a breakdown, but a conscious decision by the manufacturer. However, if you need Wi-Fi to be on all the time (for example, for IP cameras or remote access), this function can be disabled.

📊 How often does your Wi-Fi turn off during sleep mode?
Constantly
Sometimes
Near a specific router
Never

2. Android Settings: How to Prevent Wi-Fi from Turning Off in Sleep Mode

If your smartphone is on Android The connection drops when the screen turns off, first check energy saving settings for Wi-Fi. The path to them may differ depending on the shell (MIUI, One UI, ColorOS etc.), but the general logic is the same. Here are the universal instructions:

  1. Open Settings → Wi-Fi.
  2. Tap the three dots (⋮) in the upper right corner and select Additionally or Advanced settings.
  3. Find the option Wi-Fi support in sleep mode (or Keep Wi-Fi on during sleep).
  4. Select an option Always (instead of Only when connected to charging or Never).

On smartphones Xiaomi And Redmi additionally check:

  • 🔄 Settings → Battery & performance → App power management → find Google Play Services and disable restrictions for it.
  • 🚫 Settings → Applications → Autostart management → Make sure that autostart is enabled for Wi-Fi system services.

Disable Adaptive Communications|Set "Keep Wi-Fi on during sleep" to "Always"|Check battery limits for system apps|Update router firmware-->

On Samsung Galaxy the path may look like this: Settings → Connections → Wi-Fi → ⋮ → Advanced → Connect to Wi-Fi in sleep modeIf the option is missing, it means it is hidden by the manufacturer - in this case, disabling power saving mode for individual applications.

3. iPhone Features: Why Wi-Fi Disappears When Locked

On iPhone The logic for disabling Wi-Fi in sleep mode is different. Unlike Android, iOS does not break the connection completely, but it can pause active data transfer, if the device is not connected to a charger. This is due to the operation of the function Low Power Mode (low power mode) and background activity policies.

To check and change these settings:

  1. Open Settings → Wi-Fi.
  2. Make sure the slider is Wi-Fi enabled (gray color means that the module is disabled).
  3. Go to Settings → Battery and turn it off Low power mode, if it is active.
  4. Return to Settings → General → Software Update and make sure your phone has the latest version installed iOS.

If the problem persists, try reset network settings:

  1. Settings → General → Transfer or reset iPhone.
  2. Select Reset → Reset network settings.
  3. After rebooting, reconnect to Wi-Fi.

Please note: on iPhone With iOS 16 and a newer function has appeared Private Wi-Fi Address (private MAC address), which can cause conflicts with some routers. Try disabling it for your network:

  • 🔒 Settings → Wi-Fi → (tap on your network) → Disable Private Address.

4. The problem is with the router: why is it "dropping" the phone?

If Wi-Fi disconnects exactly when the phone is turned off (not sleep mode, but a complete power off), the problem may lie in the settings routerMany routers have a function DHCP Lease Time — the time during which the device is considered "active" on the network. If this value is too short (for example, 1 minute), then when the phone is turned off, the router quickly "forgets" it and releases the IP address.

To check and fix this:

  1. Open your router's control panel (usually at 192.168.0.1 or 192.168.1.1).
  2. Find the section DHCP or Local Area Network (LAN).
  3. Install DHCP Lease Time by a value of not less than 24 hours (or 0 for infinite time).
  4. Save the settings and reboot the router.
Router parameter Recommended value Why is this important?
DHCP Lease Time 24 hours or 0 (endlessly) Prevents the router from "forgetting" the device
Beacon Interval 100 ms Too high a value may cause connection breaks.
DTIM Interval 1–3 Affects connection stability in sleep mode
Wireless Mode 802.11n/ac/ax (mixed) Outdated standards (e.g. only 802.11b) may conflict with modern smartphones

Another possible reason is - router energy saving functionSome models (for example, TP-Link or ASUS) automatically reduce the transmission power if there are no active devices on the network. This can lead to loss of connection when you turn off your phone. Look for options like Green Ethernet, Power Saving or Eco Mode and turn them off.

How to check if the router is at fault?

If Wi-Fi disconnects only with one router, but not with another (for example, at work or in a cafe), the issue is definitely with the router settings. Try connecting to a different network or creating a hotspot on your phone and check the behavior of the second device.

5. Software failures: when firmware or applications are to blame

If you've excluded phone and router settings, but Wi-Fi still works turns off when the screen or power is turned off, the problem may be related to:

  • 🐞 Errors in the firmware (especially relevant for custom ROMs or beta versions Android/iOS).
  • 📱 Application conflicts (For example, VPN clients, antiviruses or battery optimizers).
  • 🔄 Wi-Fi module malfunctions (solved by resetting network settings or reflashing the firmware).

To diagnose the problem:

  1. 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.
  2. Check the system logs (on Android you can use the app Logcat or MatLog). Look for errors with tags wifi, wpa_supplicant or dhcp.
  3. Update the firmwareOn . Android check for updates in Settings → System → Software UpdateOn . iPhone - V Settings → General → Software Update.

If the crash occurred after updating the OS, try roll back to a previous version (on Android This can be done through fastboot or TWRP, on iPhone - through iTunes/Finder in recovery mode).

6. Hardware malfunctions: when diagnostics are needed

In rare cases, the reason for Wi-Fi disconnection when turning off the phone may be hardware problems:

  • 🔌 Faulty Wi-Fi module (more common after falls or exposure to moisture).
  • 🔋 Worn out battery (When the battery is low, the phone may forcibly turn off energy-intensive modules).
  • 📶 Antenna problems (for example, after disassembling the phone or replacing the screen).

How to check:

  1. Connect your phone to the charger and check if the problem persists. If Wi-Fi is stable, the battery is to blame.
  2. Check the connection in different placesIf the signal disappears only in a certain area, there may be interference or problems with the antenna.
  3. Connect to a different frequency (for example, go from 5 GHz on 2.4 GHz (or vice versa). If the connection is stable on one of the frequencies, the problem lies in the module's compatibility with the router.

If you suspect a faulty Wi-Fi module, you can run a quick test using Engineering Mode (on Android):

##4636## → Wi-Fi Information → Check connection status.

On iPhone for diagnostics use Apple Diagnostics (hold the power button while connecting to Mac).

7. Additional tips for stable Wi-Fi

If you've tried all of the above methods and Wi-Fi still turns off when you turn off your phone, try these tips:

  • 🔄 Change Wi-Fi channel in the router settings. Automatic selection (Auto) may cause conflicts with neighboring networks. Recommended channels for 2.4 GHz: 1, 6, 11.
  • 📡 Disable the feature Band Steering (if your router has one). This option automatically switches devices between 2.4 GHz And 5 GHz, which can cause connection breaks.
  • 🔒 Set up a static IP for your phone in the router. This will prevent DHCP conflicts and the device being removed from the network.
  • Try a different DNSSometimes Wi-Fi problems are related to slow name resolution. Use 8.8.8.8 (Google) or 1.1.1.1 (Cloudflare).

For Android It is also useful to disable the function Adaptive communication (Adaptive Connectivity), which automatically switches between Wi-Fi and mobile networks:

  1. Settings → Network & Internet → Adaptive Connection.
  2. Disable the slider.

On iPhone check if the option is active Wi-Fi Assist (Settings → Cellular → Wi-Fi Assist). It automatically switches to mobile internet if the Wi-Fi signal is weak, which can create the illusion of a "disconnection".

FAQ: Frequently Asked Questions

Why does Wi-Fi disconnect after 5 minutes of turning off the screen on my Xiaomi?

This is the function's job MIUI Optimization, which is aggressively saving battery power. To fix:

  1. Open Settings → Battery & performance → App power management.
  2. Find Google Play Services And Wi-Fi, disable restrictions for them.
  3. IN Settings → Wi-Fi → Advanced install Wi-Fi support in sleep mode V Always.

If it doesn't help, turn it off. MIUI Optimization through Settings → About phone → MIUI version (tap the version 5 times, then turn off optimization in the developer menu).

My iPhone's Wi-Fi only works when the phone is charging. What should I do?

Most likely activated Low power mode (Low Power Mode). Disable it:

  1. Settings → Battery.
  2. Turn off the slider Low power mode.

If the problem persists, reset your network settings: Settings → General → Transfer or reset iPhone → Reset → Reset Network Settings.

Can a virus cause Wi-Fi to disconnect?

Theoretically yes, but in practice it's unlikely. Mobile malware typically aims to steal data or display ads, not disable Wi-Fi. However, some adware programs (such as fake "battery optimizers") may interfere with network services. Check your phone with Malwarebytes or Dr.Web Light.

My Wi-Fi disconnects when I turn off my phone, but it turns back on after I reboot. What's wrong?

This is typical behavior for phones with faulty Wi-Fi module or damaged module firmwareWhen the power is turned off, the module "forgets" the settings, and they must be reset by rebooting. Solutions:

  • Update your phone's firmware.
  • Reset network settings (Settings → System → Reset → Reset Wi-Fi, mobile networks, and Bluetooth on Android).
  • If the phone is under warranty, contact the service center (the module may be defective).
How can I check if my device is blocked by my ISP?

Some providers limit the number of connected devices or block them by MAC address if they detect suspicious activity. To check:

  1. Connect another phone or laptop to the same router. If the Wi-Fi is stable, the problem isn't with your ISP.
  2. Call your provider's support team and check if there are any device restrictions or MAC blocking.
  3. Try connecting to a different router (for example, via a mobile hotspot). If the problem persists, the phone is to blame.