http://bugzilla.novell.com/show_bug.cgi?id=548858
User dominique.leuenberger@tmf-group.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=548858#c4
--- Comment #4 from Dominique Leuenberger 2009-10-22 08:36:55 MDT ---
from gpm-manager.c:
/**
* gpm_manager_get_spindown_timeout:
**/
static guint
gpm_manager_get_spindown_timeout (GpmManager *manager)
{
gboolean enabled;
guint timeout;
/* get policy */
if (!manager->priv->on_battery) {
enabled = gconf_client_get_bool (manager->priv->conf,
GPM_CONF_DISKS_SPINDOWN_ENABLE_AC, NULL);
timeout = gconf_client_get_int (manager->priv->conf,
GPM_CONF_DISKS_SPINDOWN_TIMEOUT_AC, NULL);
} else {
enabled = gconf_client_get_bool (manager->priv->conf,
GPM_CONF_DISKS_SPINDOWN_ENABLE_BATT, NULL);
timeout = gconf_client_get_int (manager->priv->conf,
GPM_CONF_DISKS_SPINDOWN_TIMEOUT_BATT, NULL);
}
if (!enabled)
timeout = 0;
return timeout;
}
The minimum that can be set as such is 1 second. Default (at least it's set
like that on my system, without me ever changing it) is 60.
it would be rather simple here to add a check for a minimum if you think that's
needed.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.