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

qi cathayan at gmail.com
Sat Feb 16 09:52:07 UTC 2008


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)

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xfce4-battery-plugin depends on:
ii  libatk1.0-0                   1.20.0-1   The ATK accessibility toolkit
ii  libc6                         2.7-8      GNU C Library: Shared libraries
ii  libcairo2                     1.4.14-1   The Cairo 2D vector graphics libra
ii  libglib2.0-0                  2.14.6-1   The GLib library of C routines
ii  libgtk2.0-0                   2.12.8-1   The GTK+ graphical user interface 
ii  libpango1.0-0                 1.18.4-1   Layout and rendering of internatio
ii  libxfce4util4                 4.4.2-1    Utility functions library for Xfce
ii  libxfcegui4-4                 4.4.2-1    Basic GUI C functions for Xfce4
ii  xfce4-panel                   4.4.2-2    The Xfce4 desktop environment pane

xfce4-battery-plugin recommends no packages.

-- no debconf information





More information about the Pkg-xfce-devel mailing list