Bug 265523 - Power Management Improvement Sugestion
Summary: Power Management Improvement Sugestion
Status: RESOLVED NOT A BUG
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: powermanagement (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dario Freddi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-05 15:19 UTC by pnomadewolf
Modified: 2011-02-07 00:52 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pnomadewolf 2011-02-05 15:19:37 UTC
Version:           unspecified (using KDE 4.5.0) 
OS:                Linux

Power Management in KDE is not that great, IMHO.
I think you should look over to Gnome and it's CPU Scale and Frequency Monitor, it's much easier, quicker and simpler to use.
Bellow 50% battery KDE automatically changes the default settings countless times. Also, even if i put the scheme back to what it was, it'll keep putting my power setings down, to the point i can't use my computer anymore.

Reproducible: Always

Steps to Reproduce:
Just unplug the power cable and wait.

Actual Results:  
Can't use computer, cause i'm allways getting interrupted by power profile changes.

Expected Results:  
If i select a power scheme, that's cause i want it.
Comment 1 Dario Freddi 2011-02-05 16:59:06 UTC
You probably have some wrong defaults in your system: by default, KDE switches profile at 25% and 15% of your battery, so what you are describing is certainly not the case with KDE's system, which anyway lets you turn off scheme changes.
Comment 2 pnomadewolf 2011-02-06 17:19:34 UTC
What about controling directly the CPU Frequency like in Gnome?
That's all i want.
I don't want it to automatically change Power Schemes.
It only changes twice at 25% and 15%, if you don't do anything, but if you actually don't want it to, like me, you'll put it back as it was.
Except KDE knows better, so it keeps putting the power scheme back everytime... Just anoying...
Too many options, too many schemes, too many changes.
I think it's much faster, easier and simple in gnome. I don't have countless power schemes and i can directly set the saving level i want by setting the processor speed. After that, it doesn't keeps guessing what i want. Pretty simple and effective.

Maybe i'm the only one, but the fact is that it's one of the few things that keep me away from KDE. It's a very good WM, but has one or two very frustating points.

Just my 2 bucks.
Comment 3 Dario Freddi 2011-02-06 17:37:36 UTC
Uh - ok, now I get it: when you talk about scheme, you mean the CPU governor. Sorry for misunderstanding, I was translating this to "power profile". Even though I still find some difficulties in understanding *exactly* what you are complaining about. However:

First of all, GNOME does not let you do that as well, and if it does, you are running a pretty old version. The control of the CPU frequency has been removed from desktop tools since a while, and upower is not even able to control this. The ondemand governor should be fine for all use cases. That said, I see you are running KDE 4.5. 4.5 Indeed might force a change on the governor due to the fact that it still uses HAL: upgrading to KDE 4.6 should fix this issue for you, as the CPU governor won't be touched.

And remember that, again, power profile changes can be prevented.

P.S.: This bugs should be marked as invalid and not wontfix, as you are not explicitely asking for a feature or something which I do not want to implement.
Comment 4 pnomadewolf 2011-02-06 23:06:57 UTC
But i AM asking for a feature.
I want to control CPU directly.
Gnome does this. I use Linux Mint. And when the main version comes out, i install the default Gnome version. Then when Mint KDE comes out, install that version.
Mint KDE 9 was buggy, so i had to quit that version.
But in Mint 10 i can right click the taskbar> add to panel> cpu scale and frequency monitor
And i get a little app that allows me to control the CPU directly. Pretty cool.
If you guys could add that to KDE + giving the possibility to assign the windows key to open the Kickoff Menu, and allow the new Menu to have the categories verticaly aligned, that would be tops.
Comment 5 Dario Freddi 2011-02-07 00:14:50 UTC
Ok, that makes things clearer, as the applet you are using is an addon (gnome's default powermanager instead does not allow this).

Unfortunately, the feature of controlling CPU frequency directly has been removed for a variety of reasons and after a long discussion and it is not coming back. Userspace tools are no longer able to provide desktop power managers the ability of switching governor the right way, and these days kernel developers recommend to use the ondemand governor only.

However, PowerDevil in 4.6 has introduced support for using dynamic (plugin-based) actions. I am quite sure somebody will come up soon with an action which is capable of doing that, bringing this feature in PowerDevil again, even if it won't be upstreamed. You could try asking to Mint developers if they are interested in such a feature, and eventually include it in their KDE 4.6 release. I might even think about writing such a plugin myself - after my exams, of course :)
Comment 6 pnomadewolf 2011-02-07 00:23:11 UTC
Ok. Thanks for the explanation, and for your time and quick answers.
I actually have the skills to get involved in the development. But i have such a busy schedule that i really can't get into any more projects right now. Maybe later.
Good luck with your exams.
Comment 7 Dario Freddi 2011-02-07 00:36:49 UTC
Thanks :) however, consider that coding an action is really a matter of a hundred lines of code... feel free to drop me a mail if you are interested
Comment 8 pnomadewolf 2011-02-07 00:52:11 UTC
If can point me in the right direction, maybe i'll take a look.
100 lines of code is easy cake. I deal with tens of thousands every day :)