From unknown Sat Jun 21 12:12:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25800: 24.5; battery.el does not consider information directory /sys/class/power_supply/CMB0 Resent-From: soulawaker Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Feb 2017 21:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25800 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 25800@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14875381746539 (code B ref -1); Sun, 19 Feb 2017 21:03:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Feb 2017 21:02:54 +0000 Received: from localhost ([127.0.0.1]:46543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfYdC-0001hN-5X for submit@debbugs.gnu.org; Sun, 19 Feb 2017 16:02:54 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44148) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfY9r-0007gt-7M for submit@debbugs.gnu.org; Sun, 19 Feb 2017 15:32:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfY9k-0004OA-6o for submit@debbugs.gnu.org; Sun, 19 Feb 2017 15:32:29 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39450) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cfY9k-0004O2-2b for submit@debbugs.gnu.org; Sun, 19 Feb 2017 15:32:28 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35112) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfY9h-0007zm-U7 for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 15:32:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfY9e-0004MQ-OQ for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 15:32:25 -0500 Received: from mail-pg0-x232.google.com ([2607:f8b0:400e:c05::232]:33435) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cfY9e-0004M7-Fx for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 15:32:22 -0500 Received: by mail-pg0-x232.google.com with SMTP id a123so8311720pgc.0 for ; Sun, 19 Feb 2017 12:32:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:subject:to:message-id:mime-version; bh=N0TkxrXQO8uFQqthVA3X3TsNOzCf7cBmsfT13IYVBfY=; b=OO24pfVot7+Z2ekUvzNtkg3uiA3hRFky3JRU11tAp0MzCE23OsMhZHPUL5ogLCgVLn S62P3eLE4uA6FLeCiiyp1XOMfi072AYbvM89HbXi/RuXNbX7/5w7gQQ7ADEPEStFxQ87 JkdU52xc4T87gudcmQ8oeWJmuPRCdGbizKZlYn/jZU03SzNyWA1FYeym/p472pIXoo7L OisDfjMzvKSzZvIcFdSg/a1tKkdkpZEVIObSfsZMaHgShqh5Xqr9ZFI626427VvU8m44 utR7jrGv1vjvZgRm8tSCBml1A8U/gmDyTadmtEj1GQrRsM/A47PpTFl7k0qpksx8tx0c U2pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:subject:to:message-id:mime-version; bh=N0TkxrXQO8uFQqthVA3X3TsNOzCf7cBmsfT13IYVBfY=; b=uHpCPNBq1U2WtUSW4mnX1no2s3UdU2QwUQMkDj/1eQ4deA0nmeeDiJQ7rYnGyqUAlt I4s6wK/eUUGXHbgEHj6cWNo9CK/7SMGBDM+ZKxAAKtawTH9FRtVhFS74AJhOcVFinWlE VVtZYcI7p4ScPxbPWXuYhYud1le8V26Kn+4fNMlPoB9ivDO5PXlOVcS1/aGCFrxtz7cH W8q19xbmeUT/PZW44jSzU+kFa859WtuIVz1CITqsGrTES+yMs3A/9MkMm1+TCb9Z2LYh RQEM21MYFoSO7USSK1ZKQJE9Iu827CbtkHvuckcmE5EDJZd1z6E1+ulwA5HVN5Ve8vgN qsgw== X-Gm-Message-State: AMke39nU39Si8WL5fkHsOKwq/4E5+qP2KDJw8VVGZPMSsQDg9/7MP2YcoEbq52GFmk4wuQ== X-Received: by 10.99.94.71 with SMTP id s68mr22770754pgb.181.1487536341104; Sun, 19 Feb 2017 12:32:21 -0800 (PST) Received: from [192.168.0.126] ([1.229.143.28]) by smtp.gmail.com with ESMTPSA id a2sm30755140pfc.72.2017.02.19.12.32.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Feb 2017 12:32:20 -0800 (PST) Date: Mon, 20 Feb 2017 05:32:17 +0900 From: soulawaker Message-Id: <1487536337.761.0@smtp.gmail.com> X-Mailer: pantheon-mail/1.0.5 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=-yGPwl2fNeT6D+TXL48ju" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Mailman-Approved-At: Sun, 19 Feb 2017 16:02:52 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --=-yGPwl2fNeT6D+TXL48ju Content-Type: text/plain; charset=utf-8; format=flowed -------------------------- Hello, emacs maintainers. My laptop battery informations was placed in /sys/class/power_supply/CMB0. But battery.el try to find only /sys/class/power_supply/BAT% series. So display-battery-mode does not show any battery informations. Please consider existing different information directories. Best Regards, HyungSuk -------------------------- In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2016-04-18 on lgw01-04, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11804000 System Description: elementary OS 0.4 Loki Configured using: `configure --build x86_64-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/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp --build x86_64-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/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'' Important settings: value of $LC_MONETARY: ko_KR.UTF-8 value of $LC_NUMERIC: ko_KR.UTF-8 value of $LC_TIME: ko_KR.UTF-8 value of $LANG: ko_KR.UTF-8 value of $XMODIFIERS: locale-coding-system: utf-8-unix Major mode: Org Minor modes in effect: org-indent-mode: t override-global-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t global-visual-line-mode: t visual-line-mode: t transient-mark-mode: t Recent messages: ESC is undefined Entering debugger... Making completion list... [8 times] Type "q" in help window to restore its previous buffer. Making completion list... Making completion list... [3 times] Making completion list... [3 times] call-interactively: End of buffer [4 times] Load-path shadows: /usr/share/emacs/24.5/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup Features: (shadow sort mail-extr emacsbug message byte-opt rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils org-element org-indent org-rmail org-mhe org-irc org-info org-gnus gnus-util org-docview doc-view jka-compr image-mode dired org-bibtex bibtex org-bbdb org-w3m help-fns help-mode debug battery edmacro kmacro finder-inf atom-one-dark-theme org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu easymenu calendar cal-loaddefs use-package diminish bytecomp byte-compile cl-extra cconv bind-key easy-mmode cl-loaddefs cl-lib package epg-config time-date korea-util tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 218897 16865) (symbols 48 30731 0) (miscs 40 153 198) (strings 32 56492 21566) (string-bytes 1 1572015) (vectors 16 23640) (vector-slots 8 633622 6735) (floats 8 138 33) (intervals 56 564 27) (buffers 960 18) (heap 1024 41346 1487)) --=-yGPwl2fNeT6D+TXL48ju Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
--------------------------
Hello, emacs maintainers.
My laptop battery informations was placed i= n /sys/class/power_supply/CMB0.
But battery.el try t= o find only /sys/class/power_supply/BAT% series.
So&= nbsp;display-battery-mode does not show any batter= y informations.
Please consider existing different&n= bsp;information directories.

