Closed mkesper closed 5 years ago
The value of temp_thresh
is currently used for 2 things, triggering a hook that invokes a script, and for some "eye candy" which changes the temperature graph to red.
By default, this is chosen to be the value of high
returned by psutil.sensors_temperatures()
. It is possible for this value to be None
if it is not available.
Currently, some places use THRESHOLD_TEMP, which is set to 80 degrees.
This is an arbitrary value, but it is better if it is consistent.
New commit, combining possible errors. Fixed whitespace...
Sorry for the long delay. This looks good. I will review and approve this shortly.
@mkesper thank you for you contribution. Now merged.
Thanks a lot!
If no custom threshold is set we need something to compare to.