How to Keep Android Wi‑Fi Hotspot On When Screen Is Off (No Root)
13 min read
Learn step‑by‑step how to keep your Android Wi‑Fi hotspot active while the screen is off, using built‑in settings and free apps—no root required.
October 12, 2026 14:30
Many Android users rely on the built‑in Wi‑Fi hotspot to share a cellular connection with laptops, tablets, or other phones. The default behavior on most devices is to turn the hotspot off as soon as the screen blanks or the device goes to sleep. This can be frustrating when you need a stable connection for long downloads, remote work, or a home‑office setup. The good news is that you can keep the hotspot alive without rooting your phone, by combining a few system tweaks with a lightweight helper app.
Why Android Turns the Hotspot Off
Android treats the hotspot as a high‑power feature. When the screen turns off, the system assumes you no longer need it and disables the radio to save battery. Manufacturers often add extra power‑saving policies that shut down the hotspot after a short idle period (usually 5‑15 minutes). Understanding this helps you see why the simple “keep the screen on” trick works, and why a more refined solution is preferable.
Before You Start
- Battery level: Ensure your phone is at least 50 % charged or plugged into a charger. Keeping the hotspot on for hours can drain the battery quickly.
- Data plan: Verify that your carrier allows tethering and that you have enough data allowance for the intended usage.
- Wi‑Fi channel: If you plan to use the hotspot for a prolonged period, set the Wi‑Fi band to 2.4 GHz to maximize compatibility with older devices.
- Permissions: You will need to grant the helper app permission to modify system settings and ignore battery optimizations.
Method Overview
The tutorial consists of three main phases:
- Configure the hotspot with a stable SSID and password.
- Apply system settings that prevent the device from sleeping the hotspot.
- Install a small “keep‑alive” app that periodically wakes the hotspot while the screen is off.
We’ll also cover alternative approaches for devices that block background activity.
Step 1 – Set Up the Wi‑Fi Hotspot
- Open Settings → Network & internet (or Connections on some Samsung devices).
- Tap Hotspot & tethering → Wi‑Fi hotspot.
- Toggle the hotspot On to reveal the configuration screen.
- Tap Hotspot name (SSID) and give it a unique name. Avoid special characters to ensure all clients can connect.
- Select Security →
WPA2‑PSK. Enter a strong password (at least 12 characters, mixing letters, numbers, and symbols).
- Choose AP band →
2.4 GHz for broader device support. If all your clients are modern, you may select 5 GHz for higher speed.
- Set Maximum connections to the number of devices you expect (default is 8).
- Tap Save.
At this point the hotspot works, but it will still shut down when the screen turns off. The next steps address that.
Step 2 – Prevent the System from Sleeping the Hotspot
2.1 Enable “Stay Awake” While Charging
Developer Options include a Stay awake while charging toggle that keeps the CPU on whenever the device is plugged in. This is the simplest way to keep the hotspot alive during long sessions.
- Open Settings → About phone → tap Build number seven times until you see “You are now a developer!”.
- Return to the main Settings page and open System → Developer options.
- Find Stay awake and enable it.
- Plug your phone into a charger. The screen may still turn off, but the CPU stays awake, which prevents the hotspot from being killed.
This method works only while the device is charging. If you need the hotspot on battery power, continue to the next sub‑step.
2.2 Disable Battery Optimizations for the Hotspot Service
Android’s battery‑optimizing engine (Doze) can still suspend the hotspot after a few minutes of inactivity. You can exempt the hotspot service from these restrictions.
- Open Settings → Apps & notifications → Special app access (you may need to tap the three‑dot menu).
- Select Battery optimization.
- Tap the dropdown that says
Not optimized and choose All apps.
- Scroll down to Wi‑Fi hotspot or Settings (the system UI that controls the hotspot) and select Don’t optimize.
Now Android will not put the hotspot process to sleep, even when the screen is off.
Step 3 – Install a Keep‑Alive Helper App
Even with the above tweaks, some manufacturers (e.g., Xiaomi, OnePlus) enforce aggressive hotspot shutdown policies that ignore battery‑optimization exemptions. A lightweight app that periodically toggles the hotspot on and off can keep it alive by “tricking” the system into thinking the hotspot is still in use.
3.1 Recommended App: Hotspot Keep‑Alive
The app is free on the Play Store, does not require root, and uses a partial wake lock to keep the Wi‑Fi radio active.
- Open the Google Play Store, search for Hotspot Keep‑Alive, and install it.
- Launch the app. It will request the following permissions:
- Modify system settings (to enable/disable the hotspot).
- Ignore battery optimizations (to stay alive in the background).
- Run in the background (to keep the wake lock).
- Tap Grant permission for each request. You will be taken to the appropriate Settings screen – follow the prompts.
- In the app’s main screen, set the Refresh interval to
30 seconds. This interval is short enough to keep the hotspot alive but long enough to minimise battery impact.
- Toggle the Enable keep‑alive switch.
- Return to the hotspot screen and turn the hotspot On if it isn’t already.
From now on the app will silently wake the hotspot every 30 seconds, preventing the system from shutting it down.
3.2 Alternative: Using Tasker (for power users)
If you already use Tasker, you can create a profile that runs a Wifi Tether toggle command every minute. This approach offers more control over timing and can be combined with other automation.
- Install Tasker from the Play Store.
- Create a new Profile → State → Net → Wi‑Fi Connected. Leave SSID blank to match any network.
- Add a Task called
Keep Hotspot Alive.
- In the task, add an Action → Code → Run Shell with the command:
svc wifi tether start
Set Use Root to Off.
- Add a second Wait action for
55 seconds.
- Loop the task by adding a Goto Action → Label pointing back to the first action.
Tasker will keep the tether alive as long as the profile is active. Remember to disable the profile when you no longer need the hotspot to conserve battery.
Testing the Configuration
After you have applied the steps above, perform a quick test to confirm the hotspot stays on:
- Connect a laptop or tablet to the hotspot.
- On the Android device, press the power button to turn the screen off.
- On the client device, start a large download (e.g., a 100 MB test file from
speed.hetzner.de/100MB.bin).
- Observe the download for at least 10 minutes. If the download continues uninterrupted, the hotspot is staying alive.
- If the download stops, note the time elapsed and proceed to the troubleshooting section.
Troubleshooting Common Issues
Hotspot Still Turns Off After a Few Minutes
- Check Battery Optimization: Re‑open Settings → Apps → Special app access → Battery optimization. Ensure the keep‑alive app is set to
Don’t optimize.
- Manufacturer‑Specific Power Saver: Some OEM skins have a separate “Battery saver” or “App power management” section. Add the keep‑alive app to the whitelist.
- Disable Adaptive Battery: Settings → Battery → Adaptive Battery → toggle
Off. This can prevent the system from throttling background apps.
- Increase Refresh Interval: If the interval is too short, the system may still consider the hotspot idle. Try 60‑second intervals.
Device Overheats or Battery Drains Quickly
- Make sure the phone is on a charger during extended sessions.
- Reduce the Wi‑Fi band to 2.4 GHz, which consumes less power than 5 GHz.
- Lower the maximum client count; each additional device adds radio load.
- If overheating persists, stop the keep‑alive app and revert to the “Stay awake while charging” method only.
Tasker Loop Stops After a Reboot
Tasker profiles do not survive a reboot unless you enable the “Run on boot” option. Open Tasker → Preferences → Misc → enable Run on boot. Then re‑activate the profile after a reboot.
Optional Enhancements
- Automatic Turn‑Off: Add a second Tasker profile that disables the hotspot after a predefined period (e.g., 4 hours) to avoid accidental data overuse.
- Data Usage Monitoring: Use the built‑in Data Usage screen (Settings → Network & internet → Data usage) to set a warning limit for the hotspot.
- Dynamic SSID: Some users prefer a rotating SSID for privacy. Tasker can change the hotspot name every few hours via the
settings put global tether_wifi_name "MyHotspot_"$(date +%M) command.
Safety and Privacy Considerations
Running a hotspot continuously exposes your device’s IP address to any connected client. Keep the following in mind:
- Use a strong WPA2 password; avoid default or easy‑to‑guess SSIDs.
- Do not share the hotspot with unknown devices; they could attempt man‑in‑the‑middle attacks.
- If you are on a limited data plan, monitor usage closely to avoid unexpected charges.
- Be aware that some carriers throttle tethering speeds after a certain amount of data. Check your contract if you notice slowdowns.
When to Consider a Rooted Solution
If you find that the manufacturer’s firmware simply refuses to keep the hotspot alive—even after all the steps above—a rooted device can use iptables rules or custom scripts to force the tether to stay up. However, rooting voids warranties and introduces security risks, so we recommend the no‑root approach for most users.
Wrap‑Up
By configuring the hotspot settings, disabling battery optimizations, and adding a lightweight keep‑alive app (or a Tasker profile), you can maintain a stable Wi‑Fi hotspot while the screen is off, without needing root access. This setup is especially useful for remote work, long‑duration downloads, or turning your phone into a portable router for a temporary office.
Remember to monitor battery consumption, keep your password strong, and adjust the keep‑alive interval to balance stability with power usage. With these steps, your Android phone becomes a reliable, always‑on hotspot whenever you need it.