Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253867 - gnome-extra/gnome-power-manager-2.22.1 fails to hibernate when machine is idle
Summary: gnome-extra/gnome-power-manager-2.22.1 fails to hibernate when machine is idle
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-05 15:54 UTC by Zsolti
Modified: 2009-02-07 16:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info.log,4.08 KB, text/plain)
2009-01-05 15:56 UTC, Zsolti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zsolti 2009-01-05 15:54:33 UTC
gnome-extra/gnome-power-manager-2.22.1 machine doesn't go into sleep mode when idle. screen is on. backlight is on. see seperate bugreport for this. it just stays on and sucks the battery. 

Reproducible: Always

Steps to Reproduce:
1.install gnome-power-manager
2.wait
3.

Actual Results:  
nothing happens

Expected Results:  
goes into sleep mode.

machine is macbook rev.2. with Intel Corporation Mobile 945GM/GMS, 943/940GML graphics controller.
xorg-server-1.5.3
Comment 1 Zsolti 2009-01-05 15:56:16 UTC
Created attachment 177475 [details]
emerge --info
Comment 2 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-01-07 19:57:34 UTC
How do you define "sleep mode"?  Do you mean actually suspending?  What settings do you have in g-p-m for On Battery Power?  Did you emerge hal with the laptop USE flag?
Comment 3 Zsolti 2009-01-08 13:40:29 UTC
(In reply to comment #2)
> How do you define "sleep mode"?  Do you mean actually suspending?  
yepp, i mean suspend to disk or suspend to ram
What
> settings do you have in g-p-m for On Battery Power?  Did you emerge hal with
> the laptop USE flag?
no i didn't. i'll try with the laptop useflag on for hal

Comment 4 Zsolti 2009-01-08 15:52:54 UTC
(In reply to comment #2)
> How do you define "sleep mode"?  Do you mean actually suspending?  What
> settings do you have in g-p-m for On Battery Power?  Did you emerge hal with
> the laptop USE flag?
> 

ok now, i emerged hal with the laptop useflag at least backlight off seems to work now but suspend when idle not
timeout settings for g-p-m on battery is:
sleep_computer_battery 840
sleep_display_battery 300
Comment 5 Zsolti 2009-01-08 23:29:39 UTC
(In reply to comment #4)
> (In reply to comment #2)
> > How do you define "sleep mode"?  Do you mean actually suspending?  What
> > settings do you have in g-p-m for On Battery Power?  Did you emerge hal with
> > the laptop USE flag?
> > 
> 
> ok now, i emerged hal with the laptop useflag at least backlight off seems to
> work now but suspend when idle not
> timeout settings for g-p-m on battery is:
> sleep_computer_battery 840
> sleep_display_battery 300
> 

emerging gentoo-screensaver solved it. it should be a dependency or useflag for this package.
Comment 6 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-01-31 21:58:34 UTC
@gnome: that's an interesting point.  Right now, session idle time is only tracked by gnome-screensaver, so no "foo on idle timeout" features will work without it.  Should g-p-m have an (optional?) dep on gnome-screensaver?
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-01-31 23:22:13 UTC
that's the same question we have to solve for packaging depending on a dbus service provider. For now pure runtime deps like this are not represented in ebuild or with sucky PDEPEND that often fails because there is a constant variation in the set of dependency that satifsy this. I say an info is good enough for now and suggested deps would be a better alternative in the future if portage ever implements it.
Comment 8 Arun Raghavan (RETIRED) gentoo-dev 2009-02-07 16:13:06 UTC
Added message to let users know that gnome-extra/gnome-screensaver is needed for suspend/hibernate-on-idle.