Is there any way to prevent the computer from sleeping if high network or CPU utilization is occurring? In example, if a long download is occurring or if the computer is processing a video?
No, there is only a way to disable sleep or set a specific amount of time the computer is idle before it goes to sleep.
Would either of these options help you?