Dear all

I am writing an online application via WLAN but has problem when the power
is resumed because all network connections are broken. I want to capture
power resumed event so as to re-establish connections timely.

Is there any API of PPC that is able capture the power events, e.g. power
resumed, power down button is pressed & etc ?

Any suggestions?