Power aware application
Hi,
I am working to develop software for a Set top box with GIT Linux. I need to implement power management feature. I have added the routines in the kernel with which the system can enter suspend when I give the following system call from the application system("echo standby > /sys/power/state") My question is how to have a callback in the user level application which will come to know that the system has resumed after suspend? Can I pass a user level function to the register_pm_notifier api...or is ther any other way out |
All times are GMT -5. The time now is 08:33 AM. |