summaryrefslogtreecommitdiff
path: root/usr.sbin/apm/apm.c
AgeCommit message (Collapse)Author
2005-03-30spacingTheo de Raadt
2005-03-29Allow an apm implementation to return -1 in the minutes_left field of theMiod Vallat
apm_power_info struct, if it has no reasonable value to provide. ok deraadt@ mickey@
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
a battery life estimate, when the battery is charging. Also, if the ac switched state and the life time, whatever it will be a life estimate or a recharge estimate, has been reset to zero, print it as not available.
2001-07-06cleanup and knfMichael Shalayeff
2001-07-05remove -d, fix manual, document -s option; mostly from Kevin Steves ↵Michael Shalayeff
<stevesk@pobox.com>
1998-10-29provide an option to retreive battery life estimate in minutesMichael Shalayeff
from Martin Forseen <maf@firedoor.se> some corrections from me.
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
(original PCMCIA framework by Stefan Grefen).