Best Regards,

HyungSuk=
--------------------------




In GNU Emacs&nb= sp;24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2016-04-18 on lgw01-04, modified by = ;Debian
Windowing system distributor `The X.Org = ;Foundation', version 11.0.11804000
System Description: e= lementary OS 0.4 Loki

Configured using:
 = ;`configure --build x86_64-linux-gnu --prefix=3D/usr
&nbs= p;--sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib
 --local= statedir=3D/var/lib --infodir=3D/usr/share/info
 --mandir=3D/u= sr/share/man --with-pop=3Dyes
 --enable-locallisppath=3D/etc/e= macs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/em= acs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp --build x86_64-linux-gnu --prefix=3D/usr --sharedstat= edir=3D/var/lib
 --libexecdir=3D/usr/lib --localstatedir=3D/va= r/lib
 --infodir=3D/usr/share/info --mandir=3D/usr/share/man&n= bsp;--with-pop=3Dyes
 --enable-locallisppath=3D/etc/emacs24:/etc/em= acs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:= /usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp
 --with-= x=3Dyes --with-x-toolkit=3Dgtk3 --with-toolkit-scroll-bars
&nb= sp;'CFLAGS=3D-g -O2 -fstack-protector-strong -Wformat
&nb= sp;-Werror=3Dformat-security -Wall' 'CPPFLAGS=3D-Wdate-time
&n= bsp;-D_FORTIFY_SOURCE=3D2' 'LDFLAGS=3D-Wl,-Bsymbolic-functions -W= l,-z,relro''

Important settings:
  value of&n= bsp;$LC_MONETARY: ko_KR.UTF-8
  value of $LC_NU= MERIC: ko_KR.UTF-8
  value of $LC_TIME: ko= _KR.UTF-8
  value of $LANG: ko_KR.UTF-8
