[Bug 1513564] Re: resumes from suspend if AC unplugged

2018-11-08 Thread Launchpad Bug Tracker
[Expired for xfce4-power-manager (Ubuntu) because there has been no activity for 60 days.] ** Changed in: xfce4-power-manager (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.l

[Bug 1513564] Re: resumes from suspend if AC unplugged

2018-09-09 Thread Theo Linkspfeifer
I do not see how xfce4-power-manager could have any influence on an external event like unplugging the AC adapter. While the system is suspended no kernel or user process is actually running. Were you able to identify the cause of the problem? ** Changed in: xfce4-power-manager (Ubuntu) St

[Bug 1513564] Re: resumes from suspend if AC unplugged

2015-11-10 Thread Kevin Brubeck Unhammer
In case anyone else is affected by this bug, my current workaround is to put this script: #!/bin/bash acpi_listen | while read -r b l s; do if [[ $l = LID ]] && [[ $s = close ]]; then xflock4 sudo pm-suspend fi done in my autostart, and %sudo