Revert "Move status bar native battery percentage into status bar battery style"

This reverts commit 3799713f39a93f8969e5b98c971282dab5fc6855.

Conflicts:
	src/com/android/settings/rascarlo/StatusBarSettings.java
Revert "Circle Battery"

This reverts commit d7bf4e182d35f05b5ed164174d73fa53a5a2c5ad.

Conflicts:
	res/values/ras_strings.xml
	res/xml/status_bar_settings.xml
	src/com/android/settings/rascarlo/StatusBarSettings.java
Revert "Status bar native battery percentage"

This reverts commit 949b484aafdbda306d51d3ade528ff6646269018.

Conflicts:
	res/values/ras_strings.xml
	res/xml/status_bar_settings.xml
	src/com/android/settings/rascarlo/StatusBarSettings.java
	src/com/android/settings/rascarlo/SystemSettings.java
statusbar battery icons

Conflicts:
	res/values/arrays.xml
Revert "Status bar clock"

This reverts commit 9bac952fed8ef3afdba7231dcb8f2c9a8b3dab08.

Conflicts:
	res/values/ras_arrays.xml
	res/values/ras_strings.xml
	src/com/android/settings/rascarlo/StatusBarSettings.java
Settings: Advanced low battery indicator options (1/2)

Based on a idea I saw on Liquid and from CR3C0 (thanks guys) which we
modified to an extended version
This commit introduces following new SlimBean modes to indicate low battery
     * 0 = show dialog + play sound (default)
     * 1 = fire notification + play sound
     * 2 = show dialog only
     * 3 = fire notification only
     * 4 = play sound only
     * 5 = none

Due that notification is a unique SlimBean feature some words on it. Notification
behaviour is the same as Pop-up. User can dismiss it manually or it is
dismissed automatically if charger is connected, click on notification opens
PowerUsageSummary. Also you get a status bar ticker message about the notification
and notification is always on first place of list. And last if vibration is enabled
notification vibrates.

Change-Id: I372c566a2d84b04856d0be518a894c3699d00f8a

Conflicts:

	res/values/mahdi_arrays.xml
	res/values/slim_strings.xml

Conflicts:
	res/values/mahdi_arrays.xml
	res/values/mahdi_strings.xml
	src/com/android/settings/fuelgauge/PowerUsageSummary.java
Statusbar clock and date customizations
Credits to slim

Conflicts:
	res/values/ras_arrays.xml
	res/values/ras_strings.xml
On-The-Go mode [2/2]

Credit @Evisceration

Change-Id: Ia5645635ca6d6632a542019b86cbf3c3c7420048

Conflicts:
	res/values/strings_aicp.xml
	res/xml/aicp_display_animations_settings.xml
	src/com/android/settings/aicp/DisplayAnimationsSettings.java
Settings: TRDS 3.0 and new theme engine preparation (2/4)

For the one who do not know this feature see as reference
the first two versions here:

https://github.com/SlimRoms/frameworks_base/commit/b330fde28306286572ba390e451a72539c0c3576

https://github.com/SlimRoms/frameworks_base/commit/3194015737b7944b4185fca007b8d167a0675cd8

we got now over a year now a lot experience how to handle the qualifier fallback
as well how to theme it and how to handle other apps. Based on this knowledge we
redid some parts of TRDS engine with following new features/additions and fixes
to have now a final perfect working TRDS

- compared to the old versions where it was needed on some apps to restart them
  in background this is not needed any more. All is handled about the internal
  AOSP resource handling and on qualifier change the caches are cleared
  and the apps get an onconfigurationchanged to restart the activity
  like it is doing on orientation change eg
- inverted folder is now depreciated and the new folders are holodark
  and hololight which allows on the one hand a dark theme (at least
  how TRDS started) and a light based theme hololight
- This name change is mainly because of the new theme engine which
  will come which uses this as base to add 2 external themes at the same
  time and give the user the ability to switch between them. But this is
  still in early stages and this commit is just the preparation for it
- Two new automodes are now integrated. User can enable the twilight modus
  which enables/disables holodark/hololight depending on the daytime...means
  on the evening it switches to holodark on normal day it is hololight.
  The other automode is based on light conditions....means that if it is
  dark outside it switches to holodark....if we have bright light conditions
  it switches immediatelly to hololight. Due of the resource cache handling now
  this happens immediatelly for the user and feels completly system integrated
  and happens without delay. A bit comparable to some navigation tool for cars
  which can switch automatically from dark to light and back
- currently the auto modes as well the manual mode switches between holodark
  and hololight. Due that we do not have currently anything hololight themed
  in the source hololight = stock theme. We will give the user the ability
  later when done to choose between which modes the user want to switch
  (stock/holodark/hololight). But this does not make sense at the moment.
  As soon as we have done the light theme or theme engine (lets see what
  comes first) we will open the ability to choose it. This is only a small code change
- a lot small tweaks and fixes went as well into the new version

Whatever this commit as usual adds the support for it. The themeing is done in the
other commits by kroz which is as well way more extended then on the older versions

cheers

PatchSet:
- derp
PatchSet3:
- tired me derp again
PatchSet:
- adapt to new qualifier structure

- listen to onconfigurationchange and mode settings value
  and let the switch
  switch if the uiThemeMode has changed. As well permit
  manual switching if automatic light mode is enabled
  and inform the user about

Change-Id: I5b857c542d92b9fd253b3556f14c790226594c4f

Conflicts:
	res/values/slim_arrays.xml
	res/values/slim_strings.xml
	res/xml/settings_headers.xml
	src/com/android/settings/Settings.java

-trds:Fixing Crash

-trds settings workaround
Re-add auto brightness configuration UI (2/2).

Change-Id: I6c56a48fa2145c58a5f203ed56051451ef3f977d

Conflicts:
	res/values/purity_strings.xml
	res/values/ras_arrays.xml
Settings: Wakelock Blocker (2/2)

PS1: Initial port

Change-Id: I2b613d163ed5212a26f591ab8dfee37068e92c08
Signed-off-by: Arnav Gosain <nolinuxnoparty@gmail.com>

Conflicts:
	res/values/gummy_strings.xml
	res/xml/prefs_advanced_system_options.xml