Ok. The versions from the above PPA do not see to work for me on my scenario; specifially if you suspend with AC power and then remove the power while suspended you get a double suspend:
apw@penfold:~$ dpkg -l | grep kit-power
ii devicekit-power 011-1ubuntu1 abstraction for power
ii libdevkit-power-gobject1 011-1ubuntu1 abstraction for power
As per comment #13/#14 I have reproduced this with gnome-power-manager debugging turned on and am attaching the gpm.log, note that this does report two suspends:
- suspending, reason: The lid has been closed on ac power.
- suspending, reason: The lid has been closed, and the ac adapter removed (and gconf is okay).
Ok. The versions from the above PPA do not see to work for me on my scenario; specifially if you suspend with AC power and then remove the power while suspended you get a double suspend:
apw@penfold:~$ dpkg -l | grep kit-power power-gobject1 011-1ubuntu1 abstraction for power
ii devicekit-power 011-1ubuntu1 abstraction for power
ii libdevkit-
As per comment #13/#14 I have reproduced this with gnome-power-manager debugging turned on and am attaching the gpm.log, note that this does report two suspends:
- suspending, reason: The lid has been closed on ac power.
- suspending, reason: The lid has been closed, and the ac adapter removed (and gconf is okay).