fvogt added a comment.
I could also open all sysfs files only once and then fseek+fscanf when the value is requested, but that would only exchange a continuous fopen+fclose with fseek+more complexity IMO. I'm fine with both approaches, but I favor KISS here. REPOSITORY R106 KSysguard REVISION DETAIL https://phabricator.kde.org/D8153 To: fvogt, #plasma Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart