summaryrefslogtreecommitdiff
path: root/usr.sbin/apm/apm.c
AgeCommit message (Expand)Author
2014-10-17remove -C from usage();Jason McIntyre
2012-07-11improve messages for suspend/hibernateTheo de Raadt
2012-03-30document ZZZ; ok deraadtJason McIntyre
2012-03-26Add hibernate request support. Also installs a ZZZ binary for theTheo de Raadt
2009-10-30when used with incorrect flags, zzz(8) should call zzusage(void)Igor Sobrado
2006-06-11change "apmd not running" to "cannot connect to apmd" in error messageNikolay Sturm
2006-05-10fail zzz w/ a reasonable error msg if apmd is not running; found by deraadt@Michael Shalayeff
2006-04-12If /dev/apm does not respond, use a fake (pre-built) response packetTheo de Raadt
2006-03-15consistently use power *states* and performance *modes*Nikolay Sturm
2006-03-06failure to connect to apmd socket -- get status from the /dev/apm directlyMichael Shalayeff
2006-02-26spacing; from ray laiJason McIntyre
2006-01-28be less verbose:Nikolay Sturm
2006-01-19prompted by deraadt:Nikolay Sturm
2005-12-02sync to usage in man pageTheo de Raadt
2005-12-02Modify automatic performance adjustment mode so that the cpu is setBob Beck
2005-11-23permit apmd to run on systems without apm supportNikolay Sturm
2005-11-15sync usage() w/ man page;Jason McIntyre
2005-03-30spacingTheo de Raadt
2005-03-29Allow an apm implementation to return -1 in the minutes_left field of theMiod Vallat
2003-07-30indents; jfb okTheo de Raadt
2003-06-11some ansification, some de-registerTheo de Raadt
2002-09-06put some code after default:Theo de Raadt
2001-11-14On macppc, print the recharge time estimate as a recharge time estimate, notMiod Vallat
2001-07-06cleanup and knfMichael Shalayeff
2001-07-05remove -d, fix manual, document -s option; mostly from Kevin Steves <stevesk@...Michael Shalayeff
1998-10-29provide an option to retreive battery life estimate in minutesMichael Shalayeff
1997-09-12Kill extra newline in err()/warn().Todd C. Miller
1996-04-29Pull in John Kohl's most recent (15Apr96) APM and PCMCIA workhvozda