Driver and tools for controlling Lenovo Legion laptops in Linux
...It allows you to control features like the fan curve, power mode, power limits, rapid charging, and more. This has been achieved through reverse engineering and disassembling the ACPI firmware, as well as the firmware and memory of the embedded controller (EC).
...Make sure the Mono runtime + development tools are installed on your machine (Debian based distros: mono-complete, Arch based distros: mono). Config files are an integral part of NBFC, because they define how NBFC interacts with your notebook's embedded controller (EC). The EC monitors your system's temperatures and controls the fan(s). It sits on the motherboard or is integrated into a Super I/O chip & is connected to the Southbridge via the Low Pin Count (LPC) bus.