This is now my third time with this problem, the first required me to restore to factory settings. These last two seem to have been triggered by a power flicker at my residence. The power momentarily flickered long enough for my computer to shut down. After booting the computer seems fine until approx 5-10 min later it will enter sleep mode no matter what I am actively doing on the pc. I fixed the second time with a restoration to two days before the incident. This time I restored to that same point and it still has the problem. Power settings are on high performance with sleep and hibernate set to never. It is a desktop. I cannot figure out what has actually caused the problem nor how to fix it. Please help, thank you.