summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/fuelgauge
Commit message (Collapse)AuthorAgeFilesLines
* Themes: Add tint mode so custom icons can show in power usage detailRandall Rushing2016-04-241-1/+4
| | | | | | | adding to this original commit: http://review.cyanogenmod.org/#/c/136136/ Change-Id: Id38035d8eaa4c3bd004fe747a5df3899646e5cdc Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
* Settings: Disable and hide refresh button on power usage detail.Adnan Begovic2016-04-072-5/+13
| | | | | | | | Users expect immediate return on their input, so don't allow the input. Change-Id: I5c2553ed6fb5dc617b458123e1e13590d64f4ba1 TICKET: CRACKLING-1035
* Settings: Use correct LOW_POWER_MODE_TRIGGER defaultEthan Chen2016-04-041-3/+1
| | | | | | | | | | | * Low power mode was set to never enable automatically upstream in frameworks/base. We erroneously read from the config_lowBatteryWarningLevel resource for the default in change: 821fd62d952e380a260fc6edae8919284785796a, which is usually 15. * Reset this to 0 to align with the default value set in the provider. REF: CYNGNOS-2274 Change-Id: Iec32f972fe6d67b258ee17eff603c4a67c99d783
* Themes: Expose Hard coded icon tint in power summary settingsBryan Owens2016-03-161-1/+1
| | | | | Change-Id: I9b41af6ecc8843623815c08561f7bd5d0f3e4d77 Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
* Merge tag 'android-6.0.1_r22' of ↵Steve Kondik2016-03-101-1/+1
|\ | | | | | | | | | | | | | | https://android.googlesource.com/platform/packages/apps/Settings into cm-13.0 Android 6.0.1 release 22 Change-Id: Ided010bc125199d47ca59d10f0ed5032a26632ff
| * am 031bbef5: Merge "Update implementation to match BatteryStats.Uid" into ↵Adam Lesinski2015-09-181-1/+1
| |\ | | | | | | | | | | | | | | | | | | mnc-dr-dev * commit '031bbef57e7d8e18b238bac4e3e7c356b0055655': Update implementation to match BatteryStats.Uid
| * | Refactor UidDetailProvider and its dependencies to SettingsLib.Wei Liu2015-08-251-1/+1
| | | | | | | | | | | | | | | | | | so that it can be reused by Wear app data usage. Change-Id: Id05f888274e15fbeffa175ee8073de02a8966867
* | | settings: dock batteryJorge Ruesga2016-03-105-30/+317
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I2a95e74719175c3f40e2cc7a8414db7e869d92fb Require: topic:dock_battery Signed-off-by: Jorge Ruesga <jorge@ruesga.com> Improve dock battery strings Change-Id: I03066cd18c378a1974d4eaa6f084fe75250d1fcc
* | | PowerUsage : Don't update if profile didn't changeDanesh M2016-02-231-3/+6
| | | | | | | | | | | | | | | | | | CYNGNOS-786 Change-Id: I4eb47e5f206f9723b7d003ccfac484e377bf7afd
* | | Settings: skip Misc/Overcounted battery stats in buildsmyfluxi2015-12-071-2/+2
| | | | | | | | | | | | | | | | | | | | | Quadruple battery lifez. Change-Id: I251af69d9a4c3fe4a5856e23b8d7dfeca7c3213e Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* | | perf: Enable app-profile pref only if profile has supportKhalid Zubair2015-11-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Use new perf manager APIs to query if a perf profile has support for app profiles. Enable the pref only when supported. Currently, only the 'Balanced' profile has app specific rules. Change-Id: I9aa96bd869c6e80a4d3ba3b97646647db3b47d57
* | | Use separate icon for flashlight power usageMichael Bestas2015-11-071-1/+1
| | | | | | | | | | | | Change-Id: Ic27fdbda905eae1dbcd90304fa544270797942d3
* | | perf: Fix typo when filtering perf profilesSteve Kondik2015-11-051-1/+1
| | | | | | | | | | | | Change-Id: I9c010c4fe03a5418af1fd22b12fadb4cc8e2a77d
* | | Merge tag 'android-6.0.0_r26' into HEADRicardo Cerqueira2015-11-051-1/+1
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android 6.0.0 release 26 Conflicts: res/values-fr/strings.xml res/values-it/strings.xml res/values-ja/strings.xml res/values-nl/strings.xml res/values-pl/strings.xml res/values-ro/strings.xml res/values-ru/strings.xml res/values-zh-rCN/strings.xml res/values/bools.xml res/values/strings.xml res/xml/development_prefs.xml src/com/android/settings/DevelopmentSettings.java src/com/android/settings/DeviceInfoSettings.java src/com/android/settings/DisplaySettings.java Change-Id: I9fd9e793cf6097d950f8a1e30771c8bdf5067906
| * | Update implementation to match BatteryStats.UidAdam Lesinski2015-09-061-1/+1
| |/ | | | | | | Change-Id: Ibdb7dc4b98c5a365c97bb56ad51e936b51892d3f
* | settings: fuelgauge: Always show screen on timeChristopher R. Palmer2015-11-031-5/+12
| | | | | | | | | | | | | | The screen on time is always meaningful, even if it doesn't account for 1% of the total battery drain. Always show it. Change-Id: Ie627959130fd84bbf7f337a14e322ca43b899526
* | Fix Battery % display in saver thresholdAbhisek Devkota2015-11-031-1/+2
| | | | | | | | | | | | The strings changed upstream, causing this "%" to no longer display. Change-Id: Ia0bb331ae6b2081ec13e156a27df3c558514395b
* | settings: Add battery mode and performance profile settingsSteve Kondik2015-11-031-4/+117
| | | | | | | | Change-Id: I5e7a459e21728c044114ff990102d84b2d5fb6a5
* | Settings: Cleanup battery saver settingsMichael Bestas2015-11-032-236/+81
|/ | | | | | | * Add back auto battery saver * Add back support for battery saver on devices without perf profiles Change-Id: I562420a81592fde54a96dca88a71ed9137bb59a9
* String update for battery details page.Julia Reynolds2015-08-171-1/+1
| | | | | Bug: 22978210 Change-Id: I87d231868d6116c3f0d88a6a6d3ca5fac1ce8c90
* BatteryStats: Fix coalescing of shared app GIDs and system UIDsAdam Lesinski2015-08-132-86/+132
| | | | | | | | | UIDs that consumed power and were actually shared app GIDs are now coelsced for system apps as well as regular applications. In addition, system UIDs like logd, NFC, DRM, etc are coalesced into Android System. Bug:23189342 Change-Id: I6c8eb4baec66fba3d1f71a155d8ea1fe920ffec9
* Fix issue #23037899: Support for Battery Optimization permission + DialogDianne Hackborn2015-08-101-0/+116
| | | | | | New pretty dialog. Change-Id: I6094b83139beffc407b01049a0d9d1f85a95df07
* Merge "Wrap text on long preferences." into mnc-devJulia Reynolds2015-08-101-0/+1
|\
| * Wrap text on long preferences.Julia Reynolds2015-08-061-0/+1
| | | | | | | | | | Bug: 22987590 Change-Id: Iaef2c7d7d4581372a381d537f6d85a64d94bdf12
* | Remove extra help & feedback menu from power usageJason Monk2015-08-101-6/+5
| | | | | | | | | | Bug: 23044354 Change-Id: Ic722655a50eddbf4f8e53a2b73ed49b5cf6426a4
* | Hide optimization control on battery details page for non whitelisted apps.Julia Reynolds2015-08-061-1/+2
|/ | | | | Bug: 22978210 Change-Id: If532960478dccf6ef9bea08a27167e1850749277
* fix InactiveApps instrumentationChris Wren2015-07-281-2/+2
| | | | | Bug: 21114836 Change-Id: I84357981158d057c2d302822801fb54ad82a901c
* Merge "Battery summary - tint uid 0 icon" into mnc-devJason Monk2015-07-271-1/+2
|\
| * Battery summary - tint uid 0 iconJason Monk2015-07-271-1/+2
| | | | | | | | | | Bug: 22657823 Change-Id: If360420ada70777520ccc682022f7f4e2e50a70b
* | Update battery optimization stringsJason Monk2015-07-271-3/+5
|/ | | | | Bug: 22687961 Change-Id: I039a781a0c3db991cbe4ad7d3e6246cc5cb1cbfa
* Fix battery detail issues with "Android OS"Jason Monk2015-07-222-3/+7
| | | | | Bug: 22638215 Change-Id: Ia5bab7eb3bfb964e7f914e8c8f392f4fea66eb29
* Update FakeUid to implement new method defined in BatteryStats.UidAdam Lesinski2015-06-301-0/+5
| | | | | Bug:21498425 Change-Id: I956c04d13daf985d472cc7ff2762ad74d5bb9502
* Merge "Merge dex2oat with app being installed" into mnc-devAdam Lesinski2015-06-302-4/+79
|\
| * Merge dex2oat with app being installedAdam Lesinski2015-06-292-4/+79
| | | | | | | | | | Bug:22008744 Change-Id: Id87fe215760202e2969c27d686fa8ba106b00754
* | Fix crash in ignore optimizations dialogJason Monk2015-06-302-8/+9
| | | | | | | | | | | | | | Launch it like a dialog, because it is one. Bug: 22181580 Change-Id: Ibeda8506cfb7a9a9d60f70462a4e03972b38f8aa
* | Report real wifi running time in Power DetailsAdam Lesinski2015-06-261-1/+1
|/ | | | | Bug:21934412 Change-Id: Ic8623c8b424021f1af3d143d3b07398dd22091d6
* Add computed power to each Battery Details pageAdam Lesinski2015-06-251-3/+13
| | | | | | | | Some battery sippers have nothing interesting besides their power consumption. Show that. Bug:21934412 Change-Id: I7669343086892fb7be34fec00d1fd4c0bfd08b55
* Merge "Fix ListView being too eager too scroll" into mnc-devJason Monk2015-06-181-44/+48
|\
| * Fix ListView being too eager too scrollJason Monk2015-06-181-44/+48
| | | | | | | | | | | | | | ListView is always too eager to scroll, so just stop using it. Bug: 21853796 Change-Id: Id37d89b0312597a9fb65a33f151af34b3f395d91
* | Remove battery history graph from details screenJason Monk2015-06-181-9/+0
|/ | | | | Bug: 21854416 Change-Id: I3172106c8b1adbe19179adddcec2848d14d04588
* Merge "dex2oat should show something friendlier in Settings -> Battery" into ↵Brian Carlstrom2015-06-161-0/+2
|\ | | | | | | mnc-dev
| * dex2oat should show something friendlier in Settings -> BatteryBrian Carlstrom2015-06-121-0/+2
| | | | | | | | | | Bug: 13161823 Change-Id: If68d91900c88f33f5656a9e336633d53a5e900ce
* | Merge "Layout refinement for app lists" into mnc-devJason Monk2015-06-161-17/+4
|\ \
| * | Layout refinement for app listsJason Monk2015-06-161-17/+4
| |/ | | | | | | | | | | | | | | | | | | | | Make all app lists (or at least all current app lists) use the same base layout for icon, label, and sizing/padding. This way they should look the same. Bug: 21727125 Bug: 21726922 Bug: 21853632 Change-Id: I3cffadb9e7b5184d4209deacd4ea70ec1d4f71b4
* | Fix issue #21813831: Need API for asking to be added to power whitelistDianne Hackborn2015-06-151-3/+20
|/ | | | | | | | | | | When launching the battery whitelist for a particular app, we now default to the app being asked to enable adding to the whitelist, and dismissing the dialog will dismiss the entire whitelist UI. You can now launch the whitelist without specifying an app to just get the regular UI. Change-Id: Idf3840b8a30febe71fbd600969c257d72809643f
* New dialog for ignore battery optimizationsJason Monk2015-06-101-31/+88
| | | | | Bug: 21375688 Change-Id: I7240cc0615044cf5a34349e5ffdf2ae2e0f6333f
* Move ApplicationsState to SettingsLibTony Mantler2015-06-081-2/+1
| | | | | | | | | Also take InterestingConfigChanges along for the ride and delete unused AppPermissionSettings b/21328967 Change-Id: I4d0c1a27054845a54cf68e95a92024d2e46f636e
* Merge "Add UI for camera + flashlight battery reporting." into mnc-devRuben Brunk2015-06-063-10/+97
|\
| * Add UI for camera + flashlight battery reporting.Ruben Brunk2015-06-053-10/+97
| | | | | | | | | | Bug: 11694505 Change-Id: Idca51a2e8cc7c2fb3e9d10f84f94e66600dee6fa
* | Fix crash in battery screenJason Monk2015-06-042-1/+249
| | | | | | | | | | | | | | Also add a fake app item Bug: 21624653 Change-Id: I1a8598472e014f773d2396a9a08fd03e8e32b400