Edimax WiFi dongle turns off when router drops wifi connection?

Hi, I have an Edimax WiFi dongle EW-7811Un on my Pi2 running Ubuntu Mate 16.04.

I have this problem whereby if my router drops wifi connection for about a minute, the Edimax dongle turns off and does not come back on.

What do I mean by “turns off” ? Well, the blue light is dead on the dongle but I still have the little wifi logo on the top right of my screen. Clicking it shows my wifi network as available but it will NOT reconnect to it. I have to manually restart my Pi2 to get it working again. My wireless keyboard/mouse dongle still remains working the entire time.

I have already tried the following with no luck:

Try this. Make a file 8192cu.conf in directory /etc/modprobe.d/ with the command

sudo nano /etc/modprobe.d/8192cu.conf

and add the following lines

# Disable power management
options 8192cu rtw_power_mgnt=0 rtw_enusbss=0

Any help is appreciated, thanks !

Hi, I have tried just about every solution out there and I am still experiencing this problem. Is there anyone that can help me with this ? Thanks