Cleanup battery style code

* Cleanup commented out code
* Fix landscape battery icon padding
* Fix landscape battery icon charging indicator
* Fix circle battery frame color on some black backgrounds
* Fix percentage not shown while charging
* Fix landscape battery icon percentage indicator
* Fix circle battery artifact on low percentage

Change-Id: Ic56878c26e9a3416149eaaa8a9325d56d664e22e

Conflicts:

	packages/SystemUI/src/com/android/systemui/BatteryMeterView.java
perf: Per-app performance profiles

 * Performance Profiles is going to grow into a much more powerful
   feature which can apply advanced optimizations or power saving
   techniques depending on both the state of the hardware as well
   as the current applications in use.
 * Refactor the original code and move it into PowerManager so
   that it's managed from the same place.
 * Implement "automatic performance profiles". This feature will
   automatically select a profile when specific activities are
   running. Currently this list is static and engages performance
   mode for several benchmarks (trollface).
 * Added support for a new power hint, POWER_HINT_SET_PROFILE.
   Currently, these profiles are fired using a property trigger
   in init. This is easy, but the PowerHAL can do more.
 * Moved the setting to Settings.Secure and also wrapped calls
   to the service in the DEVICE_POWER permission. Nobody should
   mess with this stuff except the system.
 * Powersave profile will automatically activate Android's built-in
   low power mode.
 * Original patch by Jorge Ruesga

TODO:
 * Implement API for per-app configuration by user
 * Quicksettings tile

Change-Id: I140ebc0648c4cf05900e005923247c3180be8c93
Merge branch 'L5' of https://github.com/VanirAOSP/frameworks_base into HEAD

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Change-Id: I9218151cd27469a0167b9c961dd800703ce52b73
Merge branch 'cm' into HEAD
Merge branch 'L5' of https://github.com/VanirAOSP/frameworks_base into EXODUS
Fix-a-derp: someone left a dingleberry from the L5 bringup?

Change-Id: I4e6c62962b05ce2280dbc2279d886cd1212e424c
Merge branch 'EXODUS' of https://github.com/VanirAOSP/frameworks_base into HEAD

Conflicts:
	packages/SystemUI/src/com/android/systemui/BatteryMeterView.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java