I can't find a list of events that can be listened for while a device is sleeping.
For example, it is possible to use LocationListener while asleep.
My goal is to detect when a user is in his car by at least one of the following methods, which will then wake the phone:
- NFC tag on car dock
- Bluetooth-enabled car radio in range
But failing those, I'm open to ideas.
Thanks
You should create a brodcast receiver and register specific actions.
An example to detect a boot: Android -Starting Service at Boot Time.