Sometimes Windows 10 Power Plan gets corrupted and it may cause strange behaviour like making your computer or laptop to Sleep randomly even if you completely disable the Sleep Mode in the current Power Plan.
If you have tried to change the Power Plan settings and nothing helped then here is how to fix the problem:
- Type in Windows search Power Sleep
- Scroll down to Related Settings -> Additional Power Settings
- Click on the Choose When to Turn of the Display link from the left column.
- Click on the Restore Default Settings for this Plan
- If it this won’t fix the problem or the Restore Default Settings for this Plan is disabled then continue to step 6
- Click the Change Advanced Power Settings
- In the new window click the Restore plan defaults button.
- If this won’t fix the problem or the Restore plan defaults button is disabled then continue to step 9
- Select a different Plan (High Performance or Maximum Performance).
- Then click the Restore plan defaults button.
- Click OK and this should fix the corrupt power plan.
- Now you can change or tweak the Power plan settings according to your needs, or completly disable the Sleep mode.
If all of the above still does not help and you have a laptop then you can try to remove the battery from the laptop a few seconds then put it back and this could solve the problem.