commit | 3c0eb618a6398926893508f9d05fa39a99cf4894 | [log] [tgz] |
---|---|---|
author | Sohani Rao <sohanirao@google.com> | Fri Feb 03 14:11:10 2017 -0800 |
committer | Sohani Rao <sohanirao@google.com> | Fri Feb 17 16:02:09 2017 -0800 |
tree | 86cbb0f5e097e0f66bf166596f8e1a460c523b3d | |
parent | 53f278b6fed422a18d763b07216a21e96d9445f9 [diff] |
Note WifiState in BatteryStats BatteryStats has APIs which can be used to keep it posted about the WifiStateMachine state . This can help correlate power usage with different WifiStates. A helper class WifiStateTracker will convert WifiStateMachine states to the states of interest in BatteryStats. Bug: 28908455 Test: Unit tests Change-Id: I18db4496c1d7388f57e249d7dbdc0115134c1b3b