On Sat, May 28, 2022 at 10:34:35AM +0100, Stuart Henderson 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 have to say, i don;t understand the distinction. i thought a
laptop was "a machine with a battery with an AC input" (or, at
least, *and* an AC input). however i committed a diff with your
text ("external power") knowing that you are undoubtedly correct ;)

jmc

Reply via email to