psutil icon indicating copy to clipboard operation
psutil copied to clipboard

Following lm-sensors with fan names

Open alexwbaule opened this issue 1 year ago • 0 comments

Summary

  • OS: Linux
  • Bug fix: yes
  • Type: core
  • Fixes: if there is no labels in fan, use the name of fan (fan1, fan2, etc) to give a label to them.

Description

This is will apply a fallback label, following what lm-sensors do. If there is no label, return his name. https://github.com/lm-sensors/lm-sensors/blob/master/lib/access.c#L162

alexwbaule avatar Jun 06 '23 01:06 alexwbaule