In

./kernel/android-2.6.29/drivers/base/power/main.c

is this function:

int device_power_down(pm_message_t state)

But I don't think, that this is what you can use.

Good luck !

  Frank



On 25 Mrz., 06:38, sachinikam <[email protected]> wrote:
> I need an API which will shutdown/hibernate the device?
> This API needs to be called from the kernel driver.
> There is an API in pm.h
> device_power_down(PMSG_HIBERNATE);
> is this correct?
>
> Thanks,
> Sachin, Pune.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to