exynos9610: Move Bluetooth power config away from overlay
authorGeorg Veichtlbauer <georg@vware.at>
Wed, 14 Sep 2022 06:54:28 +0000 (08:54 +0200)
committerNolen Johnson <johnsonnolen@gmail.com>
Mon, 24 Oct 2022 04:39:28 +0000 (00:39 -0400)
Same values go to:
- power profile xml for power calculation
- vendor props for the A13 BT stack

Change-Id: I04dbb8736a599c4798223f7e3e317b2fcc873ded

overlay/frameworks/base/core/res/res/values/config.xml
overlay/frameworks/base/core/res/res/xml/power_profile.xml
vendor.prop

index 30a76dcfbdba6410e9bfa59e4d7126bb3afc1dd3..5305f5675465ade95621bd1b82a240c7518f37c2 100644 (file)
     <bool name="skip_restoring_network_selection">true</bool>
 
     <integer name="config_cameraLaunchGestureSensorType">65540</integer>
-    <integer name="config_bluetooth_operating_voltage_mv">3300</integer>
     <integer name="config_multiuserMaximumUsers">4</integer>
     <integer name="config_safe_media_volume_index">9</integer>
     <integer name="config_screenBrightnessDark">2</integer>
index e67c9ab0d96bf6914b78d1cc820f67be3f4dde81..4528f8853dab6ddd6bb70d3da7fbfb0d79ea1263 100644 (file)
@@ -91,6 +91,7 @@
     <item name="wifi.controller.rx">0</item>
     <item name="wifi.controller.tx">0</item>
     <array name="wifi.controller.tx_levels" />
+    <item name="bluetooth.controller.voltage">3300</item>
     <item name="wifi.controller.voltage">0</item>
     <array name="wifi.batchedscan">
         <value>.0002</value>
index 32ae68b3e429682538c84980ca1b7cced79847ca..fea6af9a215e56660fba7e0ee800c07243f9033a 100644 (file)
@@ -11,6 +11,7 @@ ro.vendor.ddk.set.afbc=1
 
 ## Bluetooth
 bluetooth.device.class_of_device=90,2,12
+bluetooth.hardware.power.operating_voltage_mv=3300
 bluetooth.profile.asha.central.enabled?=true
 bluetooth.profile.a2dp.source.enabled?=true
 bluetooth.profile.avrcp.target.enabled?=true