> On 28. May 2022, at 16:31, Jan Stary <h...@stare.cz> wrote:
> 
> On May 28 10:34:35, s...@spacehopper.org wrote:
>> On 2022/05/28 06:52, Jason McIntyre wrote:
>>> 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 ...
>> 
>> They certainly can be, either while on external power, or in the case of
>> machines with multiple batteries (several generations of X series ThinkPads
>> have both internal and external batteries, so you can swap without powering
>> down even while on battery power). But yes the common case would be
>> external power.
>> 
>>>> (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).
>> 
>> Why be inaccurate when we don't need to be - it's very uncommon to have
>> a machine with a battery with an AC input. "External power" would make
>> more sense.
> 
> I never liked the AC nomenclature either;

Me neither, but I believe this may have originated in the
APM specification which talks about "AC line status” for i.e.
"Get Power Status” function.  Seems like it went from
specification into code (see machine/apmvar.h) and then
into documentation/man page.

> it's battery vs wall socket, not AC vs DC.
> Feel free to change the wording of course.




Reply via email to