*This message was transferred with a trial version of CommuniGate(tm) Pro* After a tray with Opendarwin, I found a function that answer to my problem ... pmset if that can help someone, you will found the man of the function: http://developer.apple.com/documentation/Darwin/Reference/ManPages/ man1/pmset.1.html ge