Skip to content

Add support for fractional sensor readings. #809

@rud01f

Description

@rud01f

Greetings. In a different application for monitoring I had sensor readings like CPU, GPU temperature, usage with fractional precision (eg. 41.2°C, 7.3%). It sometimes helps to see values with better granularity (better overview whether CPU is actually cooling down or floating around certain value, instead of waiting for 20 seconds until the integer meter shows drop by 1 degree).
Therefore, I kindly ask for support for 1 decimal point digit precision, for example "DECIMAL: false/true" sensor property (mostly for GPU, CPU usage and temperature). I've looked through the code and noticed it's quite easy to add, and maybe this program author would find my comment valuable.
Edit I made the modification myself and it's quite easy, to support 3 characters display of CPU/GPU usage i made it back to non-fractional part if greater or equal to 10%. I'm just not skilled in using github well enough to submit a pull request. (I am willing to learn it and submit a few push requests i have on my mind if encouraged by the program author).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions