aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/battery.el
Commit message (Collapse)AuthorAgeFilesLines
* (display-battery-mode): Specify :group.Lute Kamstra2005-04-041-1/+1
|
* (display-battery-mode): Rename from display-battery.Stefan Monnier2005-01-041-7/+10
| | | | Handle the case where it gets turned off.
* (battery-mode-line-format): Remove initial spaces.Richard M. Stallman2004-12-271-9/+11
|
* (battery-linux-proc-apm): Use string-to-number.Stefan Monnier2004-09-181-82/+60
| | | | | | | (battery-linux-proc-acpi): Ignore all hidden files in the battery dir. Use dolist (and less indentation). Use erase-buffer. Pre-initialize `design-capacity', `warn', and `low'. (battery-format): Use replace-regexp-in-string.
* Delete superfluous empty lines.Eli Zaretskii2004-09-181-77/+60
| | | | | | | | | (battery-linux-proc-acpi): Attempt to gather information from all battery subdirectories regardless of their file name. (battery-linux-proc-apm): Replace all occurrences of battery-hex-to-int-2 with string-to-int (base 16). (battery-hex-to-int-2, battery-hex-to-int): Delete functions. (battery-hex-map): Delete variable.
* (battery-linux-proc-acpi): Look into batteryEli Zaretskii2004-08-141-1/+1
| | | | | directories matching the literal string "CMB", too (required for Linux kernel version 2.6.7).
* (battery-linux-proc-acpi): mA was hardcored, but someEli Zaretskii2004-06-041-13/+32
| | | | | | systems appear to use mW, make the code handle this. Fix a division-by-zero bug while at it, and handle kernels with a slightly different layout in /proc/acpi.
* 2003-09-10 Mario Lang <[email protected]>Alex Schroeder2003-09-101-5/+5
| | | | | | Update Commentary and Copyright. (battery-linux-proc-acpi): Fix a bug in %b which made "!" never appear due to wrong ordering of the expressions in `or'.
* (battery-linux-proc-acpi): New function.Eli Zaretskii2003-09-061-3/+108
| | | | | | | (battery-status-function): Modified default value calculation to also check for availability of ACPI. (battery-echo-area-format): Ditto. (battery-mode-line-format): Ditto.
* Add arch taglinesMiles Bader2003-09-011-0/+1
|
* (battery-insert-file-contents): Obsolete function removed.Noah Friedman2001-12-101-19/+1
| | | | | (battery-read-function): Obsolete function removed. (battery-linux-proc-apm): Use insert-file-contents.
* Fix typo.Pavel Janík2001-08-081-1/+1
|
* Some fixes to follow coding conventions.Pavel Janík2001-07-161-1/+1
|
* (battery-update): Add help-echo.Gerd Moellmann2001-07-051-7/+8
| | | | From Pavel Jan,Bm(Bk <[email protected]>.
* (battery-status-function): Fix doc, :type.Dave Love2001-02-151-3/+3
|
* (display-battery): Use `add-to-list'.Miles Bader2000-10-101-4/+2
|
* (display-battery): Doc spelling fix.Thien-Thi Nguyen2000-10-101-2/+2
|
* Change author's mail address.Gerd Moellmann2000-07-071-1/+1
|
* (battery): Doc fix.Gerd Moellmann1999-12-141-1/+1
|
* (battery-linux-proc-apm): Re-use the temporary buffer.Richard M. Stallman1998-03-301-4/+4
| | | | (battery-insert-file-contents): Disable code conversion.
* Customized.Stephen Eglen1998-03-071-10/+24
|
* Fixed spelling of `autoload' magic cookies.Richard M. Stallman1998-03-061-2/+2
|
* (battery-linux-proc-apm-regexp): Load percentageKarl Heuer1998-02-251-15/+15
| | | | | and remaining time have to match negative values. (battery-linux-proc-apm): Initialize void %-sequences.
* Fix copyright and copying permissions.Richard M. Stallman1997-07-091-6/+6
|
* Initial revisionRichard M. Stallman1997-06-221-0/+279