platform_system_core/libsuspend
Colin Cross b98865586b libsuspend: force autosleep off during init
If autosuspend_autosleep_init is called when autosleep is enabled,
for example after a runtime restart with the screen off, the kernel
autosleep state will be enabled, but autosuspend_enabled is false.
Further calls to autosuspend_disable by the framework will not result
in autosleep being disabled.

Call autosuspend_autosleep_disable from autosuspend_autosleep_init
to get the kernel state into a known state that matches the
autosuspend_enabled flag.

Bug: 7119416
Change-Id: I8611e4fd256838272aad4382c2340508805b0376
2012-09-21 18:39:17 -07:00
..
include/suspend libsuspend: create new library to handle triggering suspend 2012-05-07 15:33:34 -07:00
Android.mk libsuspend: create new library to handle triggering suspend 2012-05-07 15:33:34 -07:00
autosuspend.c libsuspend: create new library to handle triggering suspend 2012-05-07 15:33:34 -07:00
autosuspend_autosleep.c libsuspend: force autosleep off during init 2012-09-21 18:39:17 -07:00
autosuspend_earlysuspend.c libsuspend: wait for earlysuspend transition to finish 2012-06-14 15:13:10 -07:00
autosuspend_ops.h libsuspend: create new library to handle triggering suspend 2012-05-07 15:33:34 -07:00
autosuspend_wakeup_count.c Fix unused param warning 2012-08-02 10:40:12 -04:00