Comment 16 for bug 691721

Revision history for this message
Kim Nguyễn (kim.nguyen) wrote : Re: Only one core managing with indicator-cpufreq.

Hi again,
actually implementing the submenu approach was quite easy, see the attached patch.

now the icon reflects the state of the highest frequency among all the cores.
As a bonus, the menu looks like this:

[_] CPU 0 >
[_] CPU 1 >
[_] CPU 2 >
...

where each entry contains the old menu (frequencies and governors as a submenu) and [_] is the icon which reflects
the state of the CPU on the current line.

I've only tested with two CPUs but it seems to work fine, so please patch against current trunk, test and enjoy.
Cheers
--
Kim.