On Jan 1, 2008, at 5:43 PM, Marc Epard wrote: On Jan 1, 2008, at 7:22 PM, Michael Smith wrote: Closing the clamshell is an explicit instruction from the user to sleep the system.
Uh, no.
This is getting silly. Yes, it is; it is a documented feature of Apple portables running Mac OS X that closing the clamshell will sleep the system, and as Amanda notes this has been the documented behaviour of Apple portables for a very long time.
As such, when a user closes the clamshell, they expect the system to sleep. Not "maybe-sleep", or "not-sleep-for-an-hour", but sleep. Now. Your scenario is indistinguishable at the software level from my daily routine, where I close the lid on my MBP, pull all the cables from it and stuff it into my backpack. I don't stop to wait for it to sleep, or manually sleep it; I expect that when I close the lid, it will go to sleep and stay asleep.
It's the pulling of the cables that is my instruction to sleep. If I close the lid, but leave the keyboard, external monitor, and power connected, I intend to simply reduce my screen real estate to just the external monitor.
I understand that you are describing what you want. However, I am describing things as they are; if you close the clamshell on a portable, it will sleep. This is the expected and correct behaviour.
You want to overload the closing of the clamshell based on circumstantial information that isn't available to software; setting a preference won't do it, since circumstances change from time to time, and the pessimal outcome is (as I hope I've made clear by now) not acceptable.
On Jan 1, 2008, at 6:01 PM, David Elliott wrote: My scenario (leaving power and peripherals connected) and your scenario (disconnecting everything) are easily distinguishable at the software level. Perhaps you missed that I (unlike some of the other people on this thread) do intend to keep mains power connected. I agree with you that if no peripherals are connected then indeed the scenario is indistinguishable to the machine. And of course in that case it is better safe than sorry.
Oh, and by the way: Step 2 (pull out all the cables) puts my machine to sleep already. So it's really just a matter of modifying the lid close handler to check for power and peripherals. If they are disconnected after lid close, the machine will go to sleep, and that code already exists.
If it wasn't for the fact that lid close is expected by users in general to be an unconditional sleep request, this might be viable (there are complications around USB, expresscard and bluetooth that might not make it quite such a simple thing to achieve).
On Jan 1, 2008, at 5:22 PM, Michael Smith wrote:Closing the clamshell is an explicit instruction from the user to sleep the system.
I don't buy this. Other laptops running other operating systems (Windows and Linux are the two that I've seen) can handle closing the laptop without sleeping.
Windows != Linux != Mac OS X.
This has wandered quite a bit off the original topic at this point, and become another one of those "I don't care what anyone else thinks, I reckon it should do <blah>" threads. It's not helpful to the OP, who wants something that's not really doable, and it's not helpful to the rest of you because nobody here is in a position to do anything about your opinions.
= Mike
|