This question already has an answer here:
- Elementary OS ignoring suspend disable 2 answers
the elementary I use, goes into suspend mode even though I'm configuring not to do that. Just leave the monitor set to shut down in 15 minutes. The problem is that I always leave some activity running and when I use the machine, I see that the machine is suspended.