Subject: Re: bug#10332: battery.el not working when multiple batteries are present

From: Lars Magne Ingebrigtsen <[email-masked]>
Date: Wed, 11 Apr 2012 01:25:11 +0200

Dan Nicolaescu <[email-masked]> writes:

> On a machine that has a normal battery and another one that can be put
> in the CD/DVD slot M-x battery does not work when both batteries are
> present.  
>
> Only one battery is discharged at a time, but that seems to confuse
> battery.el when computing `rate-type' for the battery not being
> discharged.

I don't use battery.el, but the patch looks sensible to me, so I've
applied it to the Emacs trunk.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/