Public bug reported:

Binary package hint: gnome-power-manager

This looks like bugs 66126 or 31967; however both are quite old bugs
marked as "fix released" a long time ago. So I guess this is a
regression of one or the other...

Settings are
On AC Power, lid-closed should go to Blank Screen.
On Battery, lid-closed should suspend.

So on AC power, I close the lid. It goes to blank screen.

Later, I unplug the power. It should go to suspend, but it doesn't. It
remains on blank-screen until the lid is opened and the screen woken up,
then closed again.

Maybe problem is you're watching for transition events rather than
having a state machine? After all, no new lid-closed event would have
happened when the power was removed. So it's looking for the *event*
"lid closing" rather than the *state* "lid is closed". Surely it should
go: "Something changed. State is now: battery power, lid closed,
therefore I need to suspend".

(for values of "you" that are probably upstream, I guess. :-) )

ProblemType: Bug
Architecture: i386
Date: Sun Oct  4 23:12:07 2009
DistroRelease: Ubuntu 9.10
Package: gnome-power-manager 2.28.0-0ubuntu1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.38-generic
SourcePackage: gnome-power-manager
Tags:  ubuntu-unr
Uname: Linux 2.6.31-11-generic i686
XsessionErrors:
 (gnome-settings-daemon:1663): GLib-CRITICAL **: g_propagate_error: assertion 
`src != NULL' failed
 (gnome-settings-daemon:1663): GLib-CRITICAL **: g_propagate_error: assertion 
`src != NULL' failed
 (nautilus:1721): Eel-CRITICAL **: eel_preferences_get_boolean: assertion 
`preferences_is_initialized ()' failed
 (polkit-gnome-authentication-agent-1:1804): GLib-CRITICAL **: 
g_once_init_leave: assertion `initialization_value != 0' failed
 (netbook-launcher:1724): Clutk-CRITICAL **: ctk_button_focus_activate: 
assertion `CTK_IS_BUTTON (focusable)' failed

** Affects: gnome-power-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 ubuntu-unr

-- 
if laptop lid already closed, doesn't detect when it should suspend when mains 
power removed
https://bugs.launchpad.net/bugs/442634
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

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

Reply via email to