At 13:23 2003-01-23, Alex Polite wrote:

I have apm + apmd installed on my notebook. I can successfully "apm -s"
from command line and resume by pressing the power on button.

I want the system to automatically suspend when x minutes of battery
time remain.

Check this page for 'swsusp'.
http://fchabaud.free.fr/English/default.php3?COUNT=3&FILE0=Tricks&FILE1=Laptop&FILE2=Swsusp
There are some scripts to dl there that shuts down/suspends the machine according to battery status. I haven't tried them myself yet, but it can be worth lookin at.

Perhaps this only works with acpi, not sure...

//Ivar
--
*********************************************************************
Ivar Alm ! Where does Microsoft want to drag you today? !
Ume�, Sweden ! Do you really want to go there? !
[EMAIL PROTECTED] ************************************************
http://www.octofingers.com


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to