How to get “Turn On WiFi Automatically” on Nexus 6P

Share on Reddit0Tweet about this on TwitterShare on Facebook0Share on Google+0

One of Android Oreo’s new features is the ability to automatically turn Wi-Fi back on when you’re near a saved network. WiFi modules in smartphones these days are very efficient when it comes to battery life, but when you’re in an area with a ton of WiFi access points with varying network connection quality, you may experience some serious battery drain issues.

After all, your smartphone cannot and shouldn’t constantly connecting and disconnecting from low quality, open WiFi networks.

In the background, Google scans for networks then uses its own recommendation service to determine if it should turn WiFi back on to connect to the network. Google’s recommendation service bases the decision on whether or not the WiFi network is a saved network that you connect to frequently, and if that network offers a stable connection. This was though removed for the Nexus 6P for reasons I don’t know and honestly, I don’t fully understand.

Getting ready for the procedure:

  • First of all, you need a Nexus 6P device running on Android Oreo 8.0 or up;
  • You also need the original USB cable to connect your device to your computer;
  • If you don’t already have the ADB command-line utility installed on your computer, there is no way to skip this important step. You should turn on ADB Debugging, if you haven’t already. On Android Oreo, you must open the Settings app, tap System near the bottom, tap About Phone, and keep tapping the Build Number at the bottom until you get a popup saying you’re a developer. After that, you just have to press Back, tap the new Developer Options item, and set ‘USB debugging’ to On;
  • Make sure that your Nexus device is properly charged.

How to get “Turn On WiFi Automatically” on Nexus 6P:

  1. Connect the Nexus 6P to the computer via the original USB cord;
  2. Execute the following command into the command prompt: adb shell
  3. Up next, you have to execute the following command in the command prompt to bring back the toggle: settings put global wifi_wakeup_available 1
  4. Then, don’t hesitate to execute the following command in the command prompt to actually enable the feature: settings put global wifi_wakeup_enabled 1
  5. Well, that was all you had to do. The “Turn On Wifi Automatically” feature is enabled and you can access it from Settings options. Tap the ‘Network and Internet’ option at the top. After that, tap on WiFi and then WiFi Preferences options. Toggle the option to enable the feature. If you ever change your mind, then simply follow the steps above from the beginning. Simply change the 1 value at the end of the last two command lines to a 0 and everything will be reverted.
Share on Reddit0Tweet about this on TwitterShare on Facebook0Share on Google+0

Radu Nicolae

Rdz works as an editor here at Android Flagship and when he's not at work, he enjoys doing whatever he does. He's a good guy but we still have no idea how he got here!