Skip to content

Commit

Permalink
improvement(policy): update fan speed policy
Browse files Browse the repository at this point in the history
  • Loading branch information
yinheli committed Jun 13, 2022
1 parent 030a1cb commit 3553851
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/main.rs
Expand Up @@ -73,11 +73,12 @@ async fn main() {
41..=50 => 2,
51..=55 => 5,
56..=60 => 10,
61..=65 => 20,
67..=70 => 25,
71..=75 => 40,
61..=62 => 20,
63..=65 => 30,
66..=70 => 40,
71..=75 => 50,
76..=80 => 80,
_ => 100,
81.. => 100,
};

if temperature >= threshold {
Expand Down

0 comments on commit 3553851

Please sign in to comment.