summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bytecomp.el
diff options
context:
space:
mode:
authorZajcev Evgeny <zevlg@yandex.ru>2020-02-06 10:35:12 +0300
committerStefan Monnier <monnier@iro.umontreal.ca>2020-02-06 09:13:19 -0500
commitd8f4317f03be69cfaf6a60bda228996590fd92b5 (patch)
treefec080eabc57b32d6f384caec3e47f76cbaf3fd2 /lisp/emacs-lisp/bytecomp.el
parent7e0a4b7ca5682026397610a05a19d3a2ef023d74 (diff)
downloademacs-d8f4317f03be69cfaf6a60bda228996590fd92b5.tar.gz
emacs-d8f4317f03be69cfaf6a60bda228996590fd92b5.tar.bz2
emacs-d8f4317f03be69cfaf6a60bda228996590fd92b5.zip
Make 'M-x battery RET' work out-of-box for UPower users.
* battery.el (battery-upower-prop): Removed in favor for 'battery-upower-device-property'. (battery-upower-device): Can be nil, meaning autodetect the battery device. (battery-upower-line-power-device): New. line-power device. Can be nil, meaning autodetect line-power device. (battery-status-function): Check UPower service is available to use 'battery-upower' as status function. (battery-upower): Speedup. Request D-Bus only once, fetching all the properties at once. Provide string for "%b" format spec. (battery-upower-device-list, battery-upower-device-all-properties, battery-upower-device-property): New functions to work with UPower devices. (battery-upower-dbus-service, battery-upower-dbus-interface, battery-upower-dbus-path, battery-upower-dbus-device-interface, battery-upower-dbus-device-path): New constants describing UPower D-Bus service.
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
0 files changed, 0 insertions, 0 deletions