Preventing windows 10 laptop computer from going to sleep? - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Forum & Off Topic (https://python-forum.io/forum-23.html) +--- Forum: Bar (https://python-forum.io/forum-27.html) +--- Thread: Preventing windows 10 laptop computer from going to sleep? (/thread-18266.html) |
Preventing windows 10 laptop computer from going to sleep? - rexmism - May-11-2019 Hello, I'm trying to run a program overnight, but my laptop keeps going to sleep after about three hours even though I have it plugged in and set to not sleep (all four settings under Windows 10 sleep settings). Am I missing a setting, or is there any command I can use in my python script to keep the computer active so it won't sleep? Thanks! RE: Preventing windows 10 laptop computer from going to sleep? - Larz60+ - May-11-2019 This is an OS issue, and has nothing to do with Python. From Google: Quote:Open Power Options by clicking the Start button, clicking Control Panel, clicking System and Security, and then clicking Power Options. RE: Preventing windows 10 laptop computer from going to sleep? - pwr1000 - May-13-2019 yes, setting via power options windows |