catching wake-up event in C
I need to catch standby/suspend to ram/suspend to disk from my application.
Also I need to catch wake up event from any of the above states.
I have been googling for 1 week , but couldn't get any info.
I tried with acpi_listen, which suppose to print the events, but it doesn't print anything on SUSE 13 32 bit OS.
can any one help me?