&nbs= p; value of $XMODIFIERS: 
  locale-coding-= system: utf-8-unix

Major mode: Org

Minor = modes in effect:
  org-indent-mode: t
 =  override-global-mode: t
  electric-indent-mode:&nbs= p;t
  mouse-wheel-mode: t
  file-name-shadow= -mode: t
  global-font-lock-mode: t
  f= ont-lock-mode: t
  auto-composition-mode: t
 = ; auto-encryption-mode: t
  auto-compression-mode:&n= bsp;t
  column-number-mode: t
  line-number-= mode: t
  global-visual-line-mode: t
  = visual-line-mode: t
  transient-mark-mode: t

= Recent messages:
ESC <mouse-1> is undefinedEntering debugger...
Making completion list... [8&n= bsp;times]
Type "q" in help window to rest= ore its previous buffer.
Making completion list= ...

Making completion list... [3 times]

M= aking completion list... [3 times]
call-interactivel= y: End of buffer [4 times]

Load-path s= hadows:
/usr/share/emacs/24.5/site-lisp/debian-startup hides /= usr/share/emacs/site-lisp/debian-startup

Features:
(shadow s= ort mail-extr emacsbug message byte-opt rfc822&nbs= p;mml mml-sec
mm-decode mm-bodies mm-encode mail-par= se rfc2231 mailabbrev gmm-utils
mailheader sendmail&= nbsp;rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
m= ail-utils org-element org-indent org-rmail org-mhe = ;org-irc org-info
org-gnus gnus-util org-docview doc= -view jka-compr image-mode dired
org-bibtex bibtex&n= bsp;org-bbdb org-w3m help-fns help-mode debug batt= ery
edmacro kmacro finder-inf atom-one-dark-theme or= g org-macro org-footnote
org-pcomplete pcomplete org= -list org-faces org-entities noutline outline
org-ve= rsion ob-emacs-lisp ob ob-tangle ob-ref ob-lob&nbs= p;ob-table ob-exp
org-src ob-keys ob-comint comint&n= bsp;ansi-color ring ob-core ob-eval
org-compat org-m= acs org-loaddefs format-spec find-func cal-menu ea= symenu
calendar cal-loaddefs use-package diminish by= tecomp byte-compile
cl-extra cconv bind-key easy-mmo= de cl-loaddefs cl-lib package epg-config
time-date&n= bsp;korea-util tooltip electric uniquify ediff-hook&nbs= p;vc-hooks
lisp-float-type mwheel x-win x-dnd tool-b= ar dnd fontset image regexp-opt
fringe tabulate= d-list newcomment lisp-mode prog-mode register pag= e
menu-bar rfn-eshadow timer select scroll-bar = mouse jit-lock font-lock
syntax facemenu font-core&n= bsp;frame cham georgian utf-8-lang misc-lang
vietnam= ese tibetan thai tai-viet lao korean japanese=  hebrew greek
romanian slovak czech european&nb= sp;ethiopic indian cyrillic chinese
case-table epa-h= ook jka-cmpr-hook help simple abbrev minibuffer&nb= sp;nadvice
loaddefs button faces cus-face macroexp&n= bsp;files text-properties overlay
sha1 md5 base64&nb= sp;format env code-pages mule custom widget
has= htable-print-readable backquote make-network-process dbusbin= d
gfilenotify dynamic-setting system-font-setting font-re= nder-setting
move-toolbar gtk x-toolkit x multi-tty&= nbsp;emacs)

Memory information:
((conses 16 218897=  16865)
 (symbols 48 30731 0)
 (miscs&n= bsp;40 153 198)
 (strings 32 56492 21566)<= br> (string-bytes 1 1572015)
 (vectors 16 = 23640)
 (vector-slots 8 633622 6735)
 (float= s 8 138 33)
 (intervals 56 564 27) (buffers 960 18)
 (heap 1024 41346 = 1487))
