commit | c2d02b522cd7efea659a3ff784040f84b8cdbc18 | [log] [tgz] |
---|---|---|
author | Olivier Gaillard <gaillard@google.com> | Thu Sep 20 13:53:18 2018 +0100 |
committer | Olivier Gaillard <gaillard@google.com> | Thu Sep 27 13:42:48 2018 +0000 |
tree | a06d5906160996f53766127d1c056915f1295271 | |
parent | ab4bbc038e0baad837c72dcf1845320f1a8ea1fb [diff] |
Use the background thread instead ActivityManager to update CPU stats. Updating the CPU stats can be quite slow and blocks the ActivityManager handler thread. Bug: 115506775 Change-Id: I9f67acfe2724c11d117703b2c4ccdbcc1f61c5ab Test: manual - dumpsys batterystats | grep CPU