Re: Cancel Sleep
Re: Cancel Sleep
- Subject: Re: Cancel Sleep
- From: Andrew James <email@hidden>
- Date: Mon, 31 Dec 2007 00:12:15 +1030
I have found a method to make this possible but i am missing a method
to receive notification of the lid closing, or a way to access the
data on state of the power (AC/Battery etc) which would let me use
IOMessage (At the moment the lid notification is identical to the ac/
dc connection/disconnection which messes up the code)
If you send these notifications to the PMRootDomain it will prevent
sleep, but they need to be sent when the lid closes as well as before
the lid close (kIOPMDisableClamshell, kIOPMPreventSleep)
But the main point is i need a way to be notified of the clamshells
state changing but not the power state changing.
On 30/12/2007, at 11:23 PM, Finlay Dobbie wrote:
On Dec 30, 2007 12:51 AM, Andrew James <email@hidden> wrote:
The users are 100% fine with the idea and all i want to know is if
its
possible and if so how, it seems no matter where i ask this
question i
am confronted with other developers views and not a solution
There is deliberately no solution offered to developers for the same
reason that no solution is offered to users.
-- Finlay
_______________________________________________
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