Announcement

Collapse
No announcement yet.

how to modify the behavior of KubuntuPowerManagement

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    how to modify the behavior of KubuntuPowerManagement

    Hello,
    I am running kubuntu 7.10 on my asus laptop.
    When the battery drops below the critical threshold,
    it suspends properly and--if I plug the adapter in--it
    resumes properly too. This is good.
    Unfortunately I work very often remotely, and each time
    the laptop does a suspend/resume, I loose the ssh
    connections and my remote work. What I would like to
    do is simply to add a little delay between the notification
    "battery low" and the actual suspension. A warning sound
    and a delay would be even better...it would just give me the time
    to plug in the adapter before the laptop suspends...
    I tried to add some
    time.sleep(nsec)
    into
    guidance-power-manager.py
    (precisely at the lines 969 and 978, within PowerManager.checkBatteryCritical() ), but it doesn't work.
    Please could anybody help me?

    Thank you very much in advance!
    Cheers,

    davide

    #2
    Re: how to modify the behavior of KubuntuPowerManagement

    Good point. I also find this lack of notification annoying (and new it is, too). Unfortunately I don't know the solution but will watch this thread
    Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

    Comment

    Working...
    X