[Pkg-xfce-devel] Bug#466058: Bug#466058: xfce4-battery-plugin: xfce4 battery plugin gives wrong infomation with linux kernel 2.6.24

Yves-Alexis Perez corsac at debian.org
Tue Feb 19 12:36:59 UTC 2008


On Sat, Feb 16, 2008 at 09:52:07AM +0000, qi wrote:
> Package: xfce4-battery-plugin
> Version: 0.5.0-4
> Severity: important
> 
> I am using Debian Sid on a Dell laptop, and the xfce4-battery-plugin show wrong
> infomation after updated to linux-image-2.6.24. It shows right when getting up, 
> but turns to be 28% after several seconds. At the same time, acpi -b and
> lshal are all giving right numbers. What is the problem?
> maybe it is a dell problem?
> 
> ~$ acpi -b
>      Battery 1: charged, 100%
> 
> ~$ lshal |grep battery
>   battery.alarm.design = 480  (0x1e0)  (int)
>   battery.alarm.unit = 'mAh'  (string)
>   battery.charge_level.capacity_state = 'ok'  (string)
>   battery.charge_level.current = 55433  (0xd889)  (int)
>   battery.charge_level.design = 53280  (0xd020)  (int)
>   battery.charge_level.granularity_1 = 532  (0x214)  (int)
>   battery.charge_level.granularity_2 = 532  (0x214)  (int)
>   battery.charge_level.last_full = 55433  (0xd889)  (int)
>   battery.charge_level.low = 1609  (0x649)  (int)
>   battery.charge_level.percentage = 100  (0x64)  (int)
>   battery.charge_level.rate = 0  (0x0)  (int)
>   battery.charge_level.unit = 'mWh'  (string)
>   battery.charge_level.warning = 5328  (0x14d0)  (int)
>   battery.is_rechargeable = true  (bool)
>   battery.model = 'DELL C95537'  (string)
>   battery.present = true  (bool)
>   battery.rechargeable.is_charging = false  (bool)
>   battery.rechargeable.is_discharging = false  (bool)
>   battery.reporting.current = 4994  (0x1382)  (int)
>   battery.reporting.design = 4800  (0x12c0)  (int)

Can you ls /sys/class/power_supply and give the result here?

Cheers,
-- 
Yves-Alexis





More information about the Pkg-xfce-devel mailing list