Hello,I've set xfce4-power-manager to sleep when the lid is closed, no matter whether I'm on AC or battery. The problem is that it doesn't work. Strangely, though, if I close the lid when on AC (resp. battery), reopen it and go on battery (resp. AC), the computer goes to sleep, and restarts immediately since the lid is open.
I've removed gnome-power-manager, but to no avail. Any idea? Best, Paul