IOPMSchedulePowerEvent - laptop lid closed
IOPMSchedulePowerEvent - laptop lid closed
- Subject: IOPMSchedulePowerEvent - laptop lid closed
- From: Keith Duncan <email@hidden>
- Date: Sun, 19 Nov 2006 13:56:49 +0000
Hi,
I've written a root daemon that schedules power events but I've
noticed a bug:
IOPMSchedulePowerEvent((CFDateRef)wakeDate, (CFStringRef)
@"dawnAlarmd", CFSTR(kIOPMAutoWakeOrPowerOn));
This code fails to wake a laptop from sleep when the lid is closed!
Anyone know how to do it?
- Keith
_______________________________________________
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