We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63482af commit 0459e76Copy full SHA for 0459e76
library/sensors/sensors_python.py
@@ -84,10 +84,19 @@ def sensors_fans():
84
for base in basenames:
85
try:
86
current_rpm = int(bcat(base + '_input'))
87
+
88
89
max_rpm = int(bcat(base + '_max'))
90
except:
- max_rpm = 1500 # Approximated: max fan speed is 1500 RPM
91
+ max_rpm = False # Real maximum speed not found
92
+ if not max_rpm:
93
+ if current_rpm > 2200:
94
+ max_rpm = 3000 # AIO Pumps are usualy 3000 RPM
95
+ elif current_rpm > 1500:
96
+ max_rpm = 2200 # High speed fans are usualy 2200 RPM
97
+ else
98
+ max_rpm = 1500 # Approximated: max fan speed is 1500 RPM
99
100
101
min_rpm = int(bcat(base + '_min'))
102
0 commit comments