fix header switch for location

Change-Id: I9bf343be1ef7b70fe38c415009ec3caf0b593799
[2/2] Squashed: Battery Saver mode

Credit: Squadzone

introduce battery saver mode
this based from what user want or what user do to saving the battery life
this include:
1. Automatically switch mobile network into what user choice and also disable mobile data IF wifi connected to an AP
2. Automatically switch mobile network and disable mobile data IF battery low (battery level can configure)
3. Reduce screen brightness based low battery (this feature will disabled if Auto brightness mode enabled)
4. Not changing network IF on Call or Usb tether enabled or WifiAP enabled
5. Not changing network IF there is Download/upload progress
6. Support For Both GSM and CDMA devices (need someone to test for CDMA devices)
7. every condition has an option :D
8. Restore all network configuration if battery saver mode disabled
9. Add Time Range to start battery saver mode
10. allow device without mobile data support, to using this feature
11. fix inconsistent battery low level
12. rewrite to better performance
13. modified the controller to support battery saver mode
14. add bluetooth, gps, wifi, and mobile data (if support) to be disabled while power saving activated
15. fix build QuickSettings because of LocationController change
16. rewrite to better performance
17. fix brightness value
18. rewrite (again) to allow add more saving mode
19. do delay changing only for POWER SAVING not NORMAL mode
20. add Cpu power saving mode
21. fix Cpu freq value
22. fix call saving state for non user configuration mode
23. fix NPE
24. add kill all task
25. add disable sync

Conflicts:
	res/values/custom_strings.xml

Change-Id: I19502c731b74e82a3873f19f51965ee5a88c1f04

Conflicts:
	AndroidManifest.xml
	res/values/custom_strings.xml
	src/com/android/settings/fuelgauge/PowerUsageSummary.java

[3/3] OmniGears: Battery Saver Mode

introduce battery saver mode
this based from what user want or what user do to saving the battery life
this include:
1. Automatically switch mobile network into what user choice and also disable mobile data IF wifi connected to an AP
2. Automatically switch mobile network and disable mobile data IF battery low (battery level can configure)
3. Reduce screen brightness based low battery (this feature will disabled if Auto brightness mode enabled)
4. Not changing network IF on Call or Usb tether enabled or WifiAP enabled
5. Not changing network IF there is Download/upload progress
6. Support For Both GSM and CDMA devices (need someone to test for CDMA devices)
7. every condition has an option :D
8. Restore all network configuration if battery saver mode disabled
9. Add Time Range to start battery saver mode
10. allow device without mobile data support, to using this feature
11. fix inconsistent battery low level
12. rewrite to better performance
13. modified the controller to support battery saver mode
14. add bluetooth, gps, wifi, and mobile data (if support) to be disabled while power saving activated
15. fix build QuickSettings because of LocationController change
16. rewrite to better performance
17. fix brightness value
18. rewrite (again) to allow add more saving mode
19. do delay changing only for POWER SAVING not NORMAL mode
20. add Cpu power saving mode
21. fix Cpu freq value
22. fix call saving state for non user configuration mode
23. fix NPE
24. add kill all task
25. add disable sync
26. add disable vibrate
27. add disable led

Conflicts:
	res/values/custom_arrays.xml
	res/values/custom_strings.xml

Change-Id: Id289090fa20a38d4fc43c40240148e5f276eb4b6

Conflicts:
	res/layout/separator_label.xml
	res/values/custom_arrays.xml
	res/values/custom_strings.xml
	src/org/omnirom/omnigears/interfacesettings/MoreInterfaceSettings.java

Conflicts:
	AndroidManifest.xml
	res/values/liquid_arrays.xml
	res/values/liquid_strings.xml
	res/xml/ose_advanced_settings.xml

Conflicts:
	res/values/config.xml
	res/values/liquid_strings.xml
	res/xml/liquid_interface_settings.xml

Conflicts:
	res/values/config.xml

Conflicts:
	res/values/config.xml
small reorganization

Change-Id: I057941af5bc74c5de1a84b54625c13b17faf9e44
QuickSettings : Add BatterySaver Tile (2/2)

Conflicts:
	res/values/liquid_strings.xml
	src/com/android/settings/liquid/quicksettings/QuickSettingsUtil.java

Conflicts:
	res/values/liquid_strings.xml
	src/com/android/settings/liquid/quicksettings/QuickSettingsUtil.java

Conflicts:
	src/com/android/settings/slim/quicksettings/QuickSettingsUtil.java

Change-Id: I461a7e620544b10ad4ad96461cb36ac5bbea3b1a
ProximityWake : Add support for checking proximity when waking device [2/2]

Change-Id: I5e584da2a6c48da88639706f6df50a96fd1be3b6

Conflicts:
	res/values/kang_strings.xml