After upgrade to Windows 10 PC started to loose WiFi connection. WiFi adapter was plugged into USB. After some investigation it felt like WiFi drops connection because of power saving kicking in.
Here is how you can disable power saving for USB WiFi adapter :
Open Network settings
Open Network and Sharing Center
Change Adapter Settings
Open Properties for WiFi adapter
Open Configuration
Uncheck power saving.
It this is not helping then you can also look for general USB power saving. Though it might not be wanted approach in case of battery powered devices.
Here is how to find it:
Open System Settings
Continue to Additional power settings
Next open Change plan settings for plan in use
Go to Change advanced power settings
Now you can disable or enable USB power suspend. Default is Enabled