I use a Nexus 6P as my day to day driver despite my phone having the early shutdown bug with the battery. (Currently working on getting an RMA, come on google I am at 4wks now waiting for outbound shipment.) I stumbled upon something that I just wanted to bookmark for use just in case I ever needed to find this again. Instead of a regular bookmark I figured it would be better if I made a public posting and linked the original artical.
1 2 3 adb shell settings put global wifi_wakeup_available 1 settings put global wifi_wakeup_enabled 1