I am using 10.10 too and had a contact failure in the cable between my laptop 
and my charger which seemd like the AC adapter was disconnected and connected 
back very rapidly and very frequently. I've fixed the cable but still, every 
time I unplug and plug back the AC adapter gnome-power-manager's RSS goes up 
(about 200k), also the RSS goes upwhen the battery finishes charging.
I'm not sure what the normal memory usage of gnome-power-manager should be but 
before I fixed the cable gnome-power-manager consumed all my 4GB RAM in under 3 
hours which was horrible. My workaround is that I restart gnome-power-manager 
every 15 minutes using a cronjob. The script is very simple, I copy here in 
case anyone needs a workaround until the bug is fixed:

--- CUT HERE ---
#!/bin/sh

export DISPLAY=:0
killall -q gnome-power-manager
gnome-power-manager >/dev/null 2>&1 &
--- CUT HERE ---

Save the text between the CUT HERE markers into a file, for example 
/usr/local/bin/gpmrestart, then type into a terminal
crontab -e
and enter this line:
*/15 * * * * /usr/local/bin/gpmrestart

This workaround seems not to have any sideeffect (except that the
battery icon flickers every 15 minutes), I've been using it for several
months.

One detail I forgot to mention: I have uninstalled indicator-applet
right after I installed/upgraded my linux (because I see no reason to
use it).

-- 
memory leak in gnome-power-manager
https://bugs.launchpad.net/bugs/569273
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to