[Mageia-discuss] battery power control and hard disk spin down with mageia 2 (systemd)?

Luca Olivetti luca at ventoso.org
Wed Feb 6 19:17:42 CET 2013


Al 31/01/13 11:07, En/na Luca Olivetti ha escrit:
> Hello,
> 
> I just realized with a new laptop that an old problem is still there:
> when on battery, the hard disk spins down only to awake a few seconds later.
> This isn't healthy for the hard-disk, and in the past I solved it by
> editing laptop-mode settings to lengthen the spin-down timeout.
> Now laptop-mode is gone and I don't know where to look (I googled but I
> only could find outdated or non relevant information, maybe my google-fu
> isn't strong enough, but everything I find about systemd is either
> outdated or plainly not working).
> Where should I look?

Found it.
pm-utils is still there.
I just copied /usr/lib64/pm-utils/power.d/harddrive to /etc/pm/power.d
and modified it with saner values (6 seconds to spin down? WTF? I
changed it to 60).

Bye
-- 
Luca


More information about the Mageia-discuss mailing list