Check out this post regarding my last reply Addresses the API Change http://groups.google.com/group/android-kernel/browse_thread/thread/150dfd8ca32d569d/59855cc803a3dc56?lnk=gst&q=power#59855cc803a3dc56
Thanks On Jun 1, 7:33 am, Raj Kumar <rajkumar...@gmail.com> wrote: > Hi all, > > I have question regardingpowermanagement in kernel. What APIs are > available in linux kernel > forpowermanagement are available for device drivers? e.g. Driver is > interested in knowing the systempowerstartes. Which APIs the driver should > register for which it will > get notifications ofpowerstates > in system? > > Previously in linux kernel pm_register was used which is obselete now. > There are other things as well > like APM and ACPI. But for embedded devices, if the driver is > interested in getting the systempower > states from kernel, which APIs are used? > > /r -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel