diff --git a/audio/oriole/config/audio_platform_configuration.xml b/audio/oriole/config/audio_platform_configuration.xml index 146401d..ee21759 100644 --- a/audio/oriole/config/audio_platform_configuration.xml +++ b/audio/oriole/config/audio_platform_configuration.xml @@ -111,9 +111,11 @@ - + + + diff --git a/audio/oriole/config/audio_policy_configuration.xml b/audio/oriole/config/audio_policy_configuration.xml index b7ee8a8..c78d142 100644 --- a/audio/oriole/config/audio_policy_configuration.xml +++ b/audio/oriole/config/audio_policy_configuration.xml @@ -57,6 +57,10 @@ + + + + encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC"> + encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC"> + encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC"> @@ -150,11 +154,11 @@ + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> diff --git a/audio/oriole/config/audio_policy_configuration_a2dp_offload_disabled.xml b/audio/oriole/config/audio_policy_configuration_a2dp_offload_disabled.xml index 19794e1..b0ddcdf 100644 --- a/audio/oriole/config/audio_policy_configuration_a2dp_offload_disabled.xml +++ b/audio/oriole/config/audio_policy_configuration_a2dp_offload_disabled.xml @@ -57,6 +57,10 @@ + + + + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> diff --git a/audio/oriole/config/audio_policy_configuration_bluetooth_legacy_hal.xml b/audio/oriole/config/audio_policy_configuration_bluetooth_legacy_hal.xml index 0c36d06..b42f3e2 100644 --- a/audio/oriole/config/audio_policy_configuration_bluetooth_legacy_hal.xml +++ b/audio/oriole/config/audio_policy_configuration_bluetooth_legacy_hal.xml @@ -57,6 +57,10 @@ + + + + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> diff --git a/audio/oriole/config/mixer_paths.xml b/audio/oriole/config/mixer_paths.xml index 0c2ffda..a029f01 100644 --- a/audio/oriole/config/mixer_paths.xml +++ b/audio/oriole/config/mixer_paths.xml @@ -253,6 +253,10 @@ + + + + @@ -368,7 +372,7 @@ - + @@ -378,14 +382,14 @@ - + - + @@ -400,25 +404,67 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + @@ -434,6 +480,7 @@ + diff --git a/audio/oriole/tuning/bluenote/recording.gatf b/audio/oriole/tuning/bluenote/recording.gatf index 49fe9ff..6c37fe0 100644 Binary files a/audio/oriole/tuning/bluenote/recording.gatf and b/audio/oriole/tuning/bluenote/recording.gatf differ diff --git a/audio/oriole/tuning/bluenote/template.xml b/audio/oriole/tuning/bluenote/template.xml index 2e72a68..8179e3d 100644 --- a/audio/oriole/tuning/bluenote/template.xml +++ b/audio/oriole/tuning/bluenote/template.xml @@ -37,15 +37,15 @@ - - + + - + - - + + @@ -71,7 +71,7 @@ - + @@ -82,7 +82,7 @@ - + @@ -93,7 +93,7 @@ - + @@ -103,7 +103,7 @@ - + @@ -116,11 +116,11 @@ - - - + + + - + @@ -183,7 +183,7 @@ - + diff --git a/audio/oriole/tuning/bluenote/tuning_constraints_combination.xml b/audio/oriole/tuning/bluenote/tuning_constraints_combination.xml index a5f51a4..c824fbc 100644 --- a/audio/oriole/tuning/bluenote/tuning_constraints_combination.xml +++ b/audio/oriole/tuning/bluenote/tuning_constraints_combination.xml @@ -211,11 +211,11 @@ rx-path="device_out_usb_others_headset_headphone" /> - - - @@ -904,13 +904,13 @@ + name="Voice note with main mic (Google Keep and 3rd party)" /> + name="SoloTester with dual mic (3rd party)" /> + name="SoloTester with tri mic (3rd party)" /> diff --git a/audio/raven/config/audio_platform_configuration.xml b/audio/raven/config/audio_platform_configuration.xml index 146401d..ee21759 100644 --- a/audio/raven/config/audio_platform_configuration.xml +++ b/audio/raven/config/audio_platform_configuration.xml @@ -111,9 +111,11 @@ - + + + diff --git a/audio/raven/config/audio_policy_configuration.xml b/audio/raven/config/audio_policy_configuration.xml index b7ee8a8..c78d142 100644 --- a/audio/raven/config/audio_policy_configuration.xml +++ b/audio/raven/config/audio_policy_configuration.xml @@ -57,6 +57,10 @@ + + + + encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC"> + encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC"> + encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC"> @@ -150,11 +154,11 @@ + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> diff --git a/audio/raven/config/audio_policy_configuration_a2dp_offload_disabled.xml b/audio/raven/config/audio_policy_configuration_a2dp_offload_disabled.xml index 19794e1..b0ddcdf 100644 --- a/audio/raven/config/audio_policy_configuration_a2dp_offload_disabled.xml +++ b/audio/raven/config/audio_policy_configuration_a2dp_offload_disabled.xml @@ -57,6 +57,10 @@ + + + + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> diff --git a/audio/raven/config/audio_policy_configuration_bluetooth_legacy_hal.xml b/audio/raven/config/audio_policy_configuration_bluetooth_legacy_hal.xml index 0c36d06..b42f3e2 100644 --- a/audio/raven/config/audio_policy_configuration_bluetooth_legacy_hal.xml +++ b/audio/raven/config/audio_policy_configuration_bluetooth_legacy_hal.xml @@ -57,6 +57,10 @@ + + + + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> diff --git a/audio/raven/config/mixer_paths.xml b/audio/raven/config/mixer_paths.xml index 93a5934..5f7cb59 100644 --- a/audio/raven/config/mixer_paths.xml +++ b/audio/raven/config/mixer_paths.xml @@ -253,6 +253,10 @@ + + + + @@ -368,7 +372,7 @@ - + @@ -378,14 +382,14 @@ - + - + @@ -400,25 +404,67 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + @@ -434,6 +480,7 @@ + diff --git a/audio/raven/tuning/bluenote/recording.gatf b/audio/raven/tuning/bluenote/recording.gatf index 49fe9ff..6c37fe0 100644 Binary files a/audio/raven/tuning/bluenote/recording.gatf and b/audio/raven/tuning/bluenote/recording.gatf differ diff --git a/audio/raven/tuning/bluenote/template.xml b/audio/raven/tuning/bluenote/template.xml index 2e72a68..8179e3d 100644 --- a/audio/raven/tuning/bluenote/template.xml +++ b/audio/raven/tuning/bluenote/template.xml @@ -37,15 +37,15 @@ - - + + - + - - + + @@ -71,7 +71,7 @@ - + @@ -82,7 +82,7 @@ - + @@ -93,7 +93,7 @@ - + @@ -103,7 +103,7 @@ - + @@ -116,11 +116,11 @@ - - - + + + - + @@ -183,7 +183,7 @@ - + diff --git a/audio/raven/tuning/bluenote/tuning_constraints_combination.xml b/audio/raven/tuning/bluenote/tuning_constraints_combination.xml index a5f51a4..c824fbc 100644 --- a/audio/raven/tuning/bluenote/tuning_constraints_combination.xml +++ b/audio/raven/tuning/bluenote/tuning_constraints_combination.xml @@ -211,11 +211,11 @@ rx-path="device_out_usb_others_headset_headphone" /> - - - @@ -904,13 +904,13 @@ + name="Voice note with main mic (Google Keep and 3rd party)" /> + name="SoloTester with dual mic (3rd party)" /> + name="SoloTester with tri mic (3rd party)" /> diff --git a/audio/slider/config/audio_platform_configuration.xml b/audio/slider/config/audio_platform_configuration.xml index 23d4955..d903af4 100644 --- a/audio/slider/config/audio_platform_configuration.xml +++ b/audio/slider/config/audio_platform_configuration.xml @@ -111,9 +111,11 @@ - + + + diff --git a/audio/slider/config/audio_policy_configuration.xml b/audio/slider/config/audio_policy_configuration.xml index b7ee8a8..c78d142 100644 --- a/audio/slider/config/audio_policy_configuration.xml +++ b/audio/slider/config/audio_policy_configuration.xml @@ -57,6 +57,10 @@ + + + + encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC"> + encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC"> + encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC"> @@ -150,11 +154,11 @@ + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> diff --git a/audio/slider/config/audio_policy_configuration_a2dp_offload_disabled.xml b/audio/slider/config/audio_policy_configuration_a2dp_offload_disabled.xml index 19794e1..b0ddcdf 100644 --- a/audio/slider/config/audio_policy_configuration_a2dp_offload_disabled.xml +++ b/audio/slider/config/audio_policy_configuration_a2dp_offload_disabled.xml @@ -57,6 +57,10 @@ + + + + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> diff --git a/audio/slider/config/audio_policy_configuration_bluetooth_legacy_hal.xml b/audio/slider/config/audio_policy_configuration_bluetooth_legacy_hal.xml index 0c36d06..b42f3e2 100644 --- a/audio/slider/config/audio_policy_configuration_bluetooth_legacy_hal.xml +++ b/audio/slider/config/audio_policy_configuration_bluetooth_legacy_hal.xml @@ -57,6 +57,10 @@ + + + + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out"/> diff --git a/audio/slider/config/mixer_paths.xml b/audio/slider/config/mixer_paths.xml index d2c10f4..460cb39 100644 --- a/audio/slider/config/mixer_paths.xml +++ b/audio/slider/config/mixer_paths.xml @@ -217,6 +217,10 @@ + + + + @@ -332,7 +336,7 @@ - + @@ -342,14 +346,14 @@ - + - + @@ -364,25 +368,67 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + @@ -398,6 +444,7 @@ + diff --git a/audio/whitefin/config/audio_platform_configuration.xml b/audio/whitefin/config/audio_platform_configuration.xml index 23d4955..d903af4 100644 --- a/audio/whitefin/config/audio_platform_configuration.xml +++ b/audio/whitefin/config/audio_platform_configuration.xml @@ -111,9 +111,11 @@ - + + + diff --git a/audio/whitefin/config/audio_policy_configuration.xml b/audio/whitefin/config/audio_policy_configuration.xml index 31f5c57..c501061 100644 --- a/audio/whitefin/config/audio_policy_configuration.xml +++ b/audio/whitefin/config/audio_policy_configuration.xml @@ -52,6 +52,10 @@ + + + + sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out"/> diff --git a/audio/whitefin/config/audio_policy_configuration_a2dp_offload_disabled.xml b/audio/whitefin/config/audio_policy_configuration_a2dp_offload_disabled.xml index 4b62caa..a83de6d 100644 --- a/audio/whitefin/config/audio_policy_configuration_a2dp_offload_disabled.xml +++ b/audio/whitefin/config/audio_policy_configuration_a2dp_offload_disabled.xml @@ -52,6 +52,10 @@ + + + + sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out"/> diff --git a/audio/whitefin/config/audio_policy_configuration_bluetooth_legacy_hal.xml b/audio/whitefin/config/audio_policy_configuration_bluetooth_legacy_hal.xml index d4955f4..f661328 100644 --- a/audio/whitefin/config/audio_policy_configuration_bluetooth_legacy_hal.xml +++ b/audio/whitefin/config/audio_policy_configuration_bluetooth_legacy_hal.xml @@ -52,6 +52,10 @@ + + + + sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out"/> + sources="primary output,deep buffer,raw,compressed_offload,mmap_no_irq_out"/> diff --git a/audio/whitefin/config/mixer_paths.xml b/audio/whitefin/config/mixer_paths.xml index 86c8a85..03a9f5e 100644 --- a/audio/whitefin/config/mixer_paths.xml +++ b/audio/whitefin/config/mixer_paths.xml @@ -254,6 +254,10 @@ + + + + @@ -369,7 +373,7 @@ - + @@ -379,14 +383,14 @@ - + - + @@ -401,25 +405,67 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + @@ -435,6 +481,7 @@ + diff --git a/device-oriole.mk b/device-oriole.mk index e0cd622..ab1a6ad 100644 --- a/device-oriole.mk +++ b/device-oriole.mk @@ -48,7 +48,8 @@ PRODUCT_COPY_FILES += \ # MIPI Coex Configs PRODUCT_COPY_FILES += \ - device/google/raviole/radio/oriole_display_mipi_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/display_primary_mipi_coex_table.csv + device/google/raviole/radio/oriole_display_mipi_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/display_primary_mipi_coex_table.csv \ + device/google/raviole/radio/oriole_camera_front_mipi_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/camera_front_mipi_coex_table.csv # Camera PRODUCT_COPY_FILES += \ diff --git a/oriole/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/oriole/overlay/frameworks/base/core/res/res/xml/power_profile.xml index a0f185f..fbffec0 100644 --- a/oriole/overlay/frameworks/base/core/res/res/xml/power_profile.xml +++ b/oriole/overlay/frameworks/base/core/res/res/xml/power_profile.xml @@ -176,11 +176,11 @@ 3700 - 79 + 38 - 118 + 98 - 331 + 470 3700 diff --git a/radio/oriole_camera_front_mipi_coex_table.csv b/radio/oriole_camera_front_mipi_coex_table.csv new file mode 100644 index 0000000..c21cd6b --- /dev/null +++ b/radio/oriole_camera_front_mipi_coex_table.csv @@ -0,0 +1,7 @@ +694270,706560 + +930000,955000,694270 +2446000,2473000,694270 +5640000,5840000,694270 +2412000,2442000,706560 +5500000,5600000,706560 diff --git a/raven/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/raven/overlay/frameworks/base/core/res/res/xml/power_profile.xml index a0f185f..fbffec0 100644 --- a/raven/overlay/frameworks/base/core/res/res/xml/power_profile.xml +++ b/raven/overlay/frameworks/base/core/res/res/xml/power_profile.xml @@ -176,11 +176,11 @@ 3700 - 79 + 38 - 118 + 98 - 331 + 470 3700 diff --git a/thermal_info_config_oriole.json b/thermal_info_config_oriole.json index afa79f0..a2e12e5 100644 --- a/thermal_info_config_oriole.json +++ b/thermal_info_config_oriole.json @@ -295,6 +295,35 @@ "Multiplier":1, "Monitor":false }, + { + "Name":"critical-battery-cell", + "Type":"BCL_VOLTAGE", + "VirtualSensor":true, + "Formula":"COUNT_THRESHOLD", + "TriggerSensor": "vdroop1", + "Combination":[ + "battery", + "battery_cycle", + "vdroop1" + ], + "Coefficient":[ + "-10000", + "400", + "1200" + ], + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + 3.00, + "NAN" + ], + "VrThreshold":"NAN", + "Multiplier":1, + "Monitor":true + }, { "Name":"FLASH_LED_REDUCE", "Type":"UNKNOWN", diff --git a/thermal_info_config_raven.json b/thermal_info_config_raven.json index 872b284..b6689c5 100644 --- a/thermal_info_config_raven.json +++ b/thermal_info_config_raven.json @@ -295,6 +295,35 @@ "Multiplier":1, "Monitor":false }, + { + "Name":"critical-battery-cell", + "Type":"BCL_VOLTAGE", + "VirtualSensor":true, + "Formula":"COUNT_THRESHOLD", + "TriggerSensor": "vdroop1", + "Combination":[ + "battery", + "battery_cycle", + "vdroop1" + ], + "Coefficient":[ + "-10000", + "400", + "1200" + ], + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + 3.00, + "NAN" + ], + "VrThreshold":"NAN", + "Multiplier":1, + "Monitor":true + }, { "Name":"FLASH_LED_REDUCE", "Type":"UNKNOWN", diff --git a/thermal_info_config_slider.json b/thermal_info_config_slider.json index b4c90a0..b2735b9 100644 --- a/thermal_info_config_slider.json +++ b/thermal_info_config_slider.json @@ -102,6 +102,35 @@ "Multiplier":0.001, "Monitor":false }, + { + "Name":"critical-battery-cell", + "Type":"BCL_VOLTAGE", + "VirtualSensor":true, + "Formula":"COUNT_THRESHOLD", + "TriggerSensor": "smpl_gm", + "Combination":[ + "battery", + "battery_cycle", + "smpl_gm" + ], + "Coefficient":[ + "-10000", + "400", + "1400" + ], + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + 3.00, + "NAN" + ], + "VrThreshold":"NAN", + "Multiplier":1, + "Monitor":true + }, { "Name":"FLASH_LED_REDUCE", "Type":"UNKNOWN", diff --git a/thermal_info_config_whitefin.json b/thermal_info_config_whitefin.json index b4c90a0..b2735b9 100644 --- a/thermal_info_config_whitefin.json +++ b/thermal_info_config_whitefin.json @@ -102,6 +102,35 @@ "Multiplier":0.001, "Monitor":false }, + { + "Name":"critical-battery-cell", + "Type":"BCL_VOLTAGE", + "VirtualSensor":true, + "Formula":"COUNT_THRESHOLD", + "TriggerSensor": "smpl_gm", + "Combination":[ + "battery", + "battery_cycle", + "smpl_gm" + ], + "Coefficient":[ + "-10000", + "400", + "1400" + ], + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + 3.00, + "NAN" + ], + "VrThreshold":"NAN", + "Multiplier":1, + "Monitor":true + }, { "Name":"FLASH_LED_REDUCE", "Type":"UNKNOWN",