Make ConnectivityService update BatteryStats radio power state
Currently, BatteryStatsService register netd callback and track radio power state only for the default network. So, battery stats are not accurate if cellular and Wi-Fi networks are active at the same time. aosp/2561090 updates BatteryStatsService not to register netd callback on V+ devices. This CL updates LegacyNetworkActivityTracker to call BatteryStats API and update radio power state for networks including non default networks on V+ devices. Bug: 267870186 Bug: 279380356 Test: atest FrameworksNetTests Change-Id: I826b3b4046cc7b8aef46c13300854eaf14b1b777
Loading
Please register or sign in to comment