From bd0e632461dc85740d140f0a9a958868ff2aab9c Mon Sep 17 00:00:00 2001 From: nzlov <1006954237@qq.com> Date: Sat, 6 Mar 2021 14:02:40 +0800 Subject: [PATCH] fix peak_refresh_rate --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 2e24ef2..77e3644 100644 --- a/main.go +++ b/main.go @@ -294,6 +294,7 @@ func upfps(i string) { TOUCHING = true log("upfps:", i) exec.Command("settings", "put", "system", "min_refresh_rate", FPS).Output() + exec.Command("settings", "put", "system", "peak_refresh_rate", FPS).Output() } func changeActivity(a string) {