Skip to content

Display governors even if they differ among CPU cores

Ghost User requested to merge (removed):gov into master

Previously, the governor was being displayed only if all CPUs were using the same governor.

Screenshot_20210202_213502

Example code to test this feature in Linux:

# echo performance > "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"
# echo ondemand    > "/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor"

Note: Some CPUs (e.g: Raspberry Pi 2) do not support per-core governors.

This patch also fixes the following bug: The text box isn't downsized if the old governor text (e.g: "performance", 11 characters) is longer than the new governor text (e.g: "ondemand", 8 characters).

Merge request reports