Hmm...
Some more debug hints - not sure how they will fit into the overall troubleshooting yet.
Devices that are too slow to resume or suspend:
http://lkml.iu.edu/hypermail/linux/k...4.0/02268.html
A quote from:
https://community.freescale.com/docs/DOC-98327
(Yes, Android is run by the Linux kernel.)
- System can not enter suspend mode:
- Check below setting items have been disabled:
- Whether the usb cable has been removed(usb gadget will hold a wake lock)
- Setting->Display->Sleep, check whether the inactivity timeout period setting is longer than your expected time.
Does not apply.
- Setting->System->Developer options->stay awake(stay awake not be set), check whether the option is disabled.
Does not apply.
- Check if all wake locks have been released(You can see which wake lock is held, and then debug into the specific module):
Code:
# cat /sys/power/wake_lock
Our build does not have that, but...
Code:
[root@kindle power]# cat pm_async
1
(the usb cable is plugged in -> 1 wake lock)
Which we may be able to get some use out of.
Also, this may be of use:
Code:
[root@kindle power]# cat pm_test
[none] core processors platform devices freezer
Which is a bit strange to see - since the kernel build has power management disabled.