Fan speed always high CPU consuming on my laptop...

This commit is contained in:
nicolargo 2019-01-24 22:27:17 +01:00
parent 203dd28794
commit 2529c66fe4

View File

@ -247,8 +247,8 @@ class GlancesGrabSensors(object):
# !!! Disable Fan: High CPU consumption with psutil 5.2.0 or higher
# Delete the two followings lines when corrected (https://github.com/giampaolo/psutil/issues/1199)
# self.init_fan = False
# logger.debug("Fan speed sensors disable (see https://github.com/giampaolo/psutil/issues/1199)")
self.init_fan = False
logger.debug("Fan speed sensors disable (see https://github.com/giampaolo/psutil/issues/1199)")
# Init the stats
self.reset()