Hi Jason, Jason McIntyre wrote on Sat, May 28, 2022 at 05:10:08PM +0100: > 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.) >>> 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 ;) I guess an example for what sthen@ wanted to say is that most laptops have an external power adapter - for example, the one of the machine i'm currently typing on has INPUT: 100-240V~ 1.3A 50-60Hz OUTPUT: 20V= 2.25A printed on it (transforming AC to DC), so the machine itself does *not* have an AC input. Instead, the "external power" the machine receives is already DC. Yours, Ingo