From a75c39090fa3f0cfd43d23e397a9a3e08ccd921c Mon Sep 17 00:00:00 2001 From: Ziyi Cui Date: Wed, 10 May 2023 18:08:51 +0000 Subject: [PATCH 1/2] powerhint: Reduce StaleTimeFactor Reduce StaleTimeFactor for power saving Bug: 269523712 Test: boot and run uibench Change-Id: I5d6c88ce46074673c87476d1dcc20c4fd9b9b1e7 Signed-off-by: Ziyi Cui --- powerhint.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/powerhint.json b/powerhint.json index fb56bb1..0cf5787 100644 --- a/powerhint.json +++ b/powerhint.json @@ -2144,7 +2144,7 @@ "EarlyBoost_On": false, "EarlyBoost_TimeFactor": 0.0, "TargetTimeFactor": 1.0, - "StaleTimeFactor": 20.0 + "StaleTimeFactor": 15.0 }, { "Name": "REFRESH_90FPS", @@ -2168,7 +2168,7 @@ "EarlyBoost_On": false, "EarlyBoost_TimeFactor": 0.0, "TargetTimeFactor": 1.0, - "StaleTimeFactor": 20.0 + "StaleTimeFactor": 15.0 }, { "Name": "REFRESH_60FPS", @@ -2192,7 +2192,7 @@ "EarlyBoost_On": false, "EarlyBoost_TimeFactor": 0.0, "TargetTimeFactor": 1.0, - "StaleTimeFactor": 20.0 + "StaleTimeFactor": 15.0 }, { "Name": "UiHighBoostWithoutPid", From 3eb0dc523fe5c9d61c1c501bf97529b5f532c690 Mon Sep 17 00:00:00 2001 From: paulsu Date: Wed, 14 Jun 2023 05:19:42 +0000 Subject: [PATCH 2/2] Remove UgBgGroupThrottle node to keep ug_bg_group_throttle 308 by default Bug: 280258727 Test: Found regression in b/286002292, local test. Change-Id: Ief3d1bded3add877b23b4c2b211cef6d5a9eaf57 Signed-off-by: paulsu --- powerhint.json | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/powerhint.json b/powerhint.json index fb56bb1..5a7b1f9 100644 --- a/powerhint.json +++ b/powerhint.json @@ -613,16 +613,6 @@ ], "DefaultIndex": 0, "ResetOnInit": true - }, - { - "Name": "UgBgGroupThrottle", - "Path": "/proc/vendor_sched/ug_bg_group_throttle", - "Values": [ - "512", - "308" - ], - "DefaultIndex": 0, - "ResetOnInit": true } ], "Actions": [