TLPUI icon indicating copy to clipboard operation
TLPUI copied to clipboard

Incorrect Platform Profile List: `low-power` vs `quiet`

Open ikus060 opened this issue 4 weeks ago • 1 comments

The list of available platform profiles on my system is incorrect. It should include "quiet", but instead, it displays "low-power", which is not available on my system.

Expected Behavior

The system should list only the profiles that are actually available, as defined in /sys/firmware/acpi/platform_profile_choices.

Actual Behavior

The system incorrectly shows "low-power" as an option, even though it is not listed in /sys/firmware/acpi/platform_profile_choices.

+++ Platform Profile
/sys/firmware/acpi/platform_profile                    = balanced
/sys/firmware/acpi/platform_profile_choices            = quiet balanced performance

Image

Suggested Fix

From a quick review of the code, it seems that the list of available profiles should be retrieved dynamically from /sys/firmware/acpi/platform_profile_choices, rather than using a predefined list of values. This would ensure that only valid options are presented to the user.

ikus060 avatar Jan 29 '25 12:01 ikus060