Closed WojciechSzade closed 2 months ago
The fan mode essentially controls the performance of the legion laptops and is intrinsically linked to the platform profile, so the driver binds them together and that can not change.
However, the platform profile is not inherently linked to the power saving mode of your device. This is done through the power manager, e.g., ppd, tuned etc, that implement the interface which makes the power saving button appear.
At least TuneD has the option to make it ignore the platform profile. The manager you use will probably have the same option. If you make it ignore it, entering power saving mode will no longer mess with the fan curve.
When you change the power mode, the platform_profile actually changes, and when the platform_profile changes, the corresponding fan curve is automatically applied, so if you want to keep the fan curve unchanged, one possible way is to softlink all /etc/legion_linux/*.yaml to the same file, so that when switching power mode, the fan curve will be overridden automatically.
Is your feature request related to a problem? Please describe. I'm using GNOME and I'd like to use the quiet fan setting without using the power saving GNOME's setting.
I know I can disable the power profiles daemon but that's not what I want to achieve - I want to be able to utilize the GNOME power settings and the fan settings separably - or at least have control over if they're connected or not - how it was working before using your app.
Describe the solution you'd like A setting in the app - "Make the power profiles control the fan profiles" - when turned on turning on the quiet mode enables power saver and the other way around. When off it doesn't. Or even a switch - if I turn on the power saver then the quiet mode is on, but not the other way around - you could use fn+q to change fan modes but it doesn't control the power settings.
Describe alternatives you've considered As above.
Model and Debug Info
Distribution: Arch Linux x86_64 Model name: 82RG (Legion 5 Pro 16ARH7H) CPU model: AMD Ryzen 7 6800H (16) @ 4.79 GHz GPU model: NVIDIA Geforce RTX 3070 Ti Lapt Keyboard backlight: single color with off/medium/bright Light in lid or logo: no Light at IO-Ports at back: yes?
Output of
sudo dmidecode -t system
. Please remove Serial Number and UUID for privacy:Output of
sudo dmidecode -t bios
:Output of
sudo cat /sys/kernel/debug/legion/fancurve
: