Wifi Keeps Disconnecting

I have recently installed Zorin 15.3 core on a machine. All is well and good except that the Wifi and the Bluetooth connection keep disconnecting. I tried looking up the internet for solutions but I didn't find anything. I already set wifi.powersave to 2 but that didn't fix the issue.
One thing to note is that, when the Wifi disconnects, and I go into settings and turn the Wifi switch off, it says no Wifi adapter found. When I toggle it back on, after couple of seconds, it lists the Wifi connections.
Does anyone have any idea, why this is happening and how to fix it?