LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-06-2010, 08:55 AM   #1
King_DuckZ
Member
 
Registered: Nov 2009
Location: Rome, IT
Distribution: Sabayon
Posts: 61

Rep: Reputation: 2
Energetic profile not being switched


After upgrading to Mandriva 2010.1 64bit I noticed that my system (KDE, PowerDevil) wasn't switching profiles anymore if - for example - I disconnect it from the electricity. Profiles seem to be set right, and both acpi and plasma-battery can tell if battery is in charge or not (although I can't manually switch profile anymore as the dropdown list was removed), but even if I let the battery go down as low as 3% nothing happens. Even event sounds are not played.

I firstly noticed when I was logged in a shell (no KDE sessions open) and the screen got darker as the battery charge went down. Then I found no way to restore brightness other than operating the slide on plasma-applet, so I have no idea of which profile I'm on right now.

Last edited by King_DuckZ; 08-06-2010 at 10:37 AM.
 
Old 08-06-2010, 11:11 AM   #2
King_DuckZ
Member
 
Registered: Nov 2009
Location: Rome, IT
Distribution: Sabayon
Posts: 61

Original Poster
Rep: Reputation: 2
If someone could even just explain who takes care of managing profiles (KDE, the kernel itself, some module or demon, X...) that would still be quite helpful!
 
Old 08-06-2010, 03:14 PM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
I don't have mandriva, but I'll assume that the front end to the power management system is the same (conceivably, it may not be, but most likely it is). And kde is some variant of KDE4, isn't it?

Quote:
Originally Posted by King_DuckZ View Post
If someone could even just explain who takes care of managing profiles (KDE, the kernel itself, some module or demon, X...) that would still be quite helpful!
Some bits are done at various different levels, but KDE should provide the front end to control configure everything else. You seem to be talking about a laptop (correct?).

I had to define another profile, because, when on power, I'd never get suspend because even though the lid switch activated, on the performance profile (because it was plugged in) didn't do any power saving, but I really know nothing more than that.
 
Old 08-07-2010, 01:54 PM   #4
King_DuckZ
Member
 
Registered: Nov 2009
Location: Rome, IT
Distribution: Sabayon
Posts: 61

Original Poster
Rep: Reputation: 2
Ops sorry, I thought I gave all the relevant informations but I obviously forgot some. Yes, I was talking about KDE4 (v4.4.3) and I'm on a laptop.
I didn't really understand what your suggestion is:
I already have different profiles:
Performance
Powersave
Aggressive Powersave
Xtreme Powersave
Presentation

but I can't switch manually between those (as the battery plasma applet that allowed to do so seems to have been modified since kde 4.3, at least on Mandriva).
 
Old 08-16-2010, 07:14 PM   #5
King_DuckZ
Member
 
Registered: Nov 2009
Location: Rome, IT
Distribution: Sabayon
Posts: 61

Original Poster
Rep: Reputation: 2
Allright, just to be helpful to someone else having this same problem with the following symptoms:
- no energetic profile switching possible (either manually or automatically)
- suspend to ram/to disk doesn't work from KDE menu (but it does from command line)

it is signaled to be a bug in the update to Mandriva 2010.1
the solution proposed on Mandriva's wiki to give the speedboot=no option at boot time doesn't work (at least for me). What worked was a quick edit I found on some other website: http://forum.mandriva.com/viewtopic.php?t=129728
Quote:
Khym Chanur wrote:
I found the solution here: http://forum.kde.org/viewtopic.php?f=22&t=37365

Go to /usr/share/kde4/services/kded/powerdevil.desktop and change X-KDE-Kded-phase from 1 to 0, then restart KDE.
Quote:
djenning wrote:
Thanks Khym that works perfectly.

The same fix also applies to the RemovableDeviceAutomounter and KDED StatusNotifierWatcher daemons which also do not start on login.
I hope this helps someone - the fix is very easy and worked for me. Even the dropdown menu in the battery applet has appeared!

Last edited by King_DuckZ; 08-16-2010 at 07:17 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why I switched to GNOME jmite General 1 11-13-2008 10:14 PM
system profile vs user profile bonito SUSE / openSUSE 3 06-28-2006 01:02 PM
Switched to C jstephens84 Programming 10 11-18-2005 07:15 AM
Apache 2.0.xx Has many of you switched from 1.3?? Noerr Linux - Software 10 05-30-2002 01:04 AM
Just switched LinuzRulz Linux - Distributions 0 05-12-2002 09:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 04:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration