1424c1d77cfcd2e44366f5a3fbed153ba782f265 |
|
06-Jun-2017 |
jackqdyulei <jackqdyulei@google.com> |
Copy smearing method to BatteryStatsHelper Cherry pick: fix conflict in config.xml This cl adds the following data in BatterySipper 1. screenPowerMah: power smeared by screen 2. proportionalSmearMah: power need to smeared proportionally 3. displayPowerMah: smeared power usage This cl also copies bunch of methods from BatteryUtils to BatteryStatsHelper with minor changes, so we could log smearing logic in BatteryStatsHelper Bug: 62300864 Test: runtest -x BatteryStatsHelperTest Change-Id: I9f92f5c1ac5fa483d0c15a3d5daad570da68a7ff
/frameworks/base/core/java/com/android/internal/os/BatterySipper.java
|
2dd7e5e3ef0a20864a5908fd8c0896776575d68a |
|
21-Jul-2016 |
James Carr <carrja@google.com> |
Calculate and account for memory power use Use PowerProfile to calculate mAh (MemoryPowerCalculator), and involve this calculation in the overall accounting of battery for when the phone is unplugged from a charger. Note: Depends on ag/1196281 Change-Id: Id02bef19c9b250c614df0a6c88711b486faaef46
/frameworks/base/core/java/com/android/internal/os/BatterySipper.java
|
9f55cc71b9b0a27604d448b5c54e3c377b7a067f |
|
28-Jan-2016 |
Adam Lesinski <adamlesinski@google.com> |
Track BLE scans in BatteryStats Distribute the power used by apps scanning with BLE. Bug:22718669 Change-Id: I626d8a459fc28fdd7dac682c9ac7c8434945109d
/frameworks/base/core/java/com/android/internal/os/BatterySipper.java
|
5b1308f02d720808727af61863bd59c227d6fe02 |
|
04-Jun-2015 |
Ruben Brunk <rubenbrunk@google.com> |
Add UI for camera + flashlight battery reporting. Bug: 11694505 Change-Id: Ieefa78a1d641851f4141fe666dae7b9fde394f09
/frameworks/base/core/java/com/android/internal/os/BatterySipper.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/BatterySipper.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/BatterySipper.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/BatterySipper.java
|
33dac5593519a3e9eb83550faf0d55f9f0caefdf |
|
09-Mar-2015 |
Adam Lesinski <adamlesinski@google.com> |
BatteryStats: Record energy info stats from WiFi and Bluetooth controllers Surface some of this information in BatteryStatsHelper. If we are given a total energy from the WiFi controller, we normalize the computed energy of each app and blame them for a fraction of the real energy. Change-Id: I64051b600f5d9f6ac4580d56ef0977971eb4be2d
/frameworks/base/core/java/com/android/internal/os/BatterySipper.java
|
fee756ff91ab4d8f0e09ddb050d22d88ebb66ae7 |
|
17-Jul-2014 |
Dianne Hackborn <hackbod@google.com> |
Implement issue #16330060: Inform ActivityManager about WebView... ...state changes. Add a new API to tell the activity manager about a new dependency one process has on another package. Start using it already for when apps is Context.createPackageContext() to load code from another app. Also do some work on getting the monitoring of proc/uid states in shape so it can be used by unundled code, along with an AppImportanceMonitor class for doing so. Some small fixes and additions to VoiceInteractionService. Improve handling of unaccounted/overcounted battery use so that they aren't shown to the user unless they are significant. Change-Id: I22dd79a73f4e70103d3f8964494aebc8a31f971c
/frameworks/base/core/java/com/android/internal/os/BatterySipper.java
|
abc7c499133fe640d6ece2b28d43b52e66cdaa9a |
|
01-Jul-2014 |
Dianne Hackborn <hackbod@google.com> |
Issue #15986092: Add power tracking of flashlight. Not yet hooked up. Change-Id: Id95e44ecc365e9f38169c0a629b0a48ddb29aa06
/frameworks/base/core/java/com/android/internal/os/BatterySipper.java
|
77b987f1a1bb6028a871de01065b94c4cfff0b5c |
|
27-Feb-2014 |
Dianne Hackborn <hackbod@google.com> |
Hold a wake lock while dispatching network activity events. Also add new API for determining whether the current data network is active, and thus better scheduling network operations. This API is designed to not be tied to a mobile network -- regardless of the network, apps can use it to determine whether they should initiate activity or wait. On non-mobile networks, it simply always reports as the network being active. This changed involved reworking how the idle timers are done so that we only register an idle timer with the current default network. This way, we can know whether we currently expect to get callbacks about the network being active, or should just always report that it is active. (Ultimately we need to be getting this radio active data from the radio itself.) Change-Id: Iaf6cc91a960d7542a70b72f87a7db26d12c4ea8e
/frameworks/base/core/java/com/android/internal/os/BatterySipper.java
|
d45665bf0b26fddf5716a0fd43036848d9301960 |
|
26-Feb-2014 |
Dianne Hackborn <hackbod@google.com> |
Collect per-uid mobile radio usage. We now compute radio active time per application, by distributing the active time across all applications each time the radio goes down, weighting it by the number of packets transferred. Per-app radio power use is now computed using this radio active time. This also gives us a new metric "ms per packet", which give an idea of how effectively an application is using the radio. This is collected and reported as a new set of stats in the human- readable checkin. (It can be computed from the raw checkin data). Also improve sync reporting to include the sync source as used in wake locks, not just the component name. Change-Id: I0b0185fadd1e47ae749090ed36728ab78ac24c5e
/frameworks/base/core/java/com/android/internal/os/BatterySipper.java
|
a7c837f043c1ca0bdecd42645ba7da8c5717566d |
|
16-Jan-2014 |
Dianne Hackborn <hackbod@google.com> |
Add battery power use reporting to batterystats service. Move the BatteryStatsHelper class (which computes power use based on the raw battery stats) out of the settings app and in to the framework. It is now used by batterystats dump output to print the computed power information from its current stats. This involved a lot of refactoring of the BatteryStatsHelper code to remove all of the UI dependencies. I also did a bunch of cleanup in it, such as making all power computations be in terms of mAh. Change-Id: I8ccf2c9789dc9ad34904917ef57050371a59dc28
/frameworks/base/core/java/com/android/internal/os/BatterySipper.java
|