diff -u laptop-mode-tools-1.47/debian/changelog laptop-mode-tools-1.47/debian/changelog --- laptop-mode-tools-1.47/debian/changelog +++ laptop-mode-tools-1.47/debian/changelog @@ -1,3 +1,11 @@ +laptop-mode-tools (1.47-1ubuntu3) karmic; urgency=low + + * modules/battery-level-polling: use pidof -x to avoid spawning + on every restart (LP: #371525), taken from upstream + lp:~laptop-mode-tools-dev/laptop-mode-tools/main/revision/142 + + -- Tormod Volden Thu, 22 Oct 2009 23:48:04 +0200 + laptop-mode-tools (1.47-1ubuntu2) karmic; urgency=low * debian/rules: do not ship obsolete and broken only in patch2: unchanged: --- laptop-mode-tools-1.47.orig/usr/share/laptop-mode-tools/modules/battery-level-polling +++ laptop-mode-tools-1.47/usr/share/laptop-mode-tools/modules/battery-level-polling @@ -11,7 +11,7 @@ # In AC mode we disable the polling daemon. killall -q lm-polling-daemon else - if ! pidof lm-polling-daemon ; then + if ! pidof -x lm-polling-daemon ; then $LM_VERBOSE && echo "On battery and there was no polling daemon yet, starting the polling daemon." >> $OUTPUT # If there is no polling daemon, we start one.