Skip to content

Repository files navigation

ThinkBookFanControl Smart

ThinkBookFanControl Smart logo

Platform .NET License

An experimental smart-cooling utility for the Lenovo ThinkBook 16p G6 IAX. It monitors CPU temperature, displays both fan RPM values, and can temporarily enable Lenovo's global dual-fan full-speed mode through documented WMI paths.

中文说明

Highlights

  • Dark WPF dashboard with CPU temperature, FAN1/FAN2 RPM and temperature history.
  • Smart trigger above 50 °C with spike filtering and faster high-temperature paths.
  • Forced cooling is capped at 10 minutes and can stop early below 48 °C.
  • Dynamic cooldown based on the actual forced-cooling duration.
  • Optional close-to-tray behavior and elevated startup task.
  • Independent restore watchdog, firmware readback checks and safe exit restoration.

Hardware safety boundary

The application only uses these Lenovo WMI interfaces under root\wmi:

  • LENOVO_OTHER_METHOD
  • LENOVO_FAN_TEST_DATA
  • 0x04020000 — global dual-fan full-speed state
  • 0x04030001 — FAN1
  • 0x04030002 — FAN2

It does not write unknown Embedded Controller addresses. Unsupported or incomplete WMI schemas block every write.

Warning

This is model-specific experimental software. Fan control can affect cooling, stability and hardware life. Keep Lenovo firmware protection enabled and use the software at your own risk.

Requirements

  • Windows 10/11 x64
  • Lenovo ThinkBook 16p G6 IAX exposing the WMI interfaces above
  • Administrator privileges
  • PawnIO 2.2.0 for CPU temperature access through LibreHardwareMonitor

The release installer installs PawnIO as a separate shared driver. Uninstalling this application intentionally leaves PawnIO installed because other monitoring tools may depend on it.

Build from source

Install the .NET 9 SDK, then run:

dotnet restore ThinkBookFanControl-Smart.slnx
dotnet build ThinkBookFanControl-Smart.slnx -c Release --no-restore
dotnet run --project ThinkBookFanControl.Tests/ThinkBookFanControl.Tests.csproj
dotnet publish ThinkBookFanControl.App/ThinkBookFanControl.App.csproj `
  -c Release -r win-x64 --self-contained true -o publish-smart

To build the installer, install Inno Setup 6 and place the official PawnIO_setup-2.2.0.exe in third_party/. Third-party binaries are deliberately excluded from Git history.

Maintenance commands

--diagnose <file>       Read-only hardware capability report
--restore-auto          Restore Lenovo automatic fan control
--prepare-uninstall     Restore automatic control and remove app tasks

License and credits

Application source: MIT. Dependency notices and acknowledgements are in THIRD-PARTY-NOTICES.txt and NOTICE.md.

About

Smart dual-fan cooling utility for Lenovo ThinkBook 16p G6 IAX

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages