When you open your Device manager, you may notice that some devices have the Power Management tab in their Properties:
Such devices include Network adapters and Universal Serial Bus controllers; right click on one of these devices -> Properties -> Power Management and untick the option: Allow the computer to turn off this device to save power.