[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55770: 29.0.50; Feature Request: Hook When battery transitions to lo
From: |
Lars Ingebrigtsen |
Subject: |
bug#55770: 29.0.50; Feature Request: Hook When battery transitions to low or critical |
Date: |
Fri, 03 Jun 2022 05:57:41 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
"T.V Raman" <raman@google.com> writes:
> 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.
Good idea. I've now added this to Emacs 29 as
`battery-update-functions'. (The doc string has an example function
that plays an alarm.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#55770: 29.0.50; Feature Request: Hook When battery transitions to low or critical, T.V Raman, 2022/06/02
- bug#55770: 29.0.50; Feature Request: Hook When battery transitions to low or critical,
Lars Ingebrigtsen <=
- bug#55770: 29.0.50; Feature Request: Hook When battery transitions to low or critical, T.V Raman, 2022/06/03
- bug#55770: 29.0.50; Feature Request: Hook When battery transitions to low or critical, T.V Raman, 2022/06/03
- bug#55770: 29.0.50; Feature Request: Hook When battery transitions to low or critical, Eli Zaretskii, 2022/06/03
- bug#55770: 29.0.50; Feature Request: Hook When battery transitions to low or critical, T.V Raman, 2022/06/03
- bug#55770: 29.0.50; Feature Request: Hook When battery transitions to low or critical, Eli Zaretskii, 2022/06/03
- bug#55770: 29.0.50; Feature Request: Hook When battery transitions to low or critical, T.V Raman, 2022/06/03
- bug#55770: 29.0.50; Feature Request: Hook When battery transitions to low or critical, Phil Sainty, 2022/06/03