Skip to content

Temp sensor (rings) should floor at ambient #100

@OpenBagTwo

Description

@OpenBagTwo

Currently I have minimon set to show CPU and GPU temps as ring graphs, and it's always distracting and momentarily alarming when I notice the rings are 35-45% of full at idle, e.g.

Temp of 40C currently shows as 40%

As a dirty hack, I could always hardcode

let percentage: u8 = latest.round().clamp(0.0, 100.0) as u8;
crate::svg_graph::ring(&value, percentage, None, &self.svg_colors)

to read:

 let percentage: u8 = ((latest - 21) / .79).round().clamp(0.0, 100.0) as u8;

but I'd much prefer to set ambient and critical temps in my config.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions