[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.launchpad.net/bugs/1513564

Title:
  resumes from suspend if AC unplugged

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xfce4-power-manager/+bug/1513564/+subscriptions

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

[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)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1513564

Title:
  resumes from suspend if AC unplugged

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xfce4-power-manager/+bug/1513564/+subscriptions

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

[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   ALL = NOPASSWD: /usr/sbin/pm-suspend

in visudo.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1513564

Title:
  resumes from suspend if AC unplugged

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xfce4-power-manager/+bug/1513564/+subscriptions

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