After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 524252 - If I pull my AC Power and close my lid, machine never suspends.
If I pull my AC Power and close my lid, machine never suspends.
Status: RESOLVED DUPLICATE of bug 492132
Product: gnome-power-manager
Classification: Deprecated
Component: gnome-power-manager
2.22.x
Other All
: Normal normal
: ---
Assigned To: GNOME Power Manager Maintainer(s)
GNOME Power Manager Maintainer(s)
: 496915 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-03-25 03:54 UTC by Scott Robinson
Modified: 2008-06-02 18:17 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Scott Robinson 2008-03-25 03:54:36 UTC
Please describe the problem:
If I pull my AC Power and close my lid, machine never suspends. Instead, a policy timeout is triggered and my machine eventually runs out of power.

Steps to reproduce:
1. Unplug power.
2. Close lid. (When lid is set to suspend.)


Actual results:


Expected results:


Does this happen every time?


Other information:
This is caused by the following lines in gpm-manager.c:

	/* Don't do any events for a few seconds after we remove the
	 * ac_adapter. See #348201 for details */
	gpm_control_reset_event_time (manager->priv->control);

Which, as #348201 indicates, was long ago fixed upstream.
Comment 1 Scott Robinson 2008-03-25 03:56:09 UTC
*** Bug 496915 has been marked as a duplicate of this bug. ***
Comment 2 Scott Robinson 2008-06-02 18:17:49 UTC

*** This bug has been marked as a duplicate of 492132 ***