From: Phillip Gawlowski Date: 2009-12-18T16:05:15+09:00 Subject: Re: Computer States On 18.12.2009 05:28, Brandon B. wrote: >> I suspect most BIOSes have this feature, but I have no idea how to >> access it > > i was thinking about bios features, but being able to access and change > certain features of it will either give the user alot of hassle or > myself in having to change things on the many different bios versions > there are, if it is even possible to change it programmatically, not to > mention the warning label that would have to be included by going that > route. You probably want to access http://en.wikipedia.org/wiki/ACPI How you do that is OS specific, since it's fairly lowlevel. A very superficial search for "Ruby ACPI library" didn't produce any real hits, so it might be that you have to go low level to call the Windows, Linux, and Mac OS X APIs for ACPI. However, it is my understanding that ACPI can't wake a computer from a Hibernating/Suspend to Disk (ACPI S4) from within the sleep state. Hope this helps at least a little. -- Phillip Gawlowski