unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#25559: Trouble getting battery status
@ 2017-01-28  0:13 Rahul Martim Juliato
  2019-07-26 15:06 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Rahul Martim Juliato @ 2017-01-28  0:13 UTC (permalink / raw)
  To: 25559


Hello!

battery.el gives me an error, where is not possible to find my battery
info directory. 

I'm on a 32 bit ARM, Arch Linux with 3.8.11 kernel, Samsung Chromebook,
and on the proc directoy this is what I have:

~ $ ls -l /sys/class/power_supply/
total 0
lrwxrwxrwx   1 root           root     0 2017-01-27 21:48 sbs-104-000b -> ../../devices/12ca0000.i2c/i2c-4/i2c-104/104-000b/power_supply/sbs-104-000b
lrwxrwxrwx   1 root           root     0 2017-01-27 21:47 tps65090-ac -> ../../devices/12ca0000.i2c/i2c-4/i2c-104/104-0048/tps65090-charger/power_supply/tps65090-ac
~ $ 

That means, I have 2 sub-directories, and battery info is inside
sbs-104-000b.

Taking a look into battery.el, it seems that the program does not tests
for inner directories possibility.

It would be nice for this to look for it, or at least give me possibility to
point the exactly location in a variable.

Thanks,

Rahul





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-08-23  0:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-28  0:13 bug#25559: Trouble getting battery status Rahul Martim Juliato
2019-07-26 15:06 ` Lars Ingebrigtsen
2019-08-23  0:41   ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).