These should be altered so you can get the most out of the available power. The former will see Windows 10 act accordingly when the PC is draining the battery, while the latter will affect times when you're plugged into an outlet. I know that sleep/hibernate is suspended if a netflix or youtube video is running, I'd like the computer to do the same when a powershell process is running. If you're using a laptop, there are actually four options that fall into two categories: one for when you're on battery and the other for when you're plugged in. I know I can adjust the 'Power and sleep settings' to set the computer to never sleep, but that's not what I'm looking for - I do want it to go to sleep when the process isn't running. Set the time for both using the drop-down menus.What if you forget the power adapter is not plugged in If your battery expires while.
Type 'sleep' and select 'Choose when the PC sleeps'. You can modify your Windows sleep settings with the following steps: