[Pkg-utopia-maintainers] Bug#728035: upower: Suspend problem when laptop lid closed

Saint Germain saintger at gmail.com
Mon Oct 28 22:10:31 UTC 2013


Here is the output of upower:
Daemon:
  daemon-version:  0.9.23
  can-suspend:     yes
  can-hibernate:   yes
  on-battery:      no
  on-low-battery:  no
  lid-is-closed:   no
  lid-is-present:  yes
  is-docked:       yes

However I have no docking station, nor any external display connected.
So maybe the problem is in the "is-docked".

It may be related to these bugs:
https://bugs.freedesktop.org/show_bug.cgi?id=36818
https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/863834

Changing the value of PollDockDevices in /etc/UPower/UPower.conf has no
effect.

Workaround suggested here:
https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/863834/comments/30
Works if you replace /etc/acpi/local/lid.sh.post
by /etc/acpi/local/lid.sh.pre.

Indeed the script /etc/acpi/lid.sh exit at the line CheckPolicy because
it always return 0, so I cannot use post condition.

Regards,



More information about the Pkg-utopia-maintainers mailing list