OSDN Git Service

Track app and display wakelocks separately.
authorJeff Brown <jeffbrown@google.com>
Wed, 12 Dec 2012 23:43:31 +0000 (15:43 -0800)
committerJeff Brown <jeffbrown@google.com>
Thu, 13 Dec 2012 00:20:17 +0000 (16:20 -0800)
commit27f7a866f5dad2dac82ac04a9fc312308220ba92
treed127eca8d595b60308c07c2c506f918d623e5c67
parentfba73030d674b3cd29ffe8519aa41738b54ae827
Track app and display wakelocks separately.

Change the power manager to use two different kernel wakelocks
to distinguish between an application or the display keeping the
CPU alive.  This may help make the output of "dumpsys batteryinfo"
easier to interpret.

Bug: 7726759
Change-Id: Iaff96ad74030d00200617b459679ea16390a8da5
services/java/com/android/server/power/PowerManagerService.java