integralpro / nosleep

The MacOS X kernel extension, preventing sleep when you close the lid.
GNU General Public License v2.0
874 stars 45 forks source link

automatically disable nosleep if computer lid closed in excess of "x" minutes and go to sleep? #16

Open fm500 opened 8 years ago

fm500 commented 8 years ago

Would it be possible to have a knob that would allow nosleep to self-disable itself if the lid is closed and so many minutes have passed?

If someone forgets to disable it, the laptop will roast in the backpack for days. I'd rather able ot set a 30 minute timelimit. The purpose for me is so when I walk between conference rooms, I don't lose my wifi and all my open connections without walking around with the lid open.

Windows did it best, "if on battery power go to sleep if computer idle for x minutes."