GNU bug report logs - #55770
29.0.50; Feature Request: Hook When battery transitions to low or critical

Previous Next

Package: emacs;

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


View this message in rfc822 format

From: "T.V Raman" <raman <at> google.com>
To: 55770 <at> debbugs.gnu.org
Subject: bug#55770: 29.0.50; Feature Request: Hook When battery transitions to low or critical
Date: Thu, 02 Jun 2022 09:32:09 -0700
From: Eli Zaretskii <eliz <at> gnu.org>
To: "T.V Raman" <raman <at> google.com>
Subject: Re: battery.el: Add option to play a sound when battery hits
 critical?
Date: Thu, 02 Jun 2022 19:28:01 +0300
Cc: emacs-devel <at> gnu.org

> Date: Thu, 02 Jun 2022 08:42:48 -0700
> From: "T.V Raman" <raman <at> google.com>
> 
> Subject line almost says it all:
> 
> battery.el can change the face used to display battery status in the
> modeline. 
> 
> Could we also have a defcustom that makes an auditory alert that is
> configurable when it transitions from normal to low and low to
> critical?

Maybe we should have a hook that would be run by the battery.el's
timer function, then you could write a hook function to do whatever
you want, including playing a sound.

Suggest to file a feature request bug report about this.

-- 

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.