[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Automatically suspend when X minutes battery time remain.



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?              !
ivar@octofingers.com ************************************************
http://www.octofingers.com



Reply to: