In my opinion, you can ask WifiManager to start scanning the AP, which is fine, and you will get the scan results back, but my question is about the continuous Wi-Fi scan that happens under the hood.
Besides unregistering a wifi listener for a scan callback, is disabling Wi-Fi the only way to stop the hardware from scanning? So, if my device is connected to some Wi-Fi BSSID / SSID, does it ALSO constantly scan? (Yes http://www.androidauthority.com/community/threads/how-to-get-wifi-to-stop-scanning-after-connected.7760/ ) Therefore, if I request a scan when connecting to some Wi-Fi , it starts to constantly scan, since there is no way to actually stop scanning without turning off the hardware ... at this moment you lose connection with the Wi-Fi network, it is NOT acceptable.
Sounds like oversight from Google. Why didn’t they just leave the equipment alone and not constantly check it? If this is not triggered to start scanning, connecting, disconnecting, or stopping the scan, DO NOT DO ANYTHING on your own ... why didn't they implement it that way? My concern is draining the battery with continuous scanning ... no matter if I have a listener, it doesn't matter. The fact that the hardware constantly requests neighboring networks sounds quite resource intensive and battery powered.
Is there anything that can be done in this case without rooting?
performance android wifi battery
Dritanx
source share