;;; battery.el --- display battery status information -*- coding: iso-8859-1 -*-
;; Copyright (C) 1997, 1998, 2000, 2001, 2002, 2003, 2004,
-;; 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
;; Author: Ralph Schleicher <rs@nunatak.allgaeu.org>
;; Keywords: hardware
'battery-pmset)
((eq system-type 'windows-nt)
'w32-battery-status))
- "*Function for getting battery status information.
+ "Function for getting battery status information.
The function has to return an alist of conversion definitions.
Its cons cells are of the form
"%L power, battery %B (%p%% load, remaining time %t)")
(battery-status-function
"Power %L, battery %B (%p%% load, remaining time %t)"))
- "*Control string formatting the string to display in the echo area.
+ "Control string formatting the string to display in the echo area.
Ordinary characters in the control string are printed as-is, while
conversion specifications introduced by a `%' character in the control
string are substituted as defined by the current value of the variable
"[%b%p%%,%d°C]")
(battery-status-function
"[%b%p%%]"))
- "*Control string formatting the string to display in the mode line.
+ "Control string formatting the string to display in the mode line.
Ordinary characters in the control string are printed as-is, while
conversion specifications introduced by a `%' character in the control
string are substituted as defined by the current value of the variable
:group 'battery)
(defcustom battery-update-interval 60
- "*Seconds after which the battery status will be updated."
+ "Seconds after which the battery status will be updated."
:type 'integer
:group 'battery)
(defcustom battery-load-low 25
- "*Upper bound of low battery load percentage.
+ "Upper bound of low battery load percentage.
A battery load percentage below this number is considered low."
:type 'integer
:group 'battery)
(defcustom battery-load-critical 10
- "*Upper bound of critical battery load percentage.
+ "Upper bound of critical battery load percentage.
A battery load percentage below this number is considered critical."
:type 'integer
:group 'battery)