The solution is in two stages.
Step 1: Press the “Windows” button.
Step 2: Type “Power Options”
Step 3: Select which plan you need to modify ( for example, I use Balanced plan on battery and Performance plan on charging)
Step 4: Click on “Change Plan Settings” .
Step 5: Click on “Change Advanced Power Settings”
Step 6: Scroll down to “Wireless Adapter Settings” and expand it, and then expand “Power Saving Mode”
Step 7: Select “Maximum Performance” for both on battery and plugged in.
Step 1: Go to Control Panel>Network and Internet>Network and Sharing Center
Step 2: Left click on the connection of yous network (Blue Color Label).
Step 3: This will open the Wi-Fi status box. Select Properties, select Configure, click on the Power Management Tab.
Step 4: Uncheck the box that says “Allow computer to turn off this device to save power”. Select Ok.
The tweak is completed. Restart your system for the effect to be applied.