How to figure out what process is preventing sleep?
How to figure out what process is preventing sleep?
- Subject: How to figure out what process is preventing sleep?
- From: "Peter Creath" <email@hidden>
- Date: Tue, 20 Jun 2006 15:28:36 -0400
Is there any way to ask the root power manager to log what events or
processes are tickling it? I'd at least like to know when it's being
tickled and by what process. It would also be useful to know what
kind of tickle it's receiving -- e.g. via UpdateSystemActivity() or
disk accesses, or even an IOCancelPowerChange() response to a
kIOMessageCanSystemSleep message.
I've scoured the documentation, and I don't see any clear way to trap
this kind of information. Any clever ideas out there?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden