Quote:
Originally Posted by NiLuJe
Not yet. Sherman is working on something that may help, but keep in mind that when a device goes to sleep, it goes to *suspend*, so that's generally a terrible trigger to do stuff, because you can't actually do stuff ;p.
|
I haven't tested any of these yet, but Nickel does emit the following signals:
Code:
SIGNAL :: void N3PowerWorkflowManager::aboutToSleep()
SIGNAL :: void N3PowerWorkflowManager::resumingFromSleep()
SIGNAL :: void N3PowerWorkflowManager::resumedFromSleep()
SIGNAL :: void N3PowerWorkflowManager::aboutToPowerOff()
SIGNAL :: void N3PowerWorkflowManager::aboutToReboot()
So I think it will be possible to listen for them using my current project. Just got to plumb them in...