History log of /packages/apps/Settings/src/com/android/settings/fuelgauge/BatterySipper.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b9ab196bb520fed9b23aa9a259fab08084646c2c 18-Aug-2013 Lifu Tang <lifu@google.com> Sort recent apps, show message when no recent apps

Change-Id: I70bb1913435b46fc87aec10075e43f98ef07ef62
/packages/apps/Settings/src/com/android/settings/fuelgauge/BatterySipper.java
c3e9ac937a4ba948d47cbb83f6999af34fd00b65 13-Aug-2013 Lifu Tang <lifu@google.com> Linked the recent location apps to battery page

* Extracted BatteryStatsHelper from PowerUsageSummary

* Dropped the "pause" and "resume" method from the
RadioButtonPreference

* Opening battery usage page when the user clicks the recent location
apps item

Change-Id: I5a2d03271434765780154265976d8caa7f8060d8
/packages/apps/Settings/src/com/android/settings/fuelgauge/BatterySipper.java
133581e267f513d00a8e50a80fded16535f2821d 04-Jun-2013 Jeff Sharkey <jsharkey@android.com> Follow network stats changes.

Now Wi-Fi and mobile traffic is recorded separately, which means we
can compute much more accurate usage estimates.

Bug: 5543387
Change-Id: I26120a219649a3c84806fab0fd1602ab07509410
/packages/apps/Settings/src/com/android/settings/fuelgauge/BatterySipper.java
a521d11796ffced26319e32184a40383f191e1ae 19-Feb-2013 Amith Yamasani <yamasani@google.com> Actually use the cache for names and icons.

Fixes the flashes in name and icon in Battery usage screen when refreshing.
Bug: 8219466

Some earlier refactoring must have messed up the cache's scope. It will now
avoid reloading name and icon if already present in the cache.

Change-Id: I99c1f14dd53828dcb74cf12c02c47628e2e64d30
/packages/apps/Settings/src/com/android/settings/fuelgauge/BatterySipper.java
dffcc39ba5cd82bb28e06f0664a3ac8c5f31c33f 11-May-2012 Jia Arlan <arlan.jia@sonymobile.com> Fix of Settings application sort crash

The original implementation of compareTo function
will sometimes cause crash when the power usage list
above 32 items.

When comparing double values a proper comparison method
needs to be used. Using just subtraction does not take
into account NaN:S, infinities and +/-0 numbers. In certain
cirtumstances it seems that using subtraction causes
compareTo to return values that is not expected by the
sorting code and causes an illegal argument exception with
"Comparison method violates its general contract!".

This problem only happens if the sort code is called arrays
containing more than 32 (currently) due to how
ComparableTimSort works (call chain is Collections.sort ->
Arrays.sort(Object[]) -> ComparableTimSort.

Change-Id: If732f04797a3c8b2a43568c90bb73a1ec69a4c98
/packages/apps/Settings/src/com/android/settings/fuelgauge/BatterySipper.java
52e56a24904389ca8f7e67e8a883f353b887a4af 13-Sep-2012 Dianne Hackborn <hackbod@google.com> Multi-user battery settings.

Aggregates battery use from other users into one line item.

Change-Id: I811e681891a9ff098491de1e096232f38bf061a9
/packages/apps/Settings/src/com/android/settings/fuelgauge/BatterySipper.java
cb818619c669d4257a4df969dd03eff479ba84d0 16-Sep-2010 Dianne Hackborn <hackbod@google.com> Update power usage UI to follow WIFI data changes.

Now handles WIFI start times being distributed across applications,
and collapses all work done in WIFI uid procs (esp that supplicant
thing) into the apps and overall WIFI category.

Change-Id: I341e5d63c45eeb0fb4121beed62474d947f9de11
/packages/apps/Settings/src/com/android/settings/fuelgauge/BatterySipper.java
be5994d20152c7194aac79eb8152240655fd3373 13-Aug-2010 Dianne Hackborn <hackbod@google.com> Some improvements to the battery usage UI:

- Show wake lock usage in the battery history.
- Show WIFI usage in the battery history.
- Show the amount an app has held a wake lock in the app details.
- Also fix service run time computation in running services.

Change-Id: I5aa959857f83808fbc709f65204f59bbfb73935b
/packages/apps/Settings/src/com/android/settings/fuelgauge/BatterySipper.java
ea38e678537cf740b5f30c1d69c7a332e98cdd2c 11-Jun-2010 Dianne Hackborn <hackbod@google.com> Show history of battery level.

Also clean up to remove dead code for running services and old
battery usage UI.

Finally some string improvements from Roy.

Change-Id: I8765a4c744b92edd1505f14c47fea57b918e5d7b
/packages/apps/Settings/src/com/android/settings/fuelgauge/BatterySipper.java