From a25e493da9e452363df7ef9a039bba751c25a8f4 Mon Sep 17 00:00:00 2001 From: Alexander Koskovich Date: Wed, 14 Sep 2022 08:54:28 +0200 Subject: [PATCH] sm8350-common: Add Bluetooth power overlays to sysprops * These are moved to sysprops in Android 13. https://android.googlesource.com/platform/system/libsysprop/+/976d33062b51e77edde44faad1a6e801c5dc0188%5E%21/#F0 Change-Id: I5bff67a15c537e8a47a19f30776fca6bf2c9fbe5 --- .../frameworks/base/core/res/res/values/config.xml | 12 ------------ vendor.prop | 4 ++++ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 2731135..67c68f7 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -164,18 +164,6 @@ true - - 6 - - - 28 - - - 36 - - - 3700 - true diff --git a/vendor.prop b/vendor.prop index 2f53aa6..4b953c9 100644 --- a/vendor.prop +++ b/vendor.prop @@ -115,6 +115,10 @@ vendor.voice.path.for.pcm.voip=true # Bluetooth bluetooth.device.class_of_device=90,2,12 +bluetooth.hardware.power.idle_cur_ma=6 +bluetooth.hardware.power.operating_voltage_mv=3700 +bluetooth.hardware.power.rx_cur_ma=28 +bluetooth.hardware.power.tx_cur_ma=36 bluetooth.profile.asha.central.enabled?=true bluetooth.profile.a2dp.source.enabled?=true bluetooth.profile.avrcp.target.enabled?=true