summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Dmitri Plotnikov <dplotnikov@google.com> 2024-07-10 11:08:57 -0700
committer Dmitri Plotnikov <dplotnikov@google.com> 2024-07-10 21:28:35 +0000
commit357b5b365bede83d2e30f11a7d50ba2cb1c3a6ac (patch)
tree114b55c8277bec853a0282ceb3977b31ce93fda0 /api/api.go
parent5cc1b5ec2e3a60bc4c47b9a7c72799f698d3f6fc (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
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions