On Feb 10 16:33:20, [email protected] wrote:
> (Thu, 10 Feb 14:59) Jan Stary:
> > With the recent change to apm -m,
> > reporting either the battery lifetime
> > or the estimated time to charge (thank you),
> > the manpage seems to have been left behind.
> >
> > While here, tweak some of the wording:
> >
> > - "in minutes" or "in percent" is not parenthetical; say it explicitly
> > - surely -a displays the charger status, not the charger
> > - AC is AC, not A/C, right?
> > -Display the estimated battery lifetime (in minutes).
> > +Display the estimated battery lifetime in minutes when running or battery,
>
> typo:
> running or battery => running on battery
Thanks, new diff below.
Jan
Index: apm.8
===================================================================
RCS file: /cvs/src/usr.sbin/apm/apm.8,v
retrieving revision 1.44
diff -u -p -r1.44 apm.8
--- apm.8 3 Nov 2021 19:54:28 -0000 1.44
+++ apm.8 10 Feb 2022 13:52:38 -0000
@@ -59,7 +59,7 @@ The options are as follows:
.It Fl A
Switch to automatic performance adjustment mode (the default).
.It Fl a
-Display the external charger (A/C status).
+Display the external charger (AC) status.
0 means disconnected, 1
means connected, 2 means backup power source, and 255 means unknown.
.It Fl b
@@ -82,9 +82,10 @@ setting
.Va hw.setperf
to 0.
.It Fl l
-Display the estimated battery lifetime (in percent).
+Display the estimated battery lifetime in percent.
.It Fl m
-Display the estimated battery lifetime (in minutes).
+Display the estimated battery lifetime in minutes when running on battery,
+or the estimated time to recharge when running on an external charger.
.It Fl P
Display the performance adjustment mode.
0 means manual mode.