From: "Jérémy Compostella" <jeremy.compostella@gmail.com>
To: Kan-Ru Chen <kanru@kanru.info>
Cc: Karl Fogel <kfogel@red-bean.com>, emacs-devel@gnu.org
Subject: Re: [PATCH] battery.el Retrieve more information from sysfs
Date: Thu, 22 Dec 2011 11:18:11 +0100 [thread overview]
Message-ID: <CA+TATJHHLu_jkOdP7jzBkDgNGuD-FhGcNwYdTLRkDajy0ChrNg@mail.gmail.com> (raw)
In-Reply-To: <87ehvxpixd.fsf@isil.kanru.info>
[-- Attachment #1: Type: text/plain, Size: 2063 bytes --]
2011/12/22 Kan-Ru Chen <kanru@kanru.info>
> Karl Fogel <kfogel@red-bean.com> writes:
>
> > Jérémy Compostella <jeremy.compostella@gmail.com> writes:
> >>I did not received any answers so I'm answering myself about :
> >>- Do I miss something in the "submit" process,
> >>- Is this patch is a mess ?
> >>- Or maybe everybody is busy ...
> >
> > Jérémy, thanks for the patch. I think it's just #3: everyone is busy.
> > Sometimes it can take a while. In some cases, if the feature is not
> > compelling enough to others, there may be no useful response at all.
> > This doesn't mean it's a bad idea, it just means no one's convinced it's
> > needed.
> >
> > Most people see battery status in an icon on their GUI toolbar, I
> > think. Can you describe the use case(s) for battery.el? Is it easier
> > for the visually impaired, for example? Maybe for people who are
> > running their machine in text-console mode?
>
> FYI, I have a script
>
> --8<---------------cut here---------------start------------->8---
> #!/bin/sh
>
> if [ -S "/tmp/emacs`id -u`/server" ]; then
> emacsclient -n --eval '(battery)'
> else
> echo "Cannot find emacs server socket";
> fi
> --8<---------------cut here---------------end--------------->8---
>
> that I always use it to get the battery info. I'm using a minimalism
> window manager that doesn't have battery widget by default.
>
> --
> Kanru
>
On my side, I used to be as independent as possible with the Window
Manager I use. Indeed, I run Emacs in real fullscreen mode doing almost
everything with it (code editing, compilation, debugging, jabber, web,
mail, ...). So, I do not have visibility on the potential battery
widget.
Moreover, for this laptop, I really do care about the instantaneous
consumption and this information is not retrieved from sysfs for
now. Only from the /proc/acpi part I do not have. Even with a fresh
3.2.0-rc6 freshly compiled, patched and optimized for my power
consumption needs.
Thanks,
Jeremy
--
One Emacs to rule them all
[-- Attachment #2: Type: text/html, Size: 2731 bytes --]
next prev parent reply other threads:[~2011-12-22 10:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-18 18:53 [PATCH] battery.el Retrieve more information from sysfs Jérémy Compostella
2011-12-21 10:03 ` Jérémy Compostella
2011-12-21 19:30 ` Karl Fogel
2011-12-22 0:08 ` Kan-Ru Chen
2011-12-22 10:18 ` Jérémy Compostella [this message]
2011-12-22 11:30 ` Roland Winkler
2011-12-22 22:52 ` Stefan Monnier
2011-12-23 3:59 ` Richard Stallman
2011-12-23 4:38 ` Karl Fogel
2011-12-23 7:10 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA+TATJHHLu_jkOdP7jzBkDgNGuD-FhGcNwYdTLRkDajy0ChrNg@mail.gmail.com \
--to=jeremy.compostella@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=kanru@kanru.info \
--cc=kfogel@red-bean.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.