Well after a couple of weeks of wondering where I went wrong somewhere along the way I created a bash script pointing to pm-suspend (no idea why) the original was calling the command directly
so the whole thing looks like so
feeling sheepish, thanks
Code Select
exec /usr/sbin/pm-suspend
so the whole thing looks like so
Code Select
BAT ${if_existing /sys/class/power_supply/AC0/online 0}${if_match ${battery_percent BAT1} <= 20}${if_match ${battery_percent BAT1} <= 17}${if_match ${battery_percent BAT1} <= 15}${color red}${exec /usr/sbin/pm-suspend}$else${color red}${execi 60 /home/mini/.scripts/criticalbat.py}$endif$else${color
feeling sheepish, thanks