GNU bug report logs -
#55770
29.0.50; Feature Request: Hook When battery transitions to low or critical
Previous Next
Reported by: "T.V Raman" <raman <at> google.com>
Date: Thu, 2 Jun 2022 16:33:02 UTC
Severity: wishlist
Found in version 29.0.50
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #22 received at 55770 <at> debbugs.gnu.org (full text, mbox):
I understand and I can set mine appropriately --- I was just pointing
out that a low value for the update interval when combined with an
update function that does some computes could prove a bad combination.Eli Zaretskii writes:
> > Cc: 55770 <at> 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 <at> 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.
--
Thanks,
--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1 🦮
--
Thanks,
--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1 🦮
This bug report was last modified 3 years and 73 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.