D24998: Fix ksysguard acpi cooling devices

2019-10-28 Thread Nathaniel Graham
This revision was automatically updated to reflect the committed changes. Closed by commit R106:86def1d13e84: Fix ksysguard acpi cooling devices (authored by jjorge, committed by ngraham). REPOSITORY R106 KSysguard CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D24998?vs=68871=68895

D24998: Fix ksysguard acpi cooling devices

2019-10-28 Thread José JORGE
jjorge added a comment. How to test : just add an ACPI cooling device to ksysguard, it would always show 0% before this patch. To find one cooling device that actually changes, you can use the 'acpi -V' command REPOSITORY R106 KSysguard REVISION DETAIL

D24998: Fix ksysguard acpi cooling devices

2019-10-28 Thread José JORGE
jjorge created this revision. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. jjorge requested review of this revision. REVISION SUMMARY The cooling devices state never changed from zero. It was wrongly calculated as a fraction from 0 to 1, instead of a percentage.