From: Eli Zaretskii <eliz@gnu.org>
To: "T.V Raman" <raman@google.com>
Cc: larsi@gnus.org, 55770@debbugs.gnu.org
Subject: bug#55770: 29.0.50; Feature Request: Hook When battery transitions to low or critical
Date: Fri, 03 Jun 2022 20:49:48 +0300 [thread overview]
Message-ID: <83v8thbps3.fsf@gnu.org> (raw)
In-Reply-To: <p91a6at3dn5.fsf@google.com> (bug-gnu-emacs@gnu.org)
> Cc: 55770@debbugs.gnu.org
> Date: Fri, 03 Jun 2022 09:39:10 -0700
> From: "T.V Raman" via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
>
> Lookeding at this more closely,
> default value of battery-update-interval is 60s which might be okay for
> updating modeline; will having other functions here prove to be an
> efficiency hit?
>
> For instance, if playing a sound on entering critical state, one might
> well end up implementing some more logic to decide how often to play a sound.
battery-update-interval is also a defcustom, so you can make it
smaller if you need.
next prev parent reply other threads:[~2022-06-03 17:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-02 16:32 bug#55770: 29.0.50; Feature Request: Hook When battery transitions to low or critical T.V Raman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-03 3:57 ` Lars Ingebrigtsen
2022-06-03 14:06 ` T.V Raman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-03 16:39 ` T.V Raman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-03 17:49 ` Eli Zaretskii [this message]
2022-06-03 18:00 ` T.V Raman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-03 18:40 ` Eli Zaretskii
2022-06-03 20:09 ` T.V Raman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-04 2:01 ` Phil Sainty
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83v8thbps3.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=55770@debbugs.gnu.org \
--cc=larsi@gnus.org \
--cc=raman@google.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 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).