[fleclainche at wanadoo.fr: Battery plugin]

Francois Le Clainche fleclainche at wanadoo.fr
Wed Sep 3 17:51:00 CEST 2003


Hi.

I know acpi is a pain...

This mail is still valid.

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 -----

-- 
F. Le Clainche - PGP key: http://perso.wanadoo.fr/flc.web/pgp.html
http://www.debian.org/ - free, stable, secure operating system
http://www.xfce.org/ - free, lightweight desktop environment



More information about the Xfce4-dev mailing list