How to: Update Kpowersave -> better Battery Management

Discussion in 'Linux' started by Tybor, Sep 20, 2008.

  1. Tybor

    Tybor

    Joined:
    Jul 11, 2008
    Messages:
    62
    Likes Received:
    0
    Location:
    Austria
    Hi hiker_jon!

    1. with "garbage" you mean the screen displays odd things? (haven't noticed anything with my AAO)
    2. Indeed its fast and its not the same as when shutdown through panel. But its the common way to shutdown linux!
    Is it safe? Again, haven't noticed anything wrong with this method. For me its safe, although I prefer the panel method ;-)
    3. /home/user/.kde/share/config/kpowersaverc

    gr33tz,
    Tybor
     
    Tybor, Oct 13, 2008
    #21
  2. Tybor

    blackhawk

    Joined:
    Aug 19, 2008
    Messages:
    122
    Likes Received:
    0
    With KPowersave update, Power Center shortcut will stop working. To fix it, you must change /usr/share/applications/powercenter.desktop :
    Code:
    $ sudo mousepad /usr/share/applications/powercenter.desktop
    ...
    #Exec=kpowersave --show-config
    Exec=dcop kpowersave KPowersaveIface openConfigureDialog
    ...
    
     
    blackhawk, Oct 16, 2008
    #22
  3. Tybor

    Jack Vermicelli

    Joined:
    Sep 26, 2008
    Messages:
    84
    Likes Received:
    0
    Location:
    MI, US
    I had the power button set for shutdown. That doesn't work and neither does the logout dialog option. So I figured that nothing worked, but I see that the suspend to ram option does work. That is good enough for me.

    Jon[/quote:2e6wkqq8]

    Sorry for snipping like that. I had (incorrectly) assumed that the OP's previous reply to the same problem had resolved it. I now realize that I had the same problem as you, and am glad you brought it up again, getting a resolution for both of us.

    I used the OP's fix, which works fine, and the power center shortcut fix, which doesn't. It's not necessary, as the tray icon is more convenient, but does the edit work for anyone else?
     
    Jack Vermicelli, Oct 17, 2008
    #23
  4. Tybor

    davtho

    Joined:
    Sep 22, 2008
    Messages:
    2
    Likes Received:
    0
    I recently did the kpowersave update and when i rebooted my touchpad stopped working!
    any ideeas what the problem might be its really irritating. i myself has no clue what it might be. i need to fix this ASAP!


    Update: i just uninstalled kpowersave and now my touchpad works :S.
    i want the kpowersave, does anyone know a solution?

    thanks for your time.
    David
     
    davtho, Oct 19, 2008
    #24
  5. Tybor

    summerrj

    Joined:
    Sep 11, 2008
    Messages:
    3
    Likes Received:
    0
    To get the power button to make the computer sleep again after updating Kpowersave do the following:

    Make the action line of /etc/acpi/events/power.conf read:

    Code:
    action=/etc/acpi/actions/sleep.sh %e
    Then from the commandline do:

    Code:
    sudo kill -SIGHUP `pidof acpid`
    to restart acpid and reload the config.

    Your power button will now act as a sleep button.

    Rob
     
    summerrj, Oct 23, 2008
    #25
  6. Tybor

    abou-

    Joined:
    Oct 9, 2008
    Messages:
    6
    Likes Received:
    0
    have anyone tried rob's solution?
     
    abou-, Nov 17, 2008
    #26
  7. Tybor

    tetrode27

    Joined:
    Oct 23, 2008
    Messages:
    23
    Likes Received:
    0
    Hi Blackhawk,

    I've tried editing my powercenter.desktop file as you suggest, but the Power Center shortcut still doesn't work.
    However, when I enter the command 'dcop kpowersave KPowersaveIface openConfigureDialog' in a terminal window, the kpowersave configuration menu comes up no problem.

    Any ideas?...sorry, I'm still a Linux noob!

    Ken...
     
    tetrode27, Nov 18, 2008
    #27
  8. Tybor

    summerrj

    Joined:
    Sep 11, 2008
    Messages:
    3
    Likes Received:
    0
    Have you rebooted? It definitely does work.

    Rob
     
    summerrj, Nov 18, 2008
    #28
  9. Tybor

    onlineaddy

    Joined:
    Sep 9, 2008
    Messages:
    103
    Likes Received:
    0
    Does the new Power Center update overwrite this newer version of Kpowersave? If so, which works better on the AA1?
     
    onlineaddy, Nov 18, 2008
    #29
  10. Tybor

    tetrode27

    Joined:
    Oct 23, 2008
    Messages:
    23
    Likes Received:
    0
    Hi Rob,

    Yes I have rebooted and the shortcut still doesn't work...I am talking about the shortcut in the xfce menu though as I've done tha chnages to have the 'normal' xfce menu instead of the Acer one...maybe that's the difference?

    Ken...
     
    tetrode27, Nov 19, 2008
    #30
  11. Tybor

    jhedrotten

    Joined:
    Sep 11, 2008
    Messages:
    208
    Likes Received:
    0
    Location:
    Manila, Philippines
    I tried this just this morning and everything was working fine, the shutdown on the panel, the power button, suspend etc.

    I thought I have to edit the file so that the power button would work but when I get there, the file I am supposed to add is already there on the last part of the line so I did not touch it at all. I felt skeptic and tries the power button and it was working.

    So basically, I just downloaded it via the yumdownloader and forced install the rpm and everything works fine out of the box, with no problems and minus the tweaking, aside from setting up my preferences. I wonder if what I got is some sort of a new version? By the way, thanks a lot Tybor, this is extremely useful.
     
    jhedrotten, Nov 19, 2008
    #31
  12. Tybor

    reglof

    Joined:
    Oct 31, 2008
    Messages:
    60
    Likes Received:
    0
    I followed the instructions in this thread too to install the full blown kpowersave.
    It installed and runs fine, however, I noticed that it cant play any sounds.
    Sound on my AAO is basically OK (plays well on VLC and youtube) but kpowersave cant play .ogg or .wav files.
    Any ideas what it could be? Do I need to install a separate package?
     
    reglof, Dec 24, 2008
    #32
  13. Tybor

    speekergeek

    Joined:
    Jul 17, 2008
    Messages:
    76
    Likes Received:
    0
    mine either, I have been wondering why you cannot use "system sounds"
     
    speekergeek, Dec 25, 2008
    #33
  14. Tybor

    hpfx

    Joined:
    Oct 30, 2008
    Messages:
    35
    Likes Received:
    0
    hello,
    before restoring a backup, I tried updating different stuff,
    and then I directly update Kpowersave with yumex (without taking into account that post, I did not even read it)
    and I was very surprised : everything just worked very well, directly out-of-the-box.
    I didn't need to tweak anythings.
    of course I didn't performed deep test,
    and I finally broke everything by updating fuse and hal (and kernel)...

    but when I read now your post, I'm septical...
    do we still need to perform all these action you mention ? maybe it's outdated with new package ?

    does anybody else did perform such update before reading that post ?

    The problem is I've now customized a lot and I don't want to perform tests again.
     
    hpfx, Dec 26, 2008
    #34
  15. Tybor

    Tybor

    Joined:
    Jul 11, 2008
    Messages:
    62
    Likes Received:
    0
    Location:
    Austria
    Hi hpfx,

    Your "all these actions" are 3 simple commands. First one is to update your repository config, Second downloads the newest kpowersave package and last one installs this package via rpm. Basically yumex does the same but will probably complain about dependencies.

    So to answer your questions: Yes; No; Perhaps

    gr33tz,
    Tybor
     
    Tybor, Dec 27, 2008
    #35
  16. Tybor

    psilo357

    Joined:
    Dec 30, 2008
    Messages:
    2
    Likes Received:
    0
    I read in this thread that some people get ~3 hrs after updating Kpowersave and changing some settings...What settings are you guys using. I can only get it to about 2 hours 15 mins max.

    thanks
     
    psilo357, Jan 3, 2009
    #36
  17. Tybor

    reglof

    Joined:
    Oct 31, 2008
    Messages:
    60
    Likes Received:
    0
    Same question here, I dont get those 3 hrs.
    I keep getting something around 2.5 hrs with and without kopwersave described here.
     
    reglof, Jan 3, 2009
    #37
  18. Tybor

    woodland

    Joined:
    Dec 14, 2008
    Messages:
    118
    Likes Received:
    0
    Location:
    Malta (but Dutch)
    Hi Tybor,

    Thanks for your hard work and sharing.
    I've got a few questions, sorry to bother you but i don't want to wreck my new gadget.

    in your first post you're talking about the new fedora-release 8-6 package
    Are you referring to, already installed on my system:
    fedora-release - 8-6 transition.noarch? (Question.1)

    when i check package manager for yum-utils i find 2 "Available' packages:
    yum-utils - 1.1.8.1.fc8.noarch
    yum-utils - 1.1.17-1.fc8.noarch
    Which one do i need, if any of these (Question.2)

    Another check in package manager gives me as "Installed "
    kpowersave - 0.7.3-2.9.noS4.lp.i386
    i can find no "Available" kpowersave packages (Question.3)

    In one of your last post on 27 Dec 2008 17:42 you say
    Somewhere i'm getting lost in your explanation.
    As far as i am aware i haven't updated my repositories. and to be honest i don't understand where that updating takes place... i guess, based on the quote above, by issuing the command:
    sudo yum install fedora-release yum-utils, (Am i right?) (Question.4)

    I have Linpus Linux Lite v1.015.E, would that account for my confusion?(Question.5)

    Sorry for all the reading material..and questions

    Regards,
    woodland
     
    woodland, Jan 4, 2009
    #38
  19. Tybor

    armitage shanks

    Joined:
    Dec 20, 2008
    Messages:
    31
    Likes Received:
    0
    Thanks works perfectly!
     
    armitage shanks, Jan 4, 2009
    #39
  20. Tybor

    Tybor

    Joined:
    Jul 11, 2008
    Messages:
    62
    Likes Received:
    0
    Location:
    Austria
    To get about 3hrs you have to set the CPU Frequency Setting to "Energy saving" (sry don't know exact english names, I'm using german), so the CPU stays at 800MHz in Battery mode. Next the time is measured without active WLAN! This is important becasue WLAN consumes a lot of power.

    So to woodlands questions:
    Q1: Looks like it, so yes.
    Q2: One is installed on your system, the other one is the actual package, you need most recent one (1.1.17)
    Q3: see quick guide
    Q4: yes
    Q5: might be, dunno this version.

    quick guide:
    You don't need to have any concerns about messing up your gadget. This HowTo is used by several ppl all having no problems.
    To clarify instructions, you only have to open a terminal (press Alt+F2; type terminal; Run) and execute the 3 commands one after the other.
    • The 1. updates your repository and installs yumdownloader.[/*:3w3rgm1t]
    • The 2. downloads most recent kpowersave package.[/*:3w3rgm1t]
    • The 3. installs the previously downloaded kpowersave package.[/*:3w3rgm1t]

    gr33tz,
    Tybor
     
    Tybor, Jan 4, 2009
    #40
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.