commit | 21f76aa77075be5e057c36040d7d6e695c669b72 | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Mon Jan 25 12:27:06 2016 -0800 |
committer | Adam Lesinski <adamlesinski@google.com> | Wed Jan 27 15:45:30 2016 -0800 |
tree | bd251d47be2febccc5f2b6100bb33cd2a3938aa2 | |
parent | c9fd313f94f7e0dc1f1f865290a2eb1b1897d2ad [diff] |
Record ModemActivityInfo and distribute power blame to apps Telephony expsoses a getModemActivity() method, which BatteryStats will poll when a change in network activity occurs (on the modem). The time spent in various states (tx, idle, rx) are distributed amongst the apps that did rx/tx traffic during that window. Bug:23147562 Change-Id: I480a85df95786f87c382b96816fe2ed4bb2d5a42