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
Created attachment 177475 [details] emerge --info
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?
(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
(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
(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.
@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?
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.
Added message to let users know that gnome-extra/gnome-screensaver is needed for suspend/hibernate-on-idle.