From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#11269: battery.el does not display remaining time when using sysfs Date: Fri, 20 Apr 2012 15:32:39 +0800 Message-ID: <87ty0eeu3s.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1334907241 1548 80.91.229.3 (20 Apr 2012 07:34:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 20 Apr 2012 07:34:01 +0000 (UTC) Cc: 11269@debbugs.gnu.org To: Dan Nicolaescu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 20 09:34:00 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SL8Lt-0002cr-EZ for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Apr 2012 09:33:57 +0200 Original-Received: from localhost ([::1]:40598 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SL8Ls-0007LY-Ry for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Apr 2012 03:33:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SL8Ll-0007KY-M3 for bug-gnu-emacs@gnu.org; Fri, 20 Apr 2012 03:33:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SL8Lb-0005uT-LH for bug-gnu-emacs@gnu.org; Fri, 20 Apr 2012 03:33:49 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42352) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SL8Lb-0005uM-IA for bug-gnu-emacs@gnu.org; Fri, 20 Apr 2012 03:33:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SL8Ly-0003xd-5f for bug-gnu-emacs@gnu.org; Fri, 20 Apr 2012 03:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Apr 2012 07:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11269 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 11269-submit@debbugs.gnu.org id=B11269.133490719315150 (code B ref 11269); Fri, 20 Apr 2012 07:34:02 +0000 Original-Received: (at 11269) by debbugs.gnu.org; 20 Apr 2012 07:33:13 +0000 Original-Received: from localhost ([127.0.0.1]:43383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SL8LB-0003wJ-2g for submit@debbugs.gnu.org; Fri, 20 Apr 2012 03:33:13 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:49386 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SL8L8-0003wA-W2 for 11269@debbugs.gnu.org; Fri, 20 Apr 2012 03:33:11 -0400 Original-Received: from [155.69.18.143] (port=50404 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SL8Kk-0005iE-CT; Fri, 20 Apr 2012 03:32:46 -0400 In-Reply-To: (Dan Nicolaescu's message of "Wed, 18 Apr 2012 02:37:21 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:59294 Archived-At: Dan Nicolaescu writes: > That info displayed by default now is not very useful because it does > not include "remaining time" like all the other backends do. > I think this might be considered a regression, the display was more > useful in the previous version than it is now. > > Here's a fix for that, and fix for the charge in a system with 2 > batteries, when one of them is not in use. > Please check this in the appropriate place. Thanks, committed to emacs-24.