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
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