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&id=6889

D24998: Fix ksysguard acpi cooling devices

2019-10-28 Thread Nathaniel Graham
ngraham added a comment. Nice work. BTW you might want to clean up the name in your `.gitconfig` file. It's currently set to "José JORGE [zezinho]". Just "José Jorge" would be better. :) REPOSITORY R106 KSysguard BRANCH fix-acpi-cooling-device-percent (branched from master) REVISIO

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 https://phabricator.kde.org/D24998

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.