From unknown Thu Aug 14 18:33:20 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#660 <660@debbugs.gnu.org> To: bug#660 <660@debbugs.gnu.org> Subject: Status: mode line does not display battery status Reply-To: bug#660 <660@debbugs.gnu.org> Date: Fri, 15 Aug 2025 01:33:20 +0000 retitle 660 mode line does not display battery status reassign 660 emacs submitter 660 Emre Sahin severity 660 normal thanks From i.emre.sahin@gmail.com Wed Aug 6 12:59:53 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.9 required=4.0 tests=BAYES_00,FOURLA,GMAIL, RCVD_IN_DNSWL_LOW autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 6 Aug 2008 19:59:53 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m76Jxn6v019813 for ; Wed, 6 Aug 2008 12:59:50 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQpAi-00023Q-K8 for bug-gnu-emacs@gnu.org; Wed, 06 Aug 2008 15:59:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQpAc-0001yW-Rn for bug-gnu-emacs@gnu.org; Wed, 06 Aug 2008 15:59:47 -0400 Received: from [199.232.76.173] (port=57886 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQpAc-0001yI-GI for bug-gnu-emacs@gnu.org; Wed, 06 Aug 2008 15:59:42 -0400 Received: from fg-out-1718.google.com ([72.14.220.155]:41575) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQpAc-0000kw-0L for bug-gnu-emacs@gnu.org; Wed, 06 Aug 2008 15:59:42 -0400 Received: by fg-out-1718.google.com with SMTP id l26so44073fgb.30 for ; Wed, 06 Aug 2008 12:59:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:to:subject:from:user-agent :date:message-id:mime-version:content-type:sender; bh=d8o12Q7iq+ls8pFNIjpPhfUXI+4uvJjHSTfUkZLUu2g=; b=MYDNIcPgkkEk53nOP29SVfIAZPmtQL1NgPB+c75YdlD4X3HakDxKz92CrYSTxI32uU iwAgnGTV8Pn3Hmhl3HOKi/kGTVTdYWlgv8UqDHNmKuQ2E13hkV7sjz1Uf1ZUrcAQh18r f0l/WJqLM0TpkFfF1D6mLU88ZNxlEDnqZLd7Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=to:subject:from:user-agent:date:message-id:mime-version :content-type:sender; b=gxXDjXgj9ZKzSi5p14gKbYBK+hDVVrD8vHtVehWn6jR9RyeOGDs68DtIlvnm1u1mSa qYrdOf0X2VgI8UfKwpjJ1VTv1IYDert+62p2XGhJh6x3x42uxzzYqZKZoIhLEOIujvxC 3KlsXOuHEtQ3Ay5oQEyLAK2qSick7TCaTToCo= Received: by 10.103.17.13 with SMTP id u13mr1697031mui.90.1218052779628; Wed, 06 Aug 2008 12:59:39 -0700 (PDT) Received: from leonardo.iesahin.net.emresahin.net ( [81.214.248.165]) by mx.google.com with ESMTPS id i5sm34977812mue.2.2008.08.06.12.59.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 06 Aug 2008 12:59:38 -0700 (PDT) To: bug-gnu-emacs@gnu.org Subject: mode line does not display battery status From: Emre Sahin User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Date: Wed, 06 Aug 2008 22:59:29 +0300 Message-ID: <87r691ewym.fsf@leonardo.iesahin.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Emre Sahin X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Before upgrading my kernel, display-battery-mode was showing the battery status in my mode line. With current kernel it doesn't show. battery.el requires /proc/acpi/battery to detect acpi support but newer kernels does not have this file and battery-status-function variable becomes nil. I asked this to Debian Testing mailing list and they replied that aforementioned file does not exist in newer kernels and battery.el should be upgraded. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/share/emacs/22.2/etc/DEBUG for instructions. In GNU Emacs 22.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2008-07-25 on raven, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.10402000 configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs22:/etc/emacs:/usr/local/share/emacs/22.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.2/leim' '--with-x=yes' '--with-x-toolkit=athena' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 locale-coding-system: utf-8 default-enable-multibyte-characters: t Major mode: Group Minor modes in effect: gnus-undo-mode: t desktop-save-mode: t display-battery-mode: t display-time-mode: t jabber-activity-mode: t jabber-mode-line-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t Recent input: q g 1 0 0 / o 1 0 0 q q 1 0 0 M-> g C-x k q n q g u q c y 2 0 q M-x r e p o r b Recent messages: Fetching headers for nntp+news.gmane.org:gmane.linux.debian.user.testing...done Scoring...done Generating summary...done (No changes need to be saved) Saving /home/iesahin/.newsrc.eld... Saving file /home/iesahin/.newsrc.eld... Wrote /home/iesahin/.newsrc.eld Saving /home/iesahin/.newsrc.eld...done Making completion list... [2 times] Loading emacsbug...done -- I. Emre Sahin @ Ankara, Turkey Software Developer & Consultant @ http://ydyazilim.com Ph.D. Candidate @ http://cs.bilkent.edu.tr Blogger, Writer, Poet @ http://emresahin.net Maybe hears the phone @ +90 532 261 8985 Maybe gtalk (or jabber) @ i.emre.sahin@gmail.com From cyd@stupidchicken.com Wed Aug 6 18:57:20 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.3 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 7 Aug 2008 01:57:20 +0000 Received: from cyd (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m771vHHZ031248 for ; Wed, 6 Aug 2008 18:57:18 -0700 Received: by cyd (Postfix, from userid 1000) id 5523357E17C; Wed, 6 Aug 2008 21:57:16 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: Battery bugs Date: Wed, 06 Aug 2008 21:57:15 -0400 Message-ID: <87ej51d1tw.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii merge 643 660 thanks From cyd@stupidchicken.com Thu Aug 7 10:34:23 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-1.8 required=4.0 tests=AWL,BAYES_05, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 7 Aug 2008 17:34:23 +0000 Received: from cyd (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m77HYK0X023277 for ; Thu, 7 Aug 2008 10:34:21 -0700 Received: by cyd (Postfix, from userid 1000) id 2B20B57E17C; Thu, 7 Aug 2008 13:34:22 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: Bug maintenance Date: Thu, 07 Aug 2008 13:34:21 -0400 Message-ID: <87zlno20gy.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii close 328 tags 455 unreproducible moreinfo tags 535 wontfix close 667 tags 663 patch severity 663 wishlist close 649 close 650 close 654 close 658 close 661 merge 643 660 close 662 thanks From unknown Thu Aug 14 18:33:20 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Mon, 08 Sep 2008 14:24:04 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator