Skip to main content

set_fan_speed

Function set_fan_speed 

Source
pub fn set_fan_speed(speed: FanSpeed)
Expand description

Set the fan to a specific speed level.

level maps to the ThinkPad EC fan control register:

  • 0 = maximum speed
  • 7 = off
  • Intermediate values scale between max and off