summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/fuelgauge/PowerUsageSummary.java
Commit message (Collapse)AuthorAgeFilesLines
* Pass the locale code in the help url for help pages.Amith Yamasani2012-12-061-5/+2
| | | | | | | Otherwise the help will always be shown in English. Bug: 7564049 Change-Id: I94da36aa1ae5aabd118178866b7e570bb77add34
* Fix issue 7198767, 7198366, 7189824.Dianne Hackborn2012-09-211-7/+15
| | | | | | | | | | | | Bug #7198767: Crash on choosing App info from the Recent apps tab Bug #7198366: Settings UI should not show other Users' apps Bug #7189824: Settings crashes on trying to access Battery usage summary Also fix running services to be able to show user bitmap when in secondary users, crash in running services if a service is running whose app is not installed for the current user. Change-Id: Ief24810c9ddce1ec3f8641ce08af79e1bc18f221
* Load user photos through system_server.Jeff Sharkey2012-09-191-4/+1
| | | | | Bug: 7194137 Change-Id: Ie36ca40c48fb06d55d120bfcf3db69aea9d83829
* Use UserManager.getUserIcon() to get the user's avatar.Amith Yamasani2012-09-171-5/+2
| | | | Change-Id: I035a5e2a518eb827a2e44910471ed04923921aa3
* Multi-user battery settings.Dianne Hackborn2012-09-121-16/+79
| | | | | | Aggregates battery use from other users into one line item. Change-Id: I811e681891a9ff098491de1e096232f38bf061a9
* Include WIFI scan time in per-application power usage summary.Nick Pelly2012-06-151-13/+29
| | | | | | | | Also, improve logging to more easily show power break-down for each UID. Bug: 6642581 Change-Id: Ib36f4bf9c8c579797225cf887e5b2d323cca61b0
* Help menus for several screens.Amith Yamasani2012-04-231-0/+13
| | | | | Bug: 5144896 Change-Id: Ib2f5146f6f62f2a33261bb165c3bf1bf13b22f38
* Android OS battery usage overstated by screen on timeTodd Poynor2011-12-161-1/+2
| | | | | Change-Id: Icbc4b3ecf91bdbb90da3ee0cf1c68bec953d0177 Signed-off-by: Todd Poynor <toddpoynor@google.com>
* Bring back network counters in battery stats.Jeff Sharkey2011-10-091-2/+4
| | | | | Bug: 4902271 Change-Id: I0900c030407a86efb14a9d528ab355c56f54679e
* Account for all wake lock usage.Dianne Hackborn2011-10-031-1/+26
| | | | | | | | | Wake locks can be held outside of what we measure in battery stats, by things not going through the power manager. Account for this by computing the total wake time that is not covered by known wake locks and screen on time, and blame this on Android OS. Change-Id: Idf2907bc35f8c35f92155671c8dba521ae9ea804
* Data usage strings, sweep touches, fixes.Jeff Sharkey2011-09-251-4/+2
| | | | | | | | | | | | Change strings around limiting background data. Move limit/warning sweeps above inspection sweeps, and teach about additional neighbors on different axis. Guard against DialogFragment.show(), fix pie chart to draw edges, and remove data usage from battery UI. Bug: 5341374, 5337650, 5337385, 5319465, 5236335 Change-Id: Iea8c2a2ab405b645d85abe34a0178d4b8874cdd5
* Unify data/power layout, confirm disable, round.Jeff Sharkey2011-09-021-6/+3
| | | | | | | | | | Share consistent layout between data usage and battery usage. Show confirmation dialog before disabling mobile data. Round warning/limit sweep values to match displayed label. Suppress fade when switching data usage tabs. Bug: 5208510, 5058157, 5038589, 5252816 Change-Id: I3c76f3397445d2d3b173666a41672871df4c61af
* Use the new isNetworkSupported api for wifi-onlyRobert Greenwalt2011-08-311-1/+1
| | | | | | | | Didn't have an API for this before so people used a hacked system property (ro.carrier) to determine if the device supported mobile data. Added new API and switching callsites. bug:5087537 Change-Id: Ibd799559be102a9e2fd552d1a23d1afbcf8f4614
* Use a different wallpaper fragment title from the preference item.Amith Yamasani2011-07-251-2/+32
| | | | | | | Change wallpaper list ordering to alphabetic. Display battery level and charging status in Battery settings. Change-Id: I8ead0fb0f018c79ed258bd1c1ca3f8ecaf32da83
* No split action bar in screens with one actionGilles Debunne2011-07-111-11/+9
| | | | | | Bug 5012012 Change-Id: I87d38e0cc97762aa9043b0c5834a42848cc2a0fe
* am 38d3353e: am 03e90322: Merge "Remove more entries not relevant to ↵Amith Yamasani2011-03-021-1/+4
|\ | | | | | | | | | | | | wifi-only devices." into honeycomb * commit '38d3353e37be450b1b95d2525acbd53e9b67130e': Remove more entries not relevant to wifi-only devices.
| * Remove more entries not relevant to wifi-only devices.Amith Yamasani2011-03-011-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3488384 Bug: 3487976 Bug: 3488381 Removed Cell standby entry from Battery use screen. Removed Mobile signal strength from BatteryHistory screen. Added wifi IP address to About->Status Remove auto-timezone checkbox in Settings->Date & time Change-Id: I228721a3613b1aeb600026e42274337886552698
* | Changes for ril.h version 6.Wink Saville2011-02-171-1/+2
|/ | | | Change-Id: I7e269e5a971c70d6d9a1731b82c538b722cbc01d
* Updating Delete and Refresh icons to Honeycomb styleJustin Ho2011-01-271-1/+1
| | | | | Bug: 3362749 Change-Id: Ib4b61c9e7db05b0627c1f353d3747268455dab6c
* Add back the refresh button and fix refresh when restarted.Amith Yamasani2011-01-201-2/+7
| | | | | | | | | | | Bug: 3364738 Fixes the case where after an orientation change, the battery stats does not refresh. Also added back the refresh menu button that was on the phone. Change-Id: I06c69d17c9945ae976e4e7dc135e2e96242fe721
* Use the new Preference:icon attribute and placeholder for showing icons on ↵Amith Yamasani2010-11-171-1/+1
| | | | the left.
* Don't show battery usage information if data is bogus.Amith Yamasani2010-11-121-10/+20
|
* Start fragmentizing battery usage.Dianne Hackborn2010-11-111-65/+58
| | | | Change-Id: I0864f6738b37c3203e166bb8f7e61e8904d9980a
* Fix issue #3177284: Account for wake lock power usage on CrespoDianne Hackborn2010-11-081-0/+4
| | | | Change-Id: I5988d28fd192cd7fdb85140172a92141eb389964
* Some improvements to the manage apps code:Dianne Hackborn2010-09-201-17/+51
| | | | | | | | | | | - Battery stats now aggregates bluetooth usage. - Battery stats now uses new history iterator API. - Battery stats chart is refectored to have the start of a common facility for building tick charts. - Manage apps will now asynchronously wait for the apps list if it is taking >.25ms to build. Change-Id: I568dd74beedf9a0a5a4c88ab567510cee9af8299
* Update power usage UI to follow WIFI data changes.Dianne Hackborn2010-09-171-11/+78
| | | | | | | | 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
* Make running services initial update async.Dianne Hackborn2010-08-151-7/+3
| | | | | | Also fix the value show for an app's awake time. Change-Id: I801681d3a1d47a6bb1f3fb8cc5b0ef009201146f
* Some improvements to the battery usage UI:Dianne Hackborn2010-08-131-0/+22
| | | | | | | | | - 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
* Add battery history details activity.Dianne Hackborn2010-07-241-0/+16
| | | | | | | | Adds a full-screen version of the battery history visualization, which you can get to by tapping on the battery history chart in the summary screen. Change-Id: Ibca5ef3d0883ff6ffa80b6ddca3c8ac838c85842
* Improve battery chart, fuel gauge now shows time since charged.Dianne Hackborn2010-06-161-5/+8
| | | | | Switch default stats to new time since charged. Update to follow API changes. Improve the battery history chart.
* Show history of battery level.Dianne Hackborn2010-06-111-167/+10
| | | | | | | | | Also clean up to remove dead code for running services and old battery usage UI. Finally some string improvements from Roy. Change-Id: I8765a4c744b92edd1505f14c47fea57b918e5d7b
* Add new button to report battery usage to the developer.Dianne Hackborn2010-02-221-0/+15
| | | | | | | | This displays a new button on the application battery usage details screen for the user to send a bug report to the developer, if that is possible to do. Also adds a button to directly force stop the app from the details screen, and uses the new facilities to determine whether the button should be enabled.
* Use radio hunting time in addition to signal strength for cell standby ↵Amith Yamasani2009-10-191-0/+3
| | | | computation. Fixes #2176141
* Use a custom system icon for native processes.Amith Yamasani2009-09-301-6/+8
| | | | New icons for system components in Battery Use screen.
* Use the ratio of different CPU speeds to compute CPU power consumption per app.Amith Yamasani2009-09-201-2/+19
|
* Link to bluetooth settings.Amith Yamasani2009-07-221-1/+1
| | | | WiFi -> Wi-Fi
* UI improvements for "Battery use" app.Amith Yamasani2009-07-201-31/+55
| | | | | Change the controls UI to display a suggestion. Bluetooth AT command tracking (not enabled yet).
* Fix an NPE.Amith Yamasani2009-06-251-2/+2
| | | | Sometimes name is null, compare the other way around.
* Track native processes.Amith Yamasani2009-06-251-13/+38
| | | | | Add gauge to detail screen and make it look like the item from summary screen. Some string changes.
* Minor UI improvements and showing of unplugged duration.Amith Yamasani2009-06-121-6/+13
|
* More details in the summary and details screens.Amith Yamasani2009-06-101-122/+293
| | | | | | | Show packages included, time that a subsystem was on for. Load label and icon in the background and cache the values. Switch between totals and since-unplugged. Other UI improvements.
* Add detail page for Battery usage and track GPS and foreground CPU.Amith Yamasani2009-06-031-29/+171
| | | | | Show details such as Cpu time, Cpu foreground time, data sent/received, and GPS usage.
* Top level screen for App Fuel Gauge.Amith Yamasani2009-05-221-0/+352
Shows sorted list of power usage (with some debug information) by the top 10 apps and subsystems. Doesn't yet take into account certain subsystems such as data network usage, audio/video DSP usage, Bluetooth and lights other than screen backlight. Screen, Idle, Wifi and Voice usage and CPU time are accounted for. Also need to add detail screens for each item and suggested actions.