GNU bug report logs - #25800
24.5; battery.el does not consider information directory /sys/class/power_supply/CMB0

Previous Next

Package: emacs;

Reported by: soulawaker <soulawaker <at> gmail.com>

Date: Sun, 19 Feb 2017 21:03:01 UTC

Severity: minor

Tags: patch

Merged with 23216

Found in versions 24.5, 25.1.50

Fixed in version 26.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: HyungSuk Ryu <soulawaker <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>, 25800 <at> debbugs.gnu.org
Subject: Re: bug#25800: 24.5; battery.el does not consider information
 directory /sys/class/power_supply/CMB0
Date: Wed, 22 Feb 2017 03:49:05 +0900
[Message part 1 (text/plain, inline)]
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 <rgm <at> gnu.org>:

> 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
>
[Message part 2 (text/html, inline)]

This bug report was last modified 8 years and 93 days ago.

Previous Next


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