This forum has been archived. All content is frozen. Please use KDE Discuss instead.

HDD power management settings

23

Votes
24
1
Tags: powerdevil powerdevil powerdevil
(comma "," separated)
AdeBe
Registered Member
Posts
4
Karma
0
Hi! I have an idea that would be extremely useful for laptop users.
Using the "hdparm -B 254 /dev/sda" and similar options is very annoying when I have to switch from battery to AC (and vice versa).
But it's necessary if I want to save power on battery, or get rid of annoying "clicks" on AC when disk is spinning down and up unnecessarily (which also destroys slowly HDD).

Please add option for setting HDD power management level in each profile, i.e.
four levels of power saving (none, little, medium, aggresive); or let user specify timeout before spin down (i.e. none to 60min.).
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
Well, you can already make Powerdevil execute a script when you change profile.


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
AdeBe
Registered Member
Posts
4
Karma
0
Yes, I know, and I can also use laptop-mode-tools. But from simple user point of view, this is bad solution.

I'd like simple GUI when I can change this. Think about non-advanced users.

Besides, even Windows 98 (!) allowed setting time before disk spindown. It's just so obvious and natural that one of the main power mngmnt options is controlling HDD.
User avatar
grissiom
Registered Member
Posts
49
Karma
0
OS
It will great if powerdevil has this function.


grissiom, proud to be a member of KDE forums since 2008-Oct.
User avatar
Ujjwol
Registered Member
Posts
136
Karma
1
OS
+1 for this....


Ujjwol, proud user of KDE 4 and member of KDE forums since 2008-Oct.
Image
Image
Lukas
Registered Member
Posts
427
Karma
0
There also should be an extra option for external storage devices like external hdd to be able to stop it after some period of time. It is very annoying to go below table to shot down hdd, or play with mount/unmount :(
User avatar
GoolerES
Registered Member
Posts
10
Karma
0
OS
AdeBe wrote:Yes, I know, and I can also use laptop-mode-tools. But from simple user point of view, this is bad solution.

I'd like simple GUI when I can change this. Think about non-advanced users.

Besides, even Windows 98 (!) allowed setting time before disk spindown. It's just so obvious and natural that one of the main power mngmnt options is controlling HDD.


Do you think that a simple user is going to know things like hdparm settings? Also, if he/she doesn't know exactly what is doing, it can be even dangerous for the drive.
AdeBe
Registered Member
Posts
4
Karma
0
GoolerES wrote:Do you think that a simple user is going to know things like hdparm settings? Also, if he/she doesn't know exactly what is doing, it can be even dangerous for the drive.


But I'm not talking about a GUI for hdparm settings! Please read my first post again.
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
AdeBe wrote:Yes, I know, and I can also use laptop-mode-tools. But from simple user point of view, this is bad solution.

I'd like simple GUI when I can change this. Think about non-advanced users.


I'm not saying that the idea is bad, only pointing out that it already is possible. ;-)
Sure, a GUI option for this would be nice.


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
Solid1986Snake
Registered Member
Posts
35
Karma
0
how could it be realised?

I think hdparm needs to be run as root, but powerdevil runs scripts only as user? Am I right?
AdeBe
Registered Member
Posts
4
Karma
0
I think Solid is responsible for such things.
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
Solid1986Snake wrote:how could it be realised?

I think hdparm needs to be run as root, but powerdevil runs scripts only as user? Am I right?


You could add the script to your sudoers file.

Last edited by Hans on Thu Apr 23, 2009 7:16 pm, edited 1 time in total.


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
Solid1986Snake
Registered Member
Posts
35
Karma
0
I thought about that.... but I don't really like this solution... isn't it a little bit unsafe?
Not really sure about that...
drf
KDE Developer
Posts
20
Karma
0
OS
Well, I have fairly nothing against this but one concern, since I don't really know how hdparm internals work.

I heard (could be just some stupid voices) that having the HD spin down, as adebe already told, might damage the HD. A similar thing could be feasible if:

1. It actually saves power/improves performance
2. It is not dangerous, in any possible configuration, for the HD

If those requirements are met, I still need some guidance from some hdparm guru, and if it is doable through HAL that's a bonus point :)
drf
KDE Developer
Posts
20
Karma
0
OS
In any case, PolicyKit solves the "as root" problem. Not really an issue


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]