emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: battery.el: Add option to play a sound when battery hits critical?


From: Eli Zaretskii
Subject: Re: battery.el: Add option to play a sound when battery hits critical?
Date: Thu, 02 Jun 2022 19:28:01 +0300

> Date: Thu, 02 Jun 2022 08:42:48 -0700
> From: "T.V Raman" <raman@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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]