commit | f1d860dd8f26d2a72aaa3842c9b02e802cec4dbd | [log] [tgz] |
---|---|---|
author | Bookatz <bookatz@google.com> | Tue Aug 28 10:15:16 2018 -0700 |
committer | Adam Bookatz <bookatz@google.com> | Tue Aug 28 17:31:14 2018 +0000 |
tree | 17eea6730b79bf202e7352017c3ad0e9dc6d0ceb | |
parent | bda1e07cba84d84df6042f2249d444abc46fb42c [diff] |
BatteryStats: Fix BleScan apportioning The current BleScan apportioning formula has an error. leftOverRxTimeMs is supposed to be constant at this point, representing all the transfer time not already accounted for by the scanning time. That figure is independent of which uids have already been processed. Note that updateWifiState has the same basic formula (for Wifi accounting) but without this bug. Bug: 113269219 Test: none Change-Id: I600ac5e238580d951baa60ba02ed6d99ff48b6b1