[Pkg-xfce-devel] Bug#714660: Bug#714660: xfce4-power-manager: Unchecked "Spin down hard disks" but hard disk still spins down

Chris Bainbridge chris.bainbridge at gmail.com
Mon Jul 1 20:46:19 UTC 2013


On 1 July 2013 21:26, Yves-Alexis Perez <corsac at debian.org> wrote:
> On lun., 2013-07-01 at 20:48 +0100, Chris Bainbridge wrote:
>> > Is the AC plugged when you check? Also, check if laptop-mode or other
>> > tool doesn't interfere here.
>>
>> With AC all is fine and the drive does not spin down. On battery it
>> spins down. laptop-mode-tools is not installed.
>>
>> The problem seems to be interaction with pm-utils: from
>> /var/log/pm-powersave.log I see that when I unplug AC pm-utils
>> immediately runs /usr/lib/pm-utils/power.d/95hdparm-apm, which sets
>> "APM_level = 127" on /dev/sda.
>>
>> xfce4-power-manager depends on upower which depends on pm-utils, so
>> this isn't some unusual package interaction, these packages are always
>> going to be installed together.
>
> Yeah well, there's not much we can do unfortunately. We need upower (not
> pm-utils) and we can't really edit pm-utils files. It should be possible
> to disable disk spin down in pm-utils manually.
>
> The checkbox in xfpm is only about what xfpm does.

Yes but how is the checkbox supposed to work? There's no point in xfpm
having the checkbox if it doesn't work. Is it possible for pm-utils to
co-exist with other power managers? How do other desktop power
managers override/control pm-utils? Should upower have the depend on
pm-utils removed, and then add a conflict between pm-utils and
xfce-power-manager?



More information about the Pkg-xfce-devel mailing list