Python Forum
Preventing windows 10 laptop computer from going to sleep?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Preventing windows 10 laptop computer from going to sleep?
#1
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!
Reply
#2
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.
Under the plan that you want to change, click Change plan settings.
Reply
#3
yes, setting via power options windows
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Masters of Computer Engineering Vs Computer Science AndyB 9 5,517 May-11-2018, 02:34 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020