commit | 357b5b365bede83d2e30f11a7d50ba2cb1c3a6ac | [log] [tgz] |
---|---|---|
author | Dmitri Plotnikov <dplotnikov@google.com> | Wed Jul 10 11:08:57 2024 -0700 |
committer | Dmitri Plotnikov <dplotnikov@google.com> | Wed Jul 10 21:28:35 2024 +0000 |
tree | 114b55c8277bec853a0282ceb3977b31ce93fda0 | |
parent | 5cc1b5ec2e3a60bc4c47b9a7c72799f698d3f6fc [diff] |
Fix initial collection of WifiActivityEnergyInfo We should not assume that the initial WifiActivityEnergyInfo would be empty. The data in that object comes from the WiFi controller, which may have accumulated stats since the hardware reset. Bug: 351648321 Test: atest PowerStatsTests; atest PowerStatsTestsRavenwood Flag: com.android.server.power.optimization.streamlined_connectivity_battery_stats Change-Id: If6168457aa72874d61145bc8c39640488f11dfd3