On Fri, May 27, 2022 at 07:19:37PM +0200, Jan Stary wrote:
> apmd says:
> 
>   When the power status changes (battery is connected or disconnected),
>   apmd fetches the current status and reports it via syslog(3)
>   with logging facility LOG_DAEMON.
> 
> Is "battery" really meant here?  Should that be the AC power?
> Batteries are typically not being reconnected while running ...
> 
> (The manpage calls it "external power", "line current"
> and "AC" interchangably.)
> 
>       Jan
> 

hi.

i think you're right that the text is off. the author possibly meant to
say battery was charging or discharging.

anyway, if i don;t hear any reason not to soon, i'll commit your
suggested diff (which i think is simpler and makes sense).

jmc

> 
> 
> Index: apmd.8
> ===================================================================
> RCS file: /cvs/src/usr.sbin/apmd/apmd.8,v
> retrieving revision 1.54
> diff -u -p -r1.54 apmd.8
> --- apmd.8    31 Mar 2022 17:27:29 -0000      1.54
> +++ apmd.8    27 May 2022 17:13:52 -0000
> @@ -58,7 +58,7 @@ When resuming after suspend or standby,
>  runs the appropriate configuration program (if one exists).
>  .Pp
>  When the power status changes
> -(battery is connected or disconnected),
> +(AC is connected or disconnected),
>  .Nm
>  fetches the current status and reports it via
>  .Xr syslog 3
> 

Reply via email to