In most cases, the root of this problem are customized power plan settings – if you have custom power settings and you upgrade to a newer version of Windows, the new Operating System may not be able to cope with and support your custom power settings and, as a consequence, cause your computer to go to sleep after every 1-4 minutes of inactivity. Solution 1: Resetting and then re-configuring your power settings