There is a reboot notifier you can register your own call back to get called on reboot.
register_reboot_notifier is your friend. grep for where its used for examples on how to do it. --mark On Tue, May 22, 2012 at 6:14 PM, Satya vara prasad <sv.prasad...@gmail.com>wrote: > Hi all,register_reboot_notifier > I have an small scenario like > when the system is rebooting or shutting down,How my device driver will > get the notification. > Based on that i should glow particular led for an indication. > > > Thanks&Regards > prasad > > -- > unsubscribe: android-kernel+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-kernel -- create interesting things. -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel