1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-19 01:10:57 -08:00
emacs/etc
Basil L. Contovounesios 453d30d92c Improve battery.el UPower support
For discussion, see the following threads:
https://lists.gnu.org/archive/html/emacs-devel/2020-01/msg00843.html
https://lists.gnu.org/archive/html/emacs-devel/2020-02/msg00042.html
https://lists.gnu.org/archive/html/emacs-devel/2020-02/msg00282.html

* etc/NEWS: Announce that battery-upower is enabled by default.

* lisp/battery.el (battery-upower-device): Accept both battery and
line power device names, or a list thereof (bug#39491).
(battery-upower-line-power-device): Remove user option; superseded
by battery-upower-device.
(battery-upower-subscribe): New user option.
(battery-status-function): Check whether a UPower service is
provided without activating it.
(display-battery-mode): Subscribe to UPower signals when using
battery-upower.
(battery-upower): Merge data from multiple power sources.  Calculate
terse battery status %b based on average battery load percentage
rather than coarse and often missing BatteryLevel (bug#39491).  Add
support for average temperature %d.

(battery-upower-dbus-service)
(battery-upower-dbus-interface)
(battery-upower-dbus-path)
(battery-upower-dbus-device-interface)
(battery-upower-dbus-device-path)
(battery-upower-device-all-properties): Rename to...
(battery-upower-service)
(battery-upower-interface)
(battery-upower-path)
(battery-upower-device-interface)
(battery-upower-device-path)
(battery--upower-device-properties): ...these, respectively.

(battery-upower-device-list): Rename to...
(battery--upower-devices) ...this.  Return a flat list of device
names determined by battery-upower-device.
(battery-upower-types, battery-upower-states)
(battery-upower-device-property, battery-upower-device-autodetect):
Remove.
(battery--upower-signals): New variable.
(battery--upower-signal-handler, battery--upower-props-changed)
(battery--upower-unsubscribe, battery--upower-subsribe)
(battery--upower-state): New functions.

* test/lisp/battery-tests.el (battery-upower-state)
(battery-upower-state-unknown): New tests.
2020-06-18 13:11:17 +01:00
..
charsets Update copyright year to 2020 2020-01-01 00:59:52 +00:00
e
forms Use lexical-binding in forms.el example files 2020-04-25 07:59:28 +02:00
gnus
images Fix copyright years by hand 2020-01-01 01:01:53 +00:00
nxml
org Update copyright year to 2020 2020-01-01 00:59:52 +00:00
refcards Merge from origin/emacs-27 2020-01-01 01:08:16 +00:00
schema Update copyright year to 2020 2020-01-01 00:59:52 +00:00
srecode Add and remove backslashes in regexps 2020-02-20 16:03:30 +01:00
themes Merge from origin/emacs-27 2020-05-16 10:29:14 -07:00
tutorials Fix copyright years by hand 2020-01-01 01:01:53 +00:00
AUTHORS ; Update etc/AUTHORS 2020-04-14 18:33:50 +02:00
CALC-NEWS Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.1 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
compilation.txt javac support in compilation-parse-errors rules 2020-04-01 03:04:31 +03:00
COPYING Merge from Gnulib 2017-10-01 18:31:10 -07:00
DEBUG ; bug#39779: Fix some typos in documentation. 2020-02-28 15:21:55 +02:00
DEVEL.HUMOR Remove an unfunny joke from DEVEL.HUMOR 2019-11-01 13:54:51 +01:00
DISTRIB Update copyright year to 2020 2020-01-01 00:59:52 +00:00
edt-user.el * etc/edt-user.el: Use lexical-binding. 2020-04-24 11:48:25 +02:00
emacs-buffer.gdb Update copyright year to 2020 2020-01-01 00:59:52 +00:00
emacs.appdata.xml Update copyright year to 2020 2020-01-01 00:59:52 +00:00
emacs.desktop
emacs.icon
emacs.service Don't override SSH_AUTH_SOCK in the example emacs.service file 2019-07-21 17:11:59 +02:00
enriched.txt Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ERC-NEWS Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ETAGS.EBNF Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ETAGS.README Update copyright year to 2020 2020-01-01 00:59:52 +00:00
future-bug
gnus-tut.txt Update copyright year to 2020 2020-01-01 00:59:52 +00:00
grep.txt Update copyright year to 2020 2020-01-01 00:59:52 +00:00
HELLO Update copyright year to 2020 2020-01-01 00:59:52 +00:00
HISTORY * etc/HISTORY: Add Emacs 26.3 release release date. 2019-08-22 00:40:13 +02:00
JOKES
MACHINES Update copyright year to 2020 2020-01-01 00:59:52 +00:00
MH-E-NEWS Update copyright year to 2020 2020-01-01 00:59:52 +00:00
NEWS Improve battery.el UPower support 2020-06-18 13:11:17 +01:00
NEWS.1-17 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
NEWS.18 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
NEWS.19 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
NEWS.20 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
NEWS.21 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
NEWS.22 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
NEWS.23 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
NEWS.24 ; Fix NEWS.24 2020-01-01 18:30:58 +02:00
NEWS.25 * etc/NEWS.25: Belatedly announce upcase-dwim and downcase-dwim. 2020-05-27 14:09:23 -04:00
NEWS.26 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
NEWS.27 Merge from origin/emacs-27 2020-06-17 08:47:53 -07:00
NEXTSTEP Update copyright year to 2020 2020-01-01 00:59:52 +00:00
NXML-NEWS Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ORG-NEWS Update copyright year to 2020 2020-01-01 00:59:52 +00:00
package-keyring.gpg * etc/package-keyring.gpg: Add the 2019 key (backport) 2019-05-08 13:19:36 -04:00
PROBLEMS ; * etc/PROBLEMS: Add note about color list issues on macOS. 2020-05-20 21:25:01 +01:00
ps-prin0.ps Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ps-prin1.ps Update copyright year to 2020 2020-01-01 00:59:52 +00:00
publicsuffix.txt
README Update copyright year to 2020 2020-01-01 00:59:52 +00:00
rgb.txt
ses-example.ses Update copyright year to 2020 2020-01-01 00:59:52 +00:00
spook.lines Add more spook.lines 2019-07-13 05:09:45 +02:00
TERMS Update copyright year to 2020 2020-01-01 00:59:52 +00:00
TODO ; * etc/TODO: Fix formatting. (Bug#41497) 2020-05-30 19:10:14 +03:00
yow.lines

This directory contains the architecture-independent files used by or
with Emacs.  This includes some text files of documentation for GNU
Emacs or of interest to Emacs users, and the file of dumped docstrings
for Emacs functions and variables.

COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

File: emacs.icon
  Author: Sun Microsystems, Inc
  Copyright (C) 1999, 2001-2020 Free Software Foundation, Inc.
  License: GNU General Public License version 3 or later (see COPYING)