platform_system_core/libsuspend
Tim Murray fb896944b6 libsuspend: move to exponential backoff
If for some reason the system can't suspend (usually a driver bug),
libsuspend will currently attempt to retry suspend after 100ms. Because
entering suspend takes a significant amount of CPU time, this can be
extremely expensive and be a major contributor to rapid battery
drain. Move autosuspend to use exponential backoff if the previous
suspend attempt failed.

bug 32092914

Change-Id: I3e9e944f290de5f1853a02e3f61721ba9159df46
2016-10-11 14:51:34 -07:00
..
include/suspend Adds a parameter to the wakeup_callback to report sucessful wakeup or suspend aborts. 2015-06-25 13:15:22 -07:00
Android.mk libsuspend: Turn on -Werror 2014-05-21 12:58:38 -07:00
autosuspend.c libsuspend: use wakeup count interface for system suspend 2014-03-04 20:02:53 -08:00
autosuspend_autosleep.c Add TEMP_FAILURE_RETRY to libsuspend. 2015-05-18 15:53:56 -07:00
autosuspend_earlysuspend.c Add TEMP_FAILURE_RETRY to libsuspend. 2015-05-18 15:53:56 -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 libsuspend: move to exponential backoff 2016-10-11 14:51:34 -07:00