summaryrefslogtreecommitdiff
path: root/services/java/com/android/server/BatteryService.java
Commit message (Collapse)AuthorAgeFilesLines
...
* AI 144333: Change the way the battery level tracking code works in ↵Evan Millar2009-04-021-0/+10
| | | | | | | | | | | | | | | BatteryStats. Before we simply kept track of the last 2 levels as recorded at plug and unplug events. During charge cycles this would be useful because it would tell us what the start and end levels were in the last discharge cycle. However during a discharge cycle this information could be misleading as it would give you the level at the last unplug event (beginning the the discharge cycle) and last plug event (end of the previous discharge cycle). Now we are still keeping track of 2 values, but they are "discharge cycle start level" and "discharge cycle current level". During a discharge cycle this will give you the level the current discharge cycle started at, and the current level. During a charge cycle the same data will be supplied as before (the start/end of the last discharge cycle). B=144249 Automated import of CL 144333
* auto import from //branches/cupcake_rel/...@140373The Android Open Source Project2009-03-181-6/+14
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+401
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-287/+0
|
* auto import from //depot/cupcake/@132589The Android Open Source Project2009-03-031-115/+1
|
* auto import from //depot/cupcake/@137055The Android Open Source Project2009-03-021-1/+115
|
* auto import from //branches/cupcake/...@132276The Android Open Source Project2009-02-191-3/+4
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-4/+31
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-4/+25
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+238