From 94b88405cc59916b0cb9fc8a0061922c9d5e976d Mon Sep 17 00:00:00 2001 From: Alexander Koskovich Date: Wed, 14 Sep 2022 08:54:28 +0200 Subject: [PATCH] sm8550-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 --- .../FrameworksResTarget/res/values/config.xml | 20 ------------------- product.prop | 4 ++++ 2 files changed, 4 insertions(+), 20 deletions(-) diff --git a/overlay/FrameworksResTarget/res/values/config.xml b/overlay/FrameworksResTarget/res/values/config.xml index 1642c22..88141a1 100644 --- a/overlay/FrameworksResTarget/res/values/config.xml +++ b/overlay/FrameworksResTarget/res/values/config.xml @@ -5,26 +5,6 @@ --> - - 4 - - - 18 - - - 33 - - - 4000 - true diff --git a/product.prop b/product.prop index bf1eae9..2a69658 100644 --- a/product.prop +++ b/product.prop @@ -6,6 +6,10 @@ audio.offload.video=true ro.af.client_heap_size_kbyte=7168 # Bluetooth +bluetooth.hardware.power.idle_cur_ma=4 +bluetooth.hardware.power.operating_voltage_mv=4000 +bluetooth.hardware.power.rx_cur_ma=18 +bluetooth.hardware.power.tx_cur_ma=33 bluetooth.device.class_of_device=90,2,12 bluetooth.profile.a2dp.source.enabled=true bluetooth.profile.asha.central.enabled=true