From 20bc3e19291cbde361abb992c891c08ebf25afef Mon Sep 17 00:00:00 2001 From: Ziyi Cui Date: Wed, 10 May 2023 18:10:43 +0000 Subject: [PATCH 1/2] powerhint: Reduce StaleTimeFactor Reduce StaleTimeFactor for power saving Bug: 269523712 Test: boot and run uibench Change-Id: I106a4a2322a93147205e079c9461619967a33917 Signed-off-by: Ziyi Cui --- powerhint.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerhint.json b/powerhint.json index e9b1906..58edb97 100644 --- a/powerhint.json +++ b/powerhint.json @@ -2050,7 +2050,7 @@ "EarlyBoost_On": false, "EarlyBoost_TimeFactor": 0.0, "TargetTimeFactor": 1.0, - "StaleTimeFactor": 20.0 + "StaleTimeFactor": 15.0 }, { "Name": "UiHighBoostWithoutPid", From 2cd8ff3d6ec74a16593d40f442f581e0400085c2 Mon Sep 17 00:00:00 2001 From: paulsu Date: Wed, 14 Jun 2023 05:23:51 +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: I6024d1a1d669809d7ed8401d66e4ac8facd3112a Signed-off-by: paulsu --- powerhint.json | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/powerhint.json b/powerhint.json index e9b1906..7659880 100644 --- a/powerhint.json +++ b/powerhint.json @@ -604,16 +604,6 @@ ], "DefaultIndex": 0, "ResetOnInit": true - }, - { - "Name": "UgBgGroupThrottle", - "Path": "/proc/vendor_sched/ug_bg_group_throttle", - "Values": [ - "512", - "308" - ], - "DefaultIndex": 0, - "ResetOnInit": true } ], "Actions": [