• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cancel Sleep
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cancel Sleep


  • Subject: Re: Cancel Sleep
  • From: Michael Smith <email@hidden>
  • Date: Tue, 1 Jan 2008 19:00:25 -0800


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).

Sometime or other, Steve Checkoway <email@hidden> wrote:

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

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Cancel Sleep
      • From: "Jordan K. Hubbard" <email@hidden>
    • Re: Cancel Sleep
      • From: Andrew James <email@hidden>
    • Re: Cancel Sleep
      • From: Steve Checkoway <email@hidden>
References: 
 >Re: Cancel Sleep (From: Michael Smith <email@hidden>)
 >Re: Cancel Sleep (From: David Elliott <email@hidden>)
 >Re: Cancel Sleep (From: Michael Smith <email@hidden>)
 >Re: Cancel Sleep (From: Marc Epard <email@hidden>)

  • Prev by Date: Re: Cancel Sleep
  • Next by Date: Re: Cancel Sleep
  • Previous by thread: Re: Cancel Sleep
  • Next by thread: Re: Cancel Sleep
  • Index(es):
    • Date
    • Thread