commit | abdd568bcf5045cf20228645cf9b0069cfcb3f1b | [log] [tgz] |
---|---|---|
author | Michael Wachenschwanz <mwachens@google.com> | Wed Jan 05 17:14:07 2022 -0800 |
committer | Michael Wachenschwanz <mwachens@google.com> | Tue Jan 11 01:51:45 2022 -0800 |
tree | 835d9989c69aae5b439b414754efebea91408538 | |
parent | ae6b04cf8494575e54274d5140512b1755a15994 [diff] |
Move PowerStatsLogger off of the main thread. Logging data from the PowerStatshal can take a significantly long time. Moving the PowerStatsLogger to the PowerStatsService thread to avoid choking other system services. Fixes: 212652242 Test: atest PowerStatsServicetest Change-Id: I990d38ae8c51741b8cdc41bf60938e19342f8ef4