From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] battery.el Retrieve more information from sysfs Date: Thu, 22 Dec 2011 17:52:40 -0500 Message-ID: References: <87r50190eb.fsf@Apollo.jerryland.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1324594370 30968 80.91.229.12 (22 Dec 2011 22:52:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 22 Dec 2011 22:52:50 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?iso-8859-1?Q?J=E9r=E9my?= Compostella Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 22 23:52:46 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RdrVG-0007Q5-BD for ged-emacs-devel@m.gmane.org; Thu, 22 Dec 2011 23:52:46 +0100 Original-Received: from localhost ([::1]:51459 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdrVF-00029l-U2 for ged-emacs-devel@m.gmane.org; Thu, 22 Dec 2011 17:52:45 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:38429) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdrVD-00029f-6S for emacs-devel@gnu.org; Thu, 22 Dec 2011 17:52:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RdrVC-0008Sr-8R for emacs-devel@gnu.org; Thu, 22 Dec 2011 17:52:43 -0500 Original-Received: from smtp-03.vtx.ch ([194.38.175.92]:42049) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdrVC-0008Sl-3Z for emacs-devel@gnu.org; Thu, 22 Dec 2011 17:52:42 -0500 Original-Received: from ceviche.home (dyn.144-85-141-078.dsl.vtx.ch [144.85.141.78]) by smtp-03.vtx.ch (VTX Services SA) with ESMTP id 66CFD29766B; Thu, 22 Dec 2011 23:52:40 +0100 (CET) Original-Received: by ceviche.home (Postfix, from userid 20848) id 388BB660D5; Thu, 22 Dec 2011 17:52:40 -0500 (EST) In-Reply-To: <87r50190eb.fsf@Apollo.jerryland.fr> (=?iso-8859-1?Q?=22J=E9r?= =?iso-8859-1?Q?=E9my?= Compostella"'s message of "Sun, 18 Dec 2011 19:53:48 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 194.38.175.92 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146928 Archived-At: > The issue is that with the 2.6.32 kernel from Debian for this laptop I > do not have the /proc/acpi/battery part. However, the sysfs is able to > report all the data I need. The current Emacs battery module is not able > to retrieve the information I need from sysfs but it does from > /proc/acpi/battery. So I made a small evolution to enable the following: Thanks, I installed it with a few cosmetic changes, Stefan