Hard drive power saving

Paul Sladen ubuntu at paul.sladen.org
Thu Feb 16 03:31:33 GMT 2006


On Thu, 16 Feb 2006, Paul Sladen wrote:
> On Thu, 16 Feb 2006, Matthew Garrett wrote:
> > On Thu, Feb 16, 2006 at 02:34:49AM +0000, Paul Sladen wrote:
> > > when back on AC, the disk is still left in spin-down-every-5seconds mode.
> > Can you set -x the power.sh script and see what happens
> Still spins down;  it's the drive spindown, so:

These code paths weren't even getting run, because of:

  $ grep LAPTOP_MODE /etc/default/acpi-support
  ENABLE_LAPTOP_MODE=false

However, I think this is /where/ the values are coming from:

  $ grep -r LM_.*_HD_IDLE_TIMEOUT_SECONDS /etc/laptop-mode/laptop-mode.conf
  LM_AC_HD_IDLE_TIMEOUT_SECONDS=5
  LM_BATT_HD_IDLE_TIMEOUT_SECONDS=5

Just a question of figuring out how /that/ would be called:

  $ dpkg -L laptop-mode-tools | grep \\.d/
  /etc/apm/event.d/laptop-mode
  /etc/power/scripts.d/laptop-mode
  /etc/power/event.d/laptop-mode
  /etc/init.d/laptop-mode

	-Paul
-- 
Britain is just cold, in a pesky way.  Lincoln, GB




More information about the laptop-testing-team mailing list