Package: acpid Version: 1:2.0.25-1
There are next lines in powerbtn.sh
PMS="$PMS guidance-power-manager.py dalston-power-applet"
if pidof x $PMS > /dev/null; then
It's obvious last line should be "if pidof -x $PMS..." because
$PMS contains guidance-power-manager.py which is a script
and -x option of pidof means
-x Scripts too - this causes the program to also return
process id's of shells running the named scripts.
Somebody missed dash('-') before 'x'

