How to get “Turn on WiFi Automatically” for the Nexus 5X/6P on Android Oreo

ADB Android for Mobile

Android Oreo has a new feature that enables you to automatically turn on Wi-Fi when you are close to a "high quality network" such as work or home. This feature can be found in the Google Pixel and Google Pixel XL official builds of Android 8.0 but is not available on Google Nexus 5 X or Google Nexus 6P. The two Nexus phones actually had the WiFi Auto Wake-Up function when it was out and Google removed the feature in the ultimate Android 8.0 Oreo release for the Nexus 5X/6P for some unknown reason.

Wireless Internet modules are very efficient in terms of battery life in smartphones these days, so that isn't something which will save many people much battery life. However, you can have a battery drain that is constantly connected to your smartphone and disconnects you from low quality open Wi-Fi networks if you are in an area of WiFi access point with varying network quality.

This is where WiFi is automatically activated. The fact is that whilst Wi-Fi networks can be connected, the Wi-Fi network scanning function is still enabled. Google scans for networks and then uses its own advice to determine whether it should return to WiFi for network connection. in the background. This decision is based on Google's Recommendation service whether the WiFi network is a stored network with which you often login and whether this network is stable high-speed.

By starting the Settings application, typing the Network & Internet option at the top, taping Wi-Fi, and then taping the Wi-Fi preference option at the bottom of the list, you can find this feature. In the feature above you can see the toggle itself.

If you're going to ask me, it's a nice feature. But for the Nexus 5X and Nexus 6P we don't know it was removed, perhaps for those two telephones it didn't work so well. We can bring this feature back with a few ADB commands, as with other features that don't have a user-facing toggle. Let's go into the steps necessary to get back the Google Nexus 5X and Google Nexus 6P "wireless automatically switching feature."

Enable the “Turn on WiFi Automatically” Feature on the Nexus 5X and Nexus 6P

  1. First you’ll need to have ADB installed on your desktop or laptop computer.
  2. Connect the Nexus 5X or Nexus 6P to the computer, enable USB debugging, and then open up a command prompt.
  3. Execute the following command into the command prompt: adb shell
  4. Then execute the following command in the command prompt to bring back the toggle: settings put global wifi_wakeup_available 1
  5. Lastly, go ahead and execute the following command in the command prompt to actually enable the feature: settings put global wifi_wakeup_enabled 1
  6. Automatic wifi