Fix battery drain sources across suspend, CPUfreq, radios, and daemons

This commit is contained in:
Luxferre committed 2026-11-23 20:00:17 +02:00
1 parent 4b36aa0726
commit 7f3b3c2c0c
24 files changed
+487 -64

No files matched your search

+5 -2
View File
@@ -41,19 +41,22 @@ geminux_profile_params_t geminux_policy_params(geminux_profile_t prof, bool on_a
out.governor = "schedutil";
if (prof == POWER_PROFILE_ECO) {
out.a72_online = false;
out.a53_max_khz = 1391000UL;
out.a53_ll_max_khz = 624000UL;
out.a53_max_khz = 832000UL;
out.a72_max_khz = 0UL;
out.dim_timeout_s = on_ac ? 180 : 60;
out.suspend_timeout_s = on_ac ? 0 : 180;
} else if (prof == POWER_PROFILE_PERFORMANCE) {
out.a72_online = true;
out.a53_ll_max_khz = 1547000UL;
out.a53_max_khz = 1846000UL;
out.a72_max_khz = 2600000UL;
out.dim_timeout_s = on_ac ? 600 : 180;
out.suspend_timeout_s = 0;
} else {
out.a72_online = true;
out.a53_max_khz = 1547000UL;
out.a53_ll_max_khz = on_ac ? 897000UL : 806000UL;
out.a53_max_khz = on_ac ? 1209000UL : 1092000UL;
out.a72_max_khz = 2002000UL;
out.dim_timeout_s = on_ac ? 300 : 120;
out.suspend_timeout_s = on_ac ? 0 : 300;