From 1e7c526815205fd444189794e9bfa29842eb3671 Mon Sep 17 00:00:00 2001 From: Alexander Koskovich Date: Wed, 14 Sep 2022 08:54:28 +0200 Subject: [PATCH] sm8450-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 --- .../res/values/config.xml | 20 ------------------- properties/product.prop | 4 ++++ 2 files changed, 4 insertions(+), 20 deletions(-) diff --git a/overlay/FrameworksResTarget_Vendor/res/values/config.xml b/overlay/FrameworksResTarget_Vendor/res/values/config.xml index 1f627f1..12a9301 100644 --- a/overlay/FrameworksResTarget_Vendor/res/values/config.xml +++ b/overlay/FrameworksResTarget_Vendor/res/values/config.xml @@ -4,26 +4,6 @@ SPDX-License-Identifier: Apache-2.0 --> - - 6 - - - 28 - - - 36 - - - 3700 - true diff --git a/properties/product.prop b/properties/product.prop index 12f2b28..f316418 100644 --- a/properties/product.prop +++ b/properties/product.prop @@ -27,6 +27,10 @@ vendor.audio_hal.period_size=192 vendor.voice.path.for.pcm.voip=true # Bluetooth +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.a2dp.source.enabled=true bluetooth.profile.asha.central.enabled=true bluetooth.profile.avrcp.controller.enabled=false