![]() |
APMD-List: |
to APMD Home
|
Index:
[thread]
[date]
[subject]
[author]
From: Avery Pennarun <apenwarr@worldvisions.ca> To : Seth Golub <seth@thehouse.org> Re: apmd feature requestOn Fri, May 07, 1999 at 12:44:44PM -0700, Seth Golub wrote: > I'd like apmd to be able to run arbitrary commands when the laptop > switches to and from battery power. > > I see a couple messages from Craig Markwardt in the list archives > proposing a more powerful scheme, but it's now a year later and no one > has implemented it, so perhaps this more modest approach would be best. > > While it would be nice to be able to control my BIOS's power > management settings based on whether it's plugged in, I don't even > know how to change those things at runtime at all. > > All I plan to do is change the runlevel based on whether I'm on > battery, so I can have certain processes (bovine client) run only when > I have unlimited power. The latest version of apmd has someone's patch to do this, I think. Feel free to check it out. Boy, I sure hope I actually released that one. I'm going TOTALLY bonkers with work this week! Have fun, Avery Index: [thread] [date] [subject] [author] |