linux/drivers/base/power
Todd Poynor a938da0682 PM / Sleep: Print name of wakeup source that aborts suspend
A driver or app may repeatedly request a wakeup source while the system
is attempting to enter suspend, which may indicate a bug or at least
point out a highly active system component that is responsible for
decreased battery life on a mobile device.  Even when the incidence
of suspend abort is not severe, identifying wakeup sources that
frequently abort suspend can be a useful clue for power management
analysis.

In some cases the existing stats can point out the offender where there is
an unexpectedly high activation count that stands out from the others, but
in other cases the wakeup source frequently taken just after the rest of
the system thinks its time to suspend might not stand out in the overall
stats.

It is also often useful to have information about what's been happening
recently, rather than totals of all activity for the system boot.

It's suggested to dump a line about which wakeup source
aborted suspend to aid analysis of these situations.

Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
2012-08-17 19:40:50 +02:00
..
clock_ops.c PM: Make dev_pm_get_subsys_data() always return 0 on success 2012-08-08 20:49:33 +02:00
common.c PM: Make dev_pm_get_subsys_data() always return 0 on success 2012-08-08 20:49:33 +02:00
domain.c PM / Domains: Fix build warning for CONFIG_PM_RUNTIME unset 2012-07-12 22:39:49 +02:00
domain_governor.c PM / Domains: Fix computation of maximum domain off time 2012-05-11 21:11:44 +02:00
generic_ops.c PM / Sleep: Introduce generic callbacks for new device PM phases 2012-01-29 20:38:41 +01:00
main.c Merge branch 'pm-sleep' 2012-07-19 10:39:21 +02:00
Makefile PM / Domains: Add device stop governor function (v4) 2011-12-01 21:47:40 +01:00
opp.c device.h: cleanup users outside of linux/include (C files) 2012-03-11 14:27:37 -04:00
power.h PM / Sleep: Separate printing suspend times from initcall_debug 2012-07-01 13:31:23 +02:00
qos.c PM / QoS: Use NULL pointer instead of plain integer in qos.c 2012-07-19 00:02:36 +02:00
runtime.c PM / Runtime: Remove device fields related to suspend time, v2 2012-05-01 21:28:38 +02:00
sysfs.c PM / Sleep: Fix build warning in sysfs.c for CONFIG_PM_SLEEP unset 2012-07-12 22:40:02 +02:00
trace.c drivers/base: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required. 2011-10-31 19:31:38 -04:00
wakeup.c PM / Sleep: Print name of wakeup source that aborts suspend 2012-08-17 19:40:50 +02:00