From 8f7d02cd08de527d2b9d6471dd6494c0323213b6 Mon Sep 17 00:00:00 2001 From: Rick Yiu Date: Tue, 27 Jun 2023 06:22:52 +0000 Subject: [PATCH] Disable prefer idle for TA and FG when screen-off Bug: 236868627 Test: work as expected Change-Id: I1f45577a99b47136cb6620c846c3417a9696451e --- perf/powerhint-husky.json | 12 ++++++++++++ perf/powerhint-ripcurrent.json | 12 ++++++++++++ perf/powerhint-shiba.json | 12 ++++++++++++ 3 files changed, 36 insertions(+) diff --git a/perf/powerhint-husky.json b/perf/powerhint-husky.json index a5d98b3..2d7b7d4 100644 --- a/perf/powerhint-husky.json +++ b/perf/powerhint-husky.json @@ -963,6 +963,18 @@ "Duration": 0, "Value": "10000" }, + { + "PowerHint": "DISPLAY_INACTIVE", + "Node": "TAPreferIdle", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "DISPLAY_INACTIVE", + "Node": "FGPreferIdle", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "CAMERA_LAUNCH", "Node": "MemFreq", diff --git a/perf/powerhint-ripcurrent.json b/perf/powerhint-ripcurrent.json index 9d2b505..409e95a 100644 --- a/perf/powerhint-ripcurrent.json +++ b/perf/powerhint-ripcurrent.json @@ -923,6 +923,18 @@ "Duration": 0, "Value": "10000" }, + { + "PowerHint": "DISPLAY_INACTIVE", + "Node": "TAPreferIdle", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "DISPLAY_INACTIVE", + "Node": "FGPreferIdle", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "CAMERA_LAUNCH", "Node": "MemFreq", diff --git a/perf/powerhint-shiba.json b/perf/powerhint-shiba.json index 93dc9a9..cfdca17 100644 --- a/perf/powerhint-shiba.json +++ b/perf/powerhint-shiba.json @@ -963,6 +963,18 @@ "Duration": 0, "Value": "10000" }, + { + "PowerHint": "DISPLAY_INACTIVE", + "Node": "TAPreferIdle", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "DISPLAY_INACTIVE", + "Node": "FGPreferIdle", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "CAMERA_LAUNCH", "Node": "MemFreq",