On Sat, Jan 31, 2015 at 00:24, Ville Valkonen wrote: > Hello Mike and Max, > > my work laptop is running Windows and on there one must press power button > to wake up the machine. If I connect the dots right, current behaviour was > implemented to prevent a "hot bag" problem. Mimicking the Windows behaviour > would also prevent laptop wake ups on a bumpy road. > > Would it make any sense to mimic this behaviour in obsd?
This obviously depends on your windows config. My windows laptop resumes whenver I open the lid. Now what can maybe be improved would be to add a check for which wakeup event we received. If somebody pushed the power button, the lid closed check should probably be skipped. If the wakeup event was lid opening, then making sure the lid really is open makes sense.