History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1bb480a3a4ce2ce63c5d09fa7f5cc38ec160ebf4 02-Aug-2014 John Spurlock <jspurlock@google.com> Battery saver: new policy changes + SystemUI tweaks.

- Service policy changes: allow the user to turn off (snooze)
saver mode below the auto-trigger level. Plugging in the
device always exits saver mode.
- Default trigger level is now 0 (never) instead of 15.
- SystemUI now also listens to a new POWER_SAVE_MODE_CHANGING,
since waiting for _CHANGED can take seconds.
- Move shared feature description text into the framework so it
can be shared.
- Tweak dialog title + action strings.
- Remove trigger-level from SystemUI, it no longer needs it.
- Add the ability to turn off saver mode directly from the
notification.
- Migrate saver confirmation dialog to common system UI dialog
helper, and add a few convenience methods.
- Fix bug where the status bar area would be orange over the keyguard
in SHADE_LOCKED mode.

Bug:16214395
Change-Id: I3d1ded1eec9e63e7d97469486f6a320e1bebbccd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java
0ff62e09116dd125fc36f7af5de7a0b60aaa789b 22-Jul-2014 John Spurlock <jspurlock@google.com> BatterySaver: Make the bars orange.

Bug:16203820
Change-Id: I85f700d30a90212202626fc10fb289aca7f2b688
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java
853b070f19801058182ac1172d7c21c7651253c8 05-Jul-2014 Jorim Jaggi <jjaggi@google.com> Add % for battery in expanded QS; make it clickable

Also removes the "xx minutes until full" label in expanded QS.

Bug: 15392950
Bug: 15863237
Change-Id: I41e85a9ffeb3cba31b58769f8faee9147a3b031e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java
59a6127551650e7307fd6e6e1b72c1c2377fac80 06-Jun-2014 Adrian Roos <roosa@google.com> Add Emergency Calls Only and Charging State to Status Bar Header

Bug: 15393101
Change-Id: If1dc300d843fb5f694ef57714225f43924dbb2b8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java
641ac6429ac6bdd6748b84eb7a7b5ade95f854fb 04-Oct-2013 Chris Craik <ccraik@google.com> Clean up unused resources

bug:10641374

Additionally, fixes incorrect getColor use

Change-Id: Ie56ad5baa099cc421629a5dcc8ef9de14e44079a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java
209bede6b9edb9171e5bee4077b48e35004a37b4 17-Jul-2013 John Spurlock <jspurlock@google.com> Remove trailing whitespace from system ui.

Baseline existing .java files, no excuses going forward.

Change-Id: I4bd0f25bbda6f2ec832e34ef5c70d4830bf07f99
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java
de84f0e77ea2bf713d15c290264059a413c2486a 12-Jun-2013 John Spurlock <jspurlock@google.com> Organize the imports in systemui.

To follow android conventions, more importantly to remove the
unused.

Change-Id: I75881718e84360a579a3b02c26489ad250bc9227
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java
cd686b5b6d4166b510df8e32138479a9559bc117 05-Jun-2013 John Spurlock <jspurlock@google.com> Migrate systemui Slog calls to Log

Change-Id: Ib6734c85960f06fed646599565b8eeba26b9e98e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java
fe0e1e445fe697d59baf5736da20356a4e548fc9 29-Nov-2012 Daniel Sandler <dsandler@android.com> Only show "charging" if the battery is really charging.

If there's a charge problem (battery health/temperature out
of spec, or low charging current), the lockscreen and status
bar should not indicate that charging is occurring.

(Previously we showed "Charging" and a lightning bolt any
time the device was plugged in.)

Bug: 7509976
Change-Id: I27ec0e2cec1307fbc6ef262dd5181a4db6d3bed0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java
d63c59786509aadd6a8d0c5cb45ed696339f16b7 06-Sep-2012 Winson Chung <winsonc@google.com> Initial changes to add QuickSettings.

Change-Id: If510f74d6046929e5e8a794c6dc2fddb15a03d6b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java
2b69735e014872ca2183b4a39a8381daa337e146 22-Jul-2011 Daniel Sandler <dsandler@google.com> New stacked RSSI icons.

The signal strength, network type & flow indicator, and
battery have all been moved out of the policy and into the
status bar implementation itself, mirroring the change on
tablets. This means that they no longer use status bar icon
slots but instead are bespoke layouts and views.

GPS has also been removed and will return as a notification
(again, as was done in the Honeycomb tablet UI).

Bug: 4691638
Change-Id: I60df4871209b64209bfc5b3bf398651cc2e77b24
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java
6179ea3196e9306d3f14361fe9ef14191b1edba6 28-Jun-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding accessibility support to the Status Bar.

1. Added content description to pretty much all animals
in the zoo including buttons in the navigation bar,
notifications and status icons for battery, signal,
data, etc.

2. Rectored to avoid ovelaying views since they block
touch exploratino. In general overlaying views
cause trouble for touch exploration and accessibility
in general.

3. Avoid sending accessibility events in case the user is
touching outside of the StatauBAr panels to avoid
confusion.

4. Added records to accessibility events in the places where
this would help the presentation. So the event comes from
a given "leaf" view and its predecessor is adding a record
to the event for itself to provide more cotext. It is up
to the accessiiblity service to choose how to present that.

bug:4686943

Change-Id: I1c1bd123d828fb10911bca92130e9a05c1f020b3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java
dff2e9a4582e400e4935608ef5c744680990c335 28-Nov-2010 Joe Onorato <joeo@google.com> Rename strings.

Change-Id: I0a9d016aa5864e5d64e9cab6b0e720daaa816537
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java
fd52b18d9bf3cd62c7a07058536e9f97db65beea 11-Nov-2010 Joe Onorato <joeo@google.com> The beginnings of the new status bar.

There is a lot of rough stuff still, but most of the functionality is here again.

Change-Id: I4b1241e61270f1434e798481afa83634233ee670
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java