OSDN Git Service

Account for all wake lock usage.
authorDianne Hackborn <hackbod@google.com>
Tue, 4 Oct 2011 01:34:27 +0000 (18:34 -0700)
committerDianne Hackborn <hackbod@google.com>
Tue, 4 Oct 2011 01:37:44 +0000 (18:37 -0700)
commitc174ec64f9cf7bbb8c1f2ff5b6c4168401d7c6cf
tree165b917f54f9663062f4009809d907d9ba6983c1
parentdd98ff192cb0170927f58645591ac2d54d34cc65
Account for all wake lock usage.

Wake locks can be held outside of what we measure in battery stats,
by things not going through the power manager.  Account for this by
computing the total wake time that is not covered by known wake locks
and screen on time, and blame this on Android OS.

Change-Id: Idf2907bc35f8c35f92155671c8dba521ae9ea804
src/com/android/settings/fuelgauge/PowerUsageSummary.java