kepler
kepler copied to clipboard
fix(acpi): Fixed how kepler searches for ACPI in hwmon
ACPI power meter in hwmon need not always be present in "/sys/class/hwmon/hwmon2"
This commit fixes this problem by
- looking inside each folder in
"/sys/class/hwmon" - improving the method to detect presece of acpi power meter. (this method is inspired from
lm-sensorsproject)
Cc: @rootfs @marceloamaral
@vimalk78 thoughts on closing this PR?
@vimalk78 thoughts on closing this PR?
if community thinks this is not needed, i can close it