4 ms·
You can sleep after n minutes of lid closed. I find this a good compromise of not toasting my laptop in a bag, and being able to head to a different room withou
by moolcool 8y ago
You can sleep after n minutes of lid closed. I find this a good compromise of not toasting my laptop in a bag, and being able to head to a different room without losing any application state
- coldtea 8y agoSleep doesn't lose any application state.
- txcwpalpha 8y agoSleep isn't supposed to lose any application state, but I've certainly had many issues before with applications freaking out after waking up from sleep, on both a Mac and Windows machines. Sometimes it seems like more of an issue with the way the application handles sleep/network interruptions etc, but the end result is still the same.
- tomc1985 8y agoThere is another comment floating around on this thread about how expecting network state to be preserved after sleep is unreasonable; when the system wakes up most likely its open connections will be stale. Might as well close them gracefully at sleep time.
- wang_li 8y agoIt does if your application state happens to include TCP connections. When Windows wakes, prior to powering up the NIC hardware, it sends all applications a notice indicating that the network is down so everything kills their network connections. This happens on my hardwired desktop. It's one thing if the device can potentially be roaming and changing networks while the system is asleep. But for a wired network connection it's BS.
- coldtea 8y ago>It does if your application state happens to include TCP connections. That's not really what's meant by state though...
- wang_li 8y agoIt’s what I mean. Losing the TCP session is more or less the only thing I care about with my vpn, ssh, and occasional cifs session. A dead putty window is 98% useless.