iwasaki 7edd198450 Don't start the sleep state transition procedure while sleep is
disabled or the system is in shutdown procedure.

This should fix the problem which kernel never response to the sleep
button press events after the message `suspend request ignored (not
ready yet)'.

MFC after:	3 days
2012-05-20 16:36:54 +00:00
..
2010-12-15 23:48:45 +00:00
2010-06-11 19:53:42 +00:00
2010-07-06 20:57:28 +00:00
2010-01-21 21:14:28 +00:00