From: Rafael J. Wysocki Date: Sun, 29 Apr 2012 20:53:32 +0000 (+0200) Subject: PM / Sleep: Add "prevent autosleep time" statistics to wakeup sources X-Git-Tag: v3.5-rc1~116^2~3^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55850945e872531644f31fefd217d61dd15dcab8;p=pandora-kernel.git PM / Sleep: Add "prevent autosleep time" statistics to wakeup sources Android uses one wakelock statistics that is only necessary for opportunistic sleep. Namely, the prevent_suspend_time field accumulates the total time the given wakelock has been locked while "automatic suspend" was enabled. Add an analogous field, prevent_sleep_time, to wakeup sources and make it behave in a similar way. Signed-off-by: Rafael J. Wysocki Acked-by: Greg Kroah-Hartman --- Reading git-diff-tree failed