9d8f51cbae05135848bea4b9b4b41793ae126e28 |
|
12-Sep-2016 |
yuanhuihui <yuanhuihui@xiaomi.com> |
fix wrong algorithm in WifiPowerPerPacket() step1: PowerProfile.POWER_WIFI_ACTIVE represents energy consumption(mAh) per hour devied by 3600, then WIFI_POWER ==> energy consumption(mAh) per second step2: WIFI_BPS represents 1000000 bit per second then (double)WIFI_BPS) / 8 ==> 1000000/8 Byte per second step3: as upload and download, so divided by 2; then (((double)WIFI_BPS) / 8 / 2048)) ==> 1000000/8/2048 KB per second ==> packet per second (where 1 packet = 2 KB) so WIFI_POWER / (((double)WIFI_BPS) / 8 / 2048) represents mAh per Packet where 1 packet = 2 K. when divided by (60*60) again , that make WifiPowerEstimator narrow 3600 times. Change-Id: Ic055a5145b6dfb1129c8969826329a3024c9e2b6 Signed-off-by: yuanhuihui <yuanhuihui@xiaomi.com>
/frameworks/base/core/java/com/android/internal/os/WifiPowerEstimator.java
|
083e1d9e4b32dde846b763474152664d62f5b3f1 |
|
30-Jul-2015 |
Mitchell Wills <mwills@google.com> |
Fix incorrect default wifi power draw values Bug: 22848679 Change-Id: Ief4e3e05b051b93efbe30fdc8903cce6765d2ed8
/frameworks/base/core/java/com/android/internal/os/WifiPowerEstimator.java
|
e283d33feda27f54672f90512c25304842cd7eb4 |
|
16-Apr-2015 |
Adam Lesinski <adamlesinski@google.com> |
Report WiFi and Bluetooth energy collection in checkin stats Also removed some legacy bluetooth energy collection that was never invoked. Also fixed an issue with Wifi scan power estimation. Bluetooth energy recording is still disabled as strange results are still reported. Change-Id: Iafa37eba285fd933ff221116b14af260e904fa4f
/frameworks/base/core/java/com/android/internal/os/WifiPowerEstimator.java
|
e08af19fcc7b13d526f3dfd24d58300947cf1146 |
|
26-Mar-2015 |
Adam Lesinski <adamlesinski@google.com> |
Adding per UID WiFi power distribution. Change-Id: I88c539074607d7261f6c5cf1dbae47c3cf53f253
/frameworks/base/core/java/com/android/internal/os/WifiPowerEstimator.java
|
e9b9b73ab598a912de04fbd5501bca5924ce8f71 |
|
07-Apr-2015 |
Bart Sears <bsears@google.com> |
Revert "Adding per UID WiFi power distribution." This CL is breaking the clockwork settings app in master. Reverting until Adam has a chance to investigate. This reverts commit b943fabfc8ddb581dc2fd7288f87428dcb5d27b7. Change-Id: Ieb11423c11cf9874a6175dce49843d0e1080c590
/frameworks/base/core/java/com/android/internal/os/WifiPowerEstimator.java
|
b943fabfc8ddb581dc2fd7288f87428dcb5d27b7 |
|
26-Mar-2015 |
Adam Lesinski <adamlesinski@google.com> |
Adding per UID WiFi power distribution. Change-Id: Ia3d97e0a1c3352127185c18626d8ba8221c9ab40
/frameworks/base/core/java/com/android/internal/os/WifiPowerEstimator.java
|