Comment 29 for bug 33072

Revision history for this message
Christian Holtje (docwhat) wrote :

I have what seems to be a the same problem:
I have g-p-m configured suchly:
  On AC: When Lid is Closed: Hibernate
  On Battery: When Lid is Closed: Hibernate

I have suspended my laptop successfully by closing the lid.
If I do the following:
  plug in power
  resume
  pull power
THEN it hibernates (full battery)

However, I cannot get the same behaviour by doing this:
  unplug power
  resume
  plug in power

Changing "On Battery: When Lid is Closed" to "Nothing" causes this
behaviour:
  plug in power
  resume
  pull power
THEN it does nothing.

I tried the fixes mentioned by Richard Hughes at
http://live.gnome.org/GnomePowerManager/Faq the item called "My laptop suspended when I didn't expect it to when I removed the
power cord!"

Versions:
 hal 0.5.7-1ubuntu11
 power-manager 0.1.1-2
 gnome-power-manager 2.14.3-0ubuntu1

I'm willing to play around with this. I thought I grokked the acpi/acpid packages, but what hal and dbus are doing, I don't understand.

Ciao!