A script for controlling fan modes, fast charging mode, battery saving, FN_lock, using ACPI and kernel driver. There is also a function of manually entering ACPI commands.
sudo apt install git
git clone https://github.com/cheuS1-n/LenovoACPIControl_15ach6
cd LenovoACPIControl_15ach6
chmod +x run.sh
./run.sh
Press Fn+Q. You won't see anything to indicate that the mode has changed, but it is changing. Check through point 7 of the script.
Just add --create-shortcut option when start run.sh
You need add to your boot configuration amd_pstate=passive
https://wiki.archlinux.org/title/kernel_parameters
If you have additional codes for ACPI, then please send them to Issues with a description of the actions of this code, thanks!