= --=-yGPwl2fNeT6D+TXL48ju-- From unknown Sat Jun 21 12:12:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25800: 24.5; battery.el does not consider information directory /sys/class/power_supply/CMB0 Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Feb 2017 02:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25800 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: soulawaker Cc: 25800@debbugs.gnu.org Received: via spool by 25800-submit@debbugs.gnu.org id=B25800.14876455709320 (code B ref 25800); Tue, 21 Feb 2017 02:53:02 +0000 Received: (at 25800) by debbugs.gnu.org; 21 Feb 2017 02:52:50 +0000 Received: from localhost ([127.0.0.1]:47971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cg0ZN-0002QG-TJ for submit@debbugs.gnu.org; Mon, 20 Feb 2017 21:52:50 -0500 Received: from eggs.gnu.org ([208.118.235.92]:51597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cg0ZM-0002Q0-0W for 25800@debbugs.gnu.org; Mon, 20 Feb 2017 21:52:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cg0ZF-0005iU-TU for 25800@debbugs.gnu.org; Mon, 20 Feb 2017 21:52:42 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cg0ZE-0005i3-At; Mon, 20 Feb 2017 21:52:40 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cg0ZD-0001HE-VO; Mon, 20 Feb 2017 21:52:40 -0500 From: Glenn Morris References: <1487536337.761.0@smtp.gmail.com> X-Spook: Chemical weapon monarchist MILSATCOM Attorney General X-Ran: \B+~cG.S?Y,fE}ysh#eK#sNFNPF]Lcj(M5s1D-@AQla9cJMaGN7\[fbZsi__JBl?!LR;}R X-Hue: green X-Attribution: GM Date: Mon, 20 Feb 2017 21:52:39 -0500 In-Reply-To: <1487536337.761.0@smtp.gmail.com> (soulawaker@gmail.com's message of "Mon, 20 Feb 2017 05:32:17 +0900") Message-ID: <1lk28ki7bc.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) soulawaker wrote: > My laptop battery informations was placed in > /sys/class/power_supply/CMB0. > But battery.el try to find only /sys/class/power_supply/BAT% series. In the Emacs repo, you can customize the option battery-linux-sysfs-regexp to match whatever you need. This should appear in 26.1. See https://debbugs.gnu.org/23216 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 20 21:53:40 2017 Received: (at control) by debbugs.gnu.org; 21 Feb 2017 02:53:40 +0000 Received: from localhost ([127.0.0.1]:47975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cg0aC-0002Rk-7E for submit@debbugs.gnu.org; Mon, 20 Feb 2017 21:53:40 -0500 Received: from eggs.gnu.org ([208.118.235.92]:51900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cg0aA-0002RV-Kg for control@debbugs.gnu.org; Mon, 20 Feb 2017 21:53:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cg0a4-0006Ee-Rh for control@debbugs.gnu.org; Mon, 20 Feb 2017 21:53:33 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55322) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cg0a4-0006EY-OT for control@debbugs.gnu.org; Mon, 20 Feb 2017 21:53:32 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cg0a4-0001LN-ES for control@debbugs.gnu.org; Mon, 20 Feb 2017 21:53:32 -0500 Subject: control message for bug 25800 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Mon, 20 Feb 2017 21:53:32 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) unarchive 23216 fixed 25800 26.1 forcemerge 23216 25800 From unknown Sat Jun 21 12:12:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25800: 24.5; battery.el does not consider information directory /sys/class/power_supply/CMB0 Resent-From: HyungSuk Ryu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Feb 2017 20:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25800 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Glenn Morris , 25800@debbugs.gnu.org Received: via spool by 25800-submit@debbugs.gnu.org id=B25800.148770779813609 (code B ref 25800); Tue, 21 Feb 2017 20:10:02 +0000 Received: (at 25800) by debbugs.gnu.org; 21 Feb 2017 20:09:58 +0000 Received: from localhost ([127.0.0.1]:49254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgGl4-0003XR-BK for submit@debbugs.gnu.org; Tue, 21 Feb 2017 15:09:58 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgGl2-0003XE-Mc for 25800@debbugs.gnu.org; Tue, 21 Feb 2017 15:09:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgGkw-0006WH-MQ for 25800@debbugs.gnu.org; Tue, 21 Feb 2017 15:09:51 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HTML_MESSAGE, RP_MATCHES_RCVD,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgGkw-0006WB-Ih for 25800@debbugs.gnu.org; Tue, 21 Feb 2017 15:09:50 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cgGkw-000444-7h for 25800@debbugs.gnu.org; Tue, 21 Feb 2017 15:09:50 -0500 Resent-Message-ID: <22700.40589.705659.172140@gnu.org> Resent-Date: Tue, 21 Feb 2017 15:09:49 -0500 Resent-From: Glenn Morris Resent-To: 25800@debbugs.gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=yf0FOReqVpIFVTd1ZP41kP3qhlujlI8Hdj8J82k0x1Q=; b=haRLeUvTfFfkQ90IdZOVnGdd+5c0MpqYu9FVM5aq8Z+mc71xGoZjvxc2Ffv/CyAdNt dbU/uBd0iwALBdSm2MN4E3b65LwqPGJ1acxMO7Rbdm3lBySqM3NhcsTY///LilebFxYO N7ukbnAfB/sLx7hWia264lihlHD1XJUpIPa5059flceUiwMinEeqWFUwsZOTm5LJP78Y iv7tAVM93t8Fz1BTsToe3pa3iO/1w++0sEgdYwXlqbDLmDYzwIaCSF7BE7L11D4kQp7/ /c5iyarM9VPDdY1YixKVYUTrX9O7LOQPCy5kEK3HeuhKWgx5o9HOjFLBrdtCR6af9qxR jGuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=yf0FOReqVpIFVTd1ZP41kP3qhlujlI8Hdj8J82k0x1Q=; b=tfts4tnLdiKvtX9y0tjCW3MceERWDB/0Uf3PQ+gnj6who/LBQ+8QWws+UfMI1qXpUb TavLII2eAXmbxlV4hIS2rafQQzdzePyjbWJsOCe6vk/C1snLKFKbVATrC/4Mz6dmbHS0 AIZkUdddFefP04wwur/rMtvEa20xBqpH8bkY0ct6fBxSJHV2HcqS6aKllA104rbaEgX4 UAuB8ZsbPKaECNuZTaBhoQSfvO3a4MyEyz5jj+2Il0/wC4hHIGNG4k91ZVI9bLuGRe6M 0khsCBPnzNwTp7GX59Ot29UgPyiaQBb2WrsgRqNiqfLPOTDBceDBd52bL3eJFhxmC89G JECg== X-Gm-Message-State: AMke39noh5bha5onq9XbYNEW3MLZt2h6ho4wzI6E90K3IcdWkM3IjTSN4sAWn9Zrjwz1nx1kL7j5GkAYBCNr1g== X-Received: by 10.107.165.146 with SMTP id o140mr20017138ioe.42.1487702946460; Tue, 21 Feb 2017 10:49:06 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1lk28ki7bc.fsf@fencepost.gnu.org> References: <1487536337.761.0@smtp.gmail.com> <1lk28ki7bc.fsf@fencepost.gnu.org> Message-ID: Content-Type: multipart/alternative; boundary=001a1141f0c8a7ba2d05490ed52b X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] Date: Wed, 22 Feb 2017 03:49:05 +0900 From: HyungSuk Ryu X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --001a1141f0c8a7ba2d05490ed52b Content-Type: text/plain; charset=UTF-8 Ok. I also find that /sys/class/power_supply/AC/online does not exist in my laptop and can't find modifiable variable for it. But never mind. I now decide not to use battery information in mode line. Thank you! 2017-02-21 11:52 GMT+09:00 Glenn Morris : > soulawaker wrote: > > > My laptop battery informations was placed in > > /sys/class/power_supply/CMB0. > > But battery.el try to find only /sys/class/power_supply/BAT% series. > > In the Emacs repo, you can customize the option battery-linux-sysfs-regexp > to match whatever you need. This should appear in 26.1. > > See https://debbugs.gnu.org/23216 > --001a1141f0c8a7ba2d05490ed52b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Ok. I also find that /sys/class/power_supply/AC/online doe= s not exist in my laptop and can't find modifiable variable for it.
But never mind. I now decide not to use battery information= in mode line.

Thank you!

2017-02-21 11:52 GMT+09:00 Gle= nn Morris <rgm@gnu.org>:
soulawa= ker wrote:

> My laptop battery informations was placed in
> /sys/class/power_supply/CMB0.
> But battery.el try to find only /sys/class/power_supply/BAT% series.
In the Emacs repo, you can customize the option battery-linux-sysfs-regexp<= br> to match whatever you need. This should appear in 26.1.

See https://debbugs.gnu.org/23216

--001a1141f0c8a7ba2d05490ed52b--