How to fix Wi-Fi problems with Android Lollipop

As is always the case with a brand-new operating system update, Android Lollipop has a few kinks that need to be worked out. Battery drain was a problem for Nexus 5 owners (now fixed); Wi-Fi is another. Here's how to fix Wi-Fi problems on a Nexus device.