Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Fix WiFi Battery Drain on Marshmallow

· 5 min read · Home Networking

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

WiFi battery drain on Android 6.0 Marshmallow usually comes from the system scanning for networks even when WiFi is off, or from a misconfigured setting like "Keep WiFi on during sleep." To fix it, the quickest method is to turn off WiFi scanning in Location settings and set "Keep WiFi on during sleep" to "Only when plugged in." Below is the full step-by-step guide.

What You'll Need

  • An Android device running Marshmallow (6.0/6.0.1)
  • Access to the Settings app
  • Battery stats to check before/after (optional but helpful)

Step-by-Step

  1. Check which app or service is draining battery. Go to Settings > Battery. Look for "WiFi" or "Android System" or "Google Play Services" at the top. If WiFi shows a high percentage, proceed. If it's something else, that may need a different fix.
  2. Turn off WiFi scanning. Go to Settings > Location > Scanning (or Settings > Location > Three-dot menu > Scanning). Uncheck WiFi scanning and Bluetooth scanning. This stops the system from constantly probing for networks even when WiFi is off.
  3. Set WiFi to stay on only when plugged in. Go to Settings > WiFi > Three-dot menu > Advanced > Keep WiFi on during sleep. Select Only when plugged in (or Never if you want maximum battery saving). This prevents WiFi from staying active in deep sleep.
  4. Disable "Always allow scanning" in WiFi settings. In the same Advanced WiFi menu, look for Scanning always available (or "Always allow scanning") and turn it off. This is a separate toggle from the Location scanning one.
  5. Turn off WiFi when not in use. If you're not near a known network, toggle WiFi off from the quick settings shade. Marshmallow's battery optimization works best when WiFi is fully off, not just disconnected.
  6. Restart your device. After making these changes, reboot to clear any stuck wakelocks.
  7. Monitor battery usage. After a day, check Settings > Battery again. WiFi should no longer be at the top unless you've been actively using it.

Common Mistakes

  • Only turning off WiFi from the quick settings. That doesn't stop background scanning if "Scanning always available" is on. You must disable that toggle separately.
  • Forgetting the Location scanning toggle. Many users turn off WiFi but leave Location scanning on, which still uses WiFi hardware for location.
  • Setting "Keep WiFi on during sleep" to "Always" and then wondering why battery drains overnight. Change it to "Only when plugged in" or "Never".
  • Assuming a third-party "battery saver" app will fix it. These often make things worse by adding background processes. Stick to system settings.
  • Not checking if a specific app is causing the drain. Sometimes an app like a chat client keeps WiFi active. Check battery stats per app.

Tips

  • Use Airplane mode overnight if you don't need calls or data. It kills all radios instantly.
  • If you're rooted, you can use a tool like Amplify or Greenify to control wakelocks, but that's advanced and not required for most users.
  • Keep your device updated. Google released security patches for Marshmallow that improved battery handling; if you're on an old build, consider updating if your manufacturer still supports it.
  • Turn off WiFi when you leave home. Use a tasker app or just do it manually—it's the simplest habit.
  • Check if your router is on a congested channel. A weak signal makes the phone boost its WiFi power, draining battery. Change the router channel to a less crowded one.

Troubleshooting

If you've done all the steps above and WiFi still drains battery, try these in order:

  1. Restart in Safe Mode. Hold the power button, then long-press "Power off" and confirm Safe Mode. If battery drain stops, a third-party app is the culprit. Uninstall recently installed apps one by one.
  2. Clear the cache partition. Turn off the device, then press and hold Volume Up + Home + Power (varies by device) to enter recovery. Wipe the cache partition. This doesn't delete personal data.
  3. Reset network settings. Go to Settings > Backup & reset > Network settings reset. This clears saved WiFi networks and Bluetooth pairings—you'll need to re-enter them.
  4. Check for a system update. Go to Settings > About phone > System updates. Install any available update, even if it's just a security patch.
  5. Factory reset as a last resort. This erases all data. Back up first. Go to Settings > Backup & reset > Factory data reset. After reset, set up as new and test battery before restoring apps.

If none of that works, the battery itself may be aging. Check battery health via a third-party app like AccuBattery, or consider a battery replacement if the device is old.

Frequently Asked Questions

Why does my WiFi drain battery even when it's off?

Because "Scanning always available" is likely enabled. This lets the system use WiFi for location even when WiFi is toggled off. Disable it in WiFi Advanced settings and in Location scanning.

Does turning off WiFi scanning affect GPS accuracy?

Yes, slightly. WiFi scanning helps pinpoint your location indoors. Without it, GPS may take longer to lock and be less accurate in buildings. If you need precise location, keep it on, but expect some battery cost.

Should I set "Keep WiFi on during sleep" to "Never"?

If you want maximum battery savings, yes. But you'll lose background sync and may miss notifications until you wake the device. "Only when plugged in" is a good compromise.

Will these steps work on Android 7 or later?

Most of the settings exist in later versions too, but the exact menu paths may differ. On Android 10+, for example, "WiFi scanning" is under Settings > Location > WiFi scanning. The principle is the same.

My battery drain is from Google Play Services, not WiFi. What do I do?

Clear the cache of Google Play Services: Settings > Apps > Google Play Services > Storage > Clear cache. Also ensure you're on the latest version from the Play Store. If it persists, check for a system update.

Is it safe to use a task killer to stop WiFi processes?

No. Task killers cause more harm than good—they kill background processes that restart immediately, using more battery. Use the system's built-in battery optimization instead.