Repository navigation
Expand file tree
/
Copy pathfan-control.json.example
More file actions
81 lines (81 loc) · 2.21 KB
/
Copy pathfan-control.json.example
File metadata and controls
81 lines (81 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"_comment": "Adaptive rules only apply when /var/lib/zenbook-scripts/fan-control-mode is auto. Explicit tray/CLI Profile or Fans:full sets manual; Profile:auto(adaptive) or Fans:auto clears it.",
"daemon": {
"interval_sec": 5,
"hysteresis_sec": 30,
"watch_lid": true,
"watch_power": true,
"rules_while_lid_closed": false
},
"profiles": {
"powersave": {
"platform_profile": "quiet",
"pwm": "auto",
"epp": "power",
"intel_pstate": { "max_perf_pct": 60, "no_turbo": false },
"rapl": { "pl1_w": 15, "pl2_w": 28 }
},
"balanced": {
"platform_profile": "balanced",
"pwm": "auto",
"epp": "balance_performance",
"intel_pstate": { "max_perf_pct": 100, "no_turbo": false },
"rapl": { "pl1_w": 28, "pl2_w": 45 }
},
"performance": {
"platform_profile": "performance",
"pwm": "auto",
"epp": "performance",
"intel_pstate": { "max_perf_pct": 100, "no_turbo": false },
"rapl": { "pl1_w": 45, "pl2_w": 64 }
},
"full": {
"platform_profile": "performance",
"pwm": "full",
"epp": "performance",
"intel_pstate": { "max_perf_pct": 100, "no_turbo": false }
},
"night": {
"platform_profile": "quiet",
"pwm": "auto",
"epp": "power",
"intel_pstate": { "max_perf_pct": 40, "no_turbo": true },
"rapl": { "pl1_w": 10, "pl2_w": 15 }
}
},
"rules": {
"ac": [
{ "when": { "load_lt": 15 }, "profile": "powersave" },
{ "when": { "load_gte": 15, "load_lt": 85 }, "profile": "balanced" },
{ "when": { "load_gte": 85 }, "profile": "performance" }
],
"battery": [
{ "when": { "temp_lt": 65, "load_lt": 40 }, "profile": "powersave" },
{ "when": { "temp_lt": 80 }, "profile": "balanced" },
{ "when": { "temp_gte": 80 }, "profile": "performance" }
]
},
"events": {
"lid_close": {
"profile": "powersave"
},
"lid_open": {
"profile": null
},
"sleep_pre": {
"profile": "powersave"
},
"sleep_post": {
"profile": null
},
"ac_online": {
"profile": null
},
"ac_offline": {
"profile": "powersave"
},
"ac_change": {
"profile": null
}
}
}