http://askubuntu.com/questions/762198/16-04-lts-wifi-connection-issues

Open or create 

sudo gedit /etc/pm/config.d/config
and add 
SUSPEND_MODULES="rtl8192ce"
(replace rtl8723be with your own model number) Then run 
echo "options rtl8192ce fwlps=N" | sudo tee /etc/modprobe.d/rtl8192ce.conf
and reboot.
