[fleclainche at wanadoo.fr: Battery plugin]

edscott wilson garcia edscott at imp.mx
Wed Sep 3 23:21:33 CEST 2003


On Wed, 2003-09-03 at 10:51, Francois Le Clainche wrote:
> Hi.
> 
> I know acpi is a pain...
> 
> This mail is still valid.

AFAIK, only one battery is supported. Your setup shows BAT1, which would
correspond to the second battery. The first battery should be BAT0.
Applying the acpi patches to 2.4.21 you should get BAT0. Try 2.4.21 with
patches to see if the nomenclature for batteries changed from
2.4.21-patched to 2.4.22-pre8.

regards,

Edscott
 
> 
> Regards
> François
> 
> ----- Forwarded message from Francois Le Clainche <fleclainche at wanadoo.fr> -----
> 
> Date: Fri, 8 Aug 2003 20:06:30 +0200
> User-Agent: Mutt/1.5.4i
> From: Francois Le Clainche <fleclainche at wanadoo.fr>
> To: xfce-goodies-dev <xfce-goodies-dev at lists.berlios.de>
> Subject: Battery plugin
> 
> Hi,
> 
> I've just compiled xfce4-battery-plugin from cvs.
> It does not work with acpi : the battery percentage always shows 0%.
> 
> I use a stock 2.4.22-pre8 Linux kernel, which does not require an
> acpi patch anymore to work well on my laptop.
> 
> The current released version of this plugin works well.
> 
> Side note : the "display percentage in tooltip" and "display remaining
> time in tooltip" options are inverted in the settings dialog.
> 
> FYI:
> 
> francois at dumbbell:~$ cat /proc/acpi/battery/BAT1/info 
> present:                 yes
> design capacity:         44400 mWh
> last full capacity:      44400 mWh
> battery technology:      rechargeable
> design voltage:          14800 mV
> design capacity warning: 400 mWh
> design capacity low:     384 mWh
> capacity granularity 1:  64 mWh
> capacity granularity 2:  64 mWh
> model number:            PCGA-BP71A 
> serial number:           20387   
> battery type:            LION 
> OEM info:                Sony Corp.
> 
> francois at dumbbell:~$ cat /proc/acpi/battery/BAT1/state 
> present:                 yes
> capacity state:          ok
> charging state:          charging
> present rate:            800 mW
> remaining capacity:      42880 mWh
> present voltage:         17120 mV
> 
> Regards
> François
> 
> ----- End forwarded message -----




More information about the Xfce4-dev mailing list