OmniControl: Remove the fw/base boolean dependencie of battery led settings

Change-Id: Ie34b43f45d4d03ddc89b568d935f04d9ca2f93a0
diff --git a/app/src/main/java/org/omnirom/control/BatteryLightSettingsFragment.java b/app/src/main/java/org/omnirom/control/BatteryLightSettingsFragment.java
index 3d9db90..7f27eb4 100644
--- a/app/src/main/java/org/omnirom/control/BatteryLightSettingsFragment.java
+++ b/app/src/main/java/org/omnirom/control/BatteryLightSettingsFragment.java
@@ -99,7 +99,7 @@
         mOnlyFullPref.setOnPreferenceChangeListener(this);
 
         // Does the Device support changing battery LED colors?
-        if (getResources().getBoolean(com.android.internal.R.bool.config_multiColorBatteryLed)) {
+        if (getResources().getBoolean(R.bool.config_multiColorBatteryLed)) {
 
             mFastBatteryLightEnabledPref = (SystemSettingSwitchPreference) findPreference(FAST_CHARGING_LED_PREF);
 
@@ -120,7 +120,7 @@
             mFastColorPref.setDefaultValue(res.getInteger(com.android.internal.R.integer.config_notificationsFastBatteryARGB));
 
             // Does the Device support fast charge ?
-            if (!getResources().getBoolean(com.android.internal.R.bool.config_FastChargingLedSupported)) {
+            if (!getResources().getBoolean(R.bool.config_FastChargingLedSupported)) {
                 prefSet.removePreference(prefSet.findPreference(KEY_CATEGORY_FAST_CHARGE));
             }
         } else {
diff --git a/app/src/main/res/values/config.xml b/app/src/main/res/values/config.xml
index efad539..08e2d57 100644
--- a/app/src/main/res/values/config.xml
+++ b/app/src/main/res/values/config.xml
@@ -6,4 +6,10 @@
 
     <!-- power button support. Some devices do not have a power button -->
     <bool name="config_has_power_button">true</bool>
+
+    <!-- Does devices support battery led -->
+    <bool name="config_multiColorBatteryLed">false</bool>
+
+    <!-- Does devices support fast charging battery led -->
+    <bool name="config_FastChargingLedSupported">false</bool>
 </resources>
\ No newline at end of file