GNU bug report logs - #10332
battery.el not working when multiple batteries are present

Previous Next

Package: emacs;

Reported by: Dan Nicolaescu <dann <at> gnu.org>

Date: Mon, 19 Dec 2011 22:38:02 UTC

Severity: normal

Tags: fixed, patch

Fixed in version 24.2

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 10332 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Dan Nicolaescu <dann <at> gnu.org>
Cc: 10332 <at> debbugs.gnu.org
Subject: Re: bug#10332: battery.el not working when multiple batteries are
	present
Date: Wed, 11 Apr 2012 01:25:11 +0200
Dan Nicolaescu <dann <at> gnu.org> 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/




This bug report was last modified 13 years and 47 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.