“Ensuring Computer Stays Active for 7 Hours to Record Data”
I have an ESP32 microcontroller connected to my Windows 11 Home laptop via USB. It is logging sleep data for about 7 hours using Tera Term on the laptop. Last night, on my laptop, I configured the power settings by going to Settings > Power and Battery > Screen and Sleep. I set the options as follows:
– Screen turns off after: 5 minutes when plugged in
– Device goes to sleep after: Never when plugged in
However, I discovered in the morning that my laptop had gone to sleep after 3 hours. I had to press the power button to wake it up, and I found that Tera Term had stopped collecting data after exactly 3 hours and 22 seconds. I’m unsure if there is an error on my part in setting up Windows 11 to keep the laptop awake throughout the night while still plugged in, allowing Tera Term to continuously log data, or if this issue is a Windows 11 OS glitch. Any tips or guidance on this matter would be greatly appreciated. Thank you for your assistance.
I have an ESP32 microcontroller connected to my Windows 11 Home laptop via USB. It is logging sleep data for about 7 hours using Tera Term on the laptop. Last night, on my laptop, I configured the power settings by going to Settings > Power and Battery > Screen and Sleep. I set the options as follows:- Screen turns off after: 5 minutes when plugged in- Device goes to sleep after: Never when plugged inHowever, I discovered in the morning that my laptop had gone to sleep after 3 hours. I had to press the power button to wake it up, and I found that Tera Term had stopped collecting data after exactly 3 hours and 22 seconds. I’m unsure if there is an error on my part in setting up Windows 11 to keep the laptop awake throughout the night while still plugged in, allowing Tera Term to continuously log data, or if this issue is a Windows 11 OS glitch. Any tips or guidance on this matter would be greatly appreciated. Thank you for your assistance. Read More