APMD-List:
Archives

  
Back

to

APMD

Home

      Index: [thread] [date] [subject] [author]
  From: Avery Pennarun <apenwarr@worldvisions.ca>
  To  : Adam Di Carlo <apharris@burrito.onshore.com>
<apmd-list@worldvisions.ca> Date: Sat, 14 Nov 1998 02:46:22 -0500

Re: spinning down faster when on battery

On Sat, Nov 14, 1998 at 02:06:08AM -0500, Adam Di Carlo wrote:

> I'd really like to tweak the hard drive spindown so that when I'm on
> battery, it spins down much quicker; but when I'm plugged into the
> wall, quick spin down is only shortening my hard drive life!
> 
> I saw bdflush was mentioned before.  Is this the recommended way to
> deal with this?  Does it understand apm and whether the battery is
> charging or not?

bdflush makes the spindown feature work much better than normal -- you
should try it.

But it won't let you change options depending on whether you're on wall or
battery power... at least, not that I know of.  apmd should run a command
when you connect or disconnect the power, just like it does when you suspend
or resume.  Currently that's not supported, but it would be pretty easy to
add.

I don't have time to write it myself, but I'm accepting patches for it, as
well as for a better, centralized "dispatch script" (see the list archives
for details).

Have fun,

Avery


Index: [thread] [date] [subject] [author]


Write to me! apenwarr@worldvisions.ca