From a9e27e260bdc4510518de1c4777c975a6056de3d Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 28 Jun 2024 13:55:20 -0400 Subject: [PATCH] phone: Use minimum cpu clock rate Fixes an issue where the phone would consistently crash all the time when performing slightly intensive tasks. --- hosts/phone/configuration.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/hosts/phone/configuration.nix b/hosts/phone/configuration.nix index f928ee34..a99b610b 100644 --- a/hosts/phone/configuration.nix +++ b/hosts/phone/configuration.nix @@ -64,5 +64,14 @@ in openssh.enable = true; }; - powerManagement.enable = true; + powerManagement = { + enable = true; + + cpufreq = rec { + min = 648000; + max = min; + }; + + cpuFreqGovernor = "powersave"; + }; }