926969b411ca52eeefd6b01c0c7970d8a65ee526 |
|
29-Apr-2016 |
Adam Lesinski <adamlesinski@google.com> |
BatteryStats: Keep track of coulomb counter Bug:27174034 Change-Id: Ica66817faa20b9788536f28f0e593483f033904b
/frameworks/base/services/core/java/com/android/server/BatteryService.java
|
6361e22feae7cdb0968f1056c7834e2825eeae31 |
|
07-Apr-2016 |
Ruchi Kandoi <kandoiruchi@google.com> |
batteryService: Add Charge Counter. Bug: 27174034 Change-Id: Ib8bc8f617288c0ad543c67e0fa609c5a0c87b5fd Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/frameworks/base/services/core/java/com/android/server/BatteryService.java
|
2b2e24c2ab77475ac9b22b4eecdee10db578800c |
|
02-Nov-2015 |
Badhri Jagan Sridharan <badhri@google.com> |
Merge "BatteryService: Add Max charging voltage"
|
2e44107bf7d9ad97833933422ccd241bf53ff50c |
|
29-Oct-2015 |
Dianne Hackborn <hackbod@google.com> |
Implement shell commands for battery and activity services. The battery service just implements the existing commands that are available through dump. The activity service implements the small set of commands that are available through dump (not the rest of the dump commands), and also introduces some of the simple "am" shell commands as a proof-of-concept of moving those into the service implementation. Change-Id: If5ff80930dde787703e2682e43c36ce1dab05d69
/frameworks/base/services/core/java/com/android/server/BatteryService.java
|
f92fcfe36ad841cba4774e7f2129e8dab7ac784a |
|
27-Oct-2015 |
Badhri Jagan Sridharan <Badhri@google.com> |
BatteryService: Add Max charging voltage Bug: 25229483 Change-Id: Ibeba97eb145c3d59a763bd8632ab7fcc43118e4b
/frameworks/base/services/core/java/com/android/server/BatteryService.java
|
76dc5a51cde1db0e8e193f22bc8a7ace9edef53d |
|
22-Jul-2015 |
Adrian Roos <roosa@google.com> |
Send BATTERY_CHANGED if maxChargingCurrent changes Fixes a bug where the charging current on Keyguard was stale on devices that don't immediately set the charging current. Follow-up to I2e5c21dd7ec028ce47fb03ab71e74f7fccaa9e36 Bug: 8099739 Change-Id: I4b5b3b1231b1372310206941386dba743d5f88f4
/frameworks/base/services/core/java/com/android/server/BatteryService.java
|
7b04311d88e377c67b4c663091b6b1c63c932c52 |
|
10-Jul-2015 |
Adrian Roos <roosa@google.com> |
Show charging speed on Keyguard Bug: 8099739 Change-Id: I2e5c21dd7ec028ce47fb03ab71e74f7fccaa9e36
/frameworks/base/services/core/java/com/android/server/BatteryService.java
|
d1eccbea388fde6a575acb4e797efdd07798344a |
|
18-Feb-2015 |
Dianne Hackborn <hackbod@google.com> |
Add some detailed data as part of battery history. Every time the battery level changes, a new extended detailed use data structure is written to the history. This currently only contains delta CPU use since the last detailed entry (total CPU and to three uids), but it gives us the infrastructure for adding more detailed data in the future. A detail entry for regular history looks like: Details: cpu=15730u+2307s (u0a57=11312u+502s, 1000=2344u+701s, 0=473u+991s) /proc/stat=15377 usr, 1797 sys, 197 io, 0 irq, 8 sirq, 23103 idle (42.9% of 6m 44s 820ms) u is user-space cpu time, s is system/kernel time. The equivalent check-in output is: 9,h,0,Dcpu=15730:2307/10057:11312:502/1000:2344:701/0:473:991 9,h,0,Dpst=15377,1797,197,0,8,23103 Also add a new "unplug" command to the battery service, to easily put it into a state where it always considers the device to be running on battery. Change-Id: Ic76d966f11e592b9dd671879977bf999ebc11eef
/frameworks/base/services/core/java/com/android/server/BatteryService.java
|
2139276ce8b54aba5faa858ca69ed5f01445c269 |
|
14-Jun-2014 |
Jeff Brown <jeffbrown@google.com> |
Refactor BatteryService to new pattern. Apply SystemService pattern to BatteryService. Change-Id: I4971b2da8d2aed4d14440fb65863a8b916bab03c
/frameworks/base/services/core/java/com/android/server/BatteryService.java
|
14272302a8b635bd8e9267c1411d0a7ef11bff45 |
|
11-Jun-2014 |
Dianne Hackborn <hackbod@google.com> |
Implement control of auto power save mode. Follow the setting for auto power save mode in both battery service and battery UI. Default level is 15 when setting is not set; otherwise it is whatever the setting gives, with 0 meaning auto battery save is off. Change how we define the "turn off warn" level to be an adjustment from the warn level, so we can have a good value for whatever auto setting is set. Fix power manager to never go in to power save mode when plugged in, even if the user has manually turned it on. Add new delete option to settings command, because I needed it for testing. Change-Id: I512b691df84399d50b8e751fd50732c6093ebe85
/frameworks/base/services/core/java/com/android/server/BatteryService.java
|
eb94fa7975b1e8742f3b00cec6bd4f9d6b329e3a |
|
04-Jun-2014 |
Dianne Hackborn <hackbod@google.com> |
Improvements to low power mode. Add new public API for monitoring low power mode. BatteryService now puts device in to low power mode when battery level is low. Window manager now watches low power mode to turn off animations. Modifying the animator scale now gets propagated to all processes. Change-Id: I8fa566994764ddd4e1977631e28381ab9409f8ee
/frameworks/base/services/core/java/com/android/server/BatteryService.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/services/core/java/com/android/server/BatteryService.java
|
a1f1a3c573acd91024fda0ceb3b921c73b186963 |
|
25-Feb-2014 |
Dianne Hackborn <hackbod@google.com> |
More battery stats. - Add events for sync. - Add more descriptive tags for wake events. - Fix battery reset. - Fix tracking of wifi data. Change-Id: Ic07f2a86a5ed33e7da57eb1108c31c777ecd801f
/frameworks/base/services/core/java/com/android/server/BatteryService.java
|
49782e46c0eb85a25ae2abcf80880c48dbab5aea |
|
20-Dec-2013 |
Amith Yamasani <yamasani@google.com> |
am 9158825f: Move some system services to separate directories * commit '9158825f9c41869689d6b1786d7c7aa8bdd524ce': Move some system services to separate directories
|
9158825f9c41869689d6b1786d7c7aa8bdd524ce |
|
22-Nov-2013 |
Amith Yamasani <yamasani@google.com> |
Move some system services to separate directories Refactored the directory structure so that services can be optionally excluded. This is step 1. Will be followed by another change that makes it possible to remove services from the build. Change-Id: Ideacedfd34b5e213217ad3ff4ebb21c4a8e73f85
/frameworks/base/services/core/java/com/android/server/BatteryService.java
|