[SOLVED] System going into sleep mode(Power led blink)

i always turn off the sleep setting and all i dont want my system to go to sleep mode only the display turn off after 20 min but still after few min the system is going into sleep mode the power led starts blinking at that time
using
ASUS STRIX F Gaming Z370
 
Solution
ok so use control panel, go to hardware and sound, click on change when the computer sleeps under power options, under monitor settings and computer setting it says advanced power settings, click on that. When the window pops up there are a few hibernate, sleep settings, power saving set to maximum performance etc.. set them all to never/off/maximum performance-APPLY. Hopefully this will stop the problem.
ok so use control panel, go to hardware and sound, click on change when the computer sleeps under power options, under monitor settings and computer setting it says advanced power settings, click on that. When the window pops up there are a few hibernate, sleep settings, power saving set to maximum performance etc.. set them all to never/off/maximum performance-APPLY. Hopefully this will stop the problem.
 
Solution