From c93b55b02bcd3c39c08b7f528e7b5e689839f439 Mon Sep 17 00:00:00 2001 From: jonerlin Date: Sun, 13 Oct 2024 21:46:26 +0000 Subject: [PATCH 1/2] bt: add bthal service permission to access bt wakelock control device node Bug: 380024887 Test: BLE scan test and check wakelock time Flag: EXEMPT project configuration patch. Change-Id: Iafce4fea2e80e1eac076ce2258f62bbe5159513a --- conf/init.husky.rc | 1 + conf/init.shiba.rc | 1 + 2 files changed, 2 insertions(+) diff --git a/conf/init.husky.rc b/conf/init.husky.rc index ffd9bd8..3479e7c 100644 --- a/conf/init.husky.rc +++ b/conf/init.husky.rc @@ -41,6 +41,7 @@ on post-fs-data # Bluetooth on post-fs-data chown bluetooth system /proc/bluetooth/timesync + chown bluetooth system /proc/bluetooth/sleep/wakelock_ctrl # Start the twoshay touch service on property:vendor.device.modules.ready=1 diff --git a/conf/init.shiba.rc b/conf/init.shiba.rc index b30f54f..f19c3e2 100644 --- a/conf/init.shiba.rc +++ b/conf/init.shiba.rc @@ -37,6 +37,7 @@ on post-fs-data # Bluetooth on post-fs-data chown bluetooth system /proc/bluetooth/timesync + chown bluetooth system /proc/bluetooth/sleep/wakelock_ctrl # Start the twoshay touch service on property:vendor.device.modules.ready=1 From 758dd1270028ba99efcec255c30d8bf12a6b42c1 Mon Sep 17 00:00:00 2001 From: "Kame(TeYuan) Wang" Date: Thu, 21 Nov 2024 18:14:21 +0000 Subject: [PATCH 2/2] Revert "powerhint: enable auto_prefer_idle in games" Revert submission 29817358-p23_auto_prefer_idle Reason for revert: Power efficiency regression Reverted changes: /q/submissionid:29817358-p23_auto_prefer_idle Bug: 372961087 Test: manual testing Change-Id: I4b24954cb37a469c2d6835e6f01e6abc655ce0b2 --- perf/powerhint-husky.json | 2 +- perf/powerhint-shiba.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/perf/powerhint-husky.json b/perf/powerhint-husky.json index ee5d996..bad5d92 100644 --- a/perf/powerhint-husky.json +++ b/perf/powerhint-husky.json @@ -2875,7 +2875,7 @@ "PowerHint": "GAME", "Node": "AutoPreferIdle", "Duration": 0, - "Value": "1" + "Value": "0" }, { "PowerHint": "GAME", diff --git a/perf/powerhint-shiba.json b/perf/powerhint-shiba.json index 1d3185a..c140c6a 100644 --- a/perf/powerhint-shiba.json +++ b/perf/powerhint-shiba.json @@ -2768,7 +2768,7 @@ "PowerHint": "GAME", "Node": "AutoPreferIdle", "Duration": 0, - "Value": "1" + "Value": "0" }, { "PowerHint": "GAME",