Bug#393617: wmacpi: Wrong data being displayed
Hi Simon! Sorry for the delay. On 10/19/06, Simon Fowler <[EMAIL PROTECTED]> wrote: Unfortunately I'll need some more details than that - can you send me the contents of your /proc/acpi/battery/*/info and state files while the batteries are charging, and when they're fully charged? Just doing 'cat /proc/acpi/battery/*/* >/tmp/batteries-charging' and so forth should work. Also, the same for /proc/acpi/ac_adapter. Attached. I don't know how wmacpi reads the state of the battery, but I saw some programs reading the "charging state" string and getting the first char. For example: charging state: charging Then they will get the first "c" of "charging" and do a test like "if char = 'c' then state = charging" But since "charged" also starts with "c", it will wrongly thinks that the battery is still charging, while it's already charged. And about wmacpi displaying the wrong remaining time. If I unplug the AC adapter, it takes 3 minutes (or a little more) to it starts displaying the correct remaining time. What happens is: I unplug the power cord; wmacpi displays a very high remaining time (something like 80 hours or more); Time pass and the displayed remaining time keeps lowering (but always displaying the wrong time); After 3 minutes, it starts displaying the correct remaining time. Using "acpi -V" I can get the remaining time correctly even after unplugging the power cord. Also, what kind of laptop is this? It's a Dell D520. Thanks for the bug report! I that have to say thank you! :-) If you need more info, please, ask me. Best regards, Nelson battery.tar.gz Description: GNU Zip compressed data
Bug#393617: wmacpi: Wrong data being displayed
> Delivery-date: Tue, 17 Oct 2006 18:59:07 +1300 > Subject: Bug#393617: wmacpi: Wrong data being displayed > Reply-To: "Nelson A. de Oliveira" <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > Resent-To: debian-bugs-dist@lists.debian.org > X-Debian-PR-Message: report 393617 > X-Debian-PR-Package: wmacpi > X-Debian-PR-Keywords: > X-Debian-PR-Source: wmacpi > From: "Nelson A. de Oliveira" <[EMAIL PROTECTED]> > To: Debian Bug Tracking System <[EMAIL PROTECTED]> > X-Mailer: reportbug 3.30 > Date: Mon, 16 Oct 2006 23:53:39 -0300 > X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on > vs2066161.netfabrik.de > X-Spam-Level: > X-Spam-Status: No, score=-2.6 required=2.0 tests=BAYES_00 autolearn=ham > version=3.0.3 > > Package: wmacpi > Version: 2.1-6 > Severity: normal > > Hi! > > wmacpi is displaying two wrong things here: it keeps saying "BATTERY > CHARGING" (with the power glyph blinking), even with the battery > charged: > > $ acpi -V > Battery 1: charged, 100% > Thermal 1: ok, 41.0 degrees C > AC Adapter 1: on-line > > Also, when using the battery, it wrongly displays the remaining time of > the battery. > Unfortunately I'll need some more details than that - can you send me the contents of your /proc/acpi/battery/*/info and state files while the batteries are charging, and when they're fully charged? Just doing 'cat /proc/acpi/battery/*/* >/tmp/batteries-charging' and so forth should work. Also, the same for /proc/acpi/ac_adapter. Also, what kind of laptop is this? It's possible the kernel interfaces that wmacpi uses have changed somewhat in 2.6.18, so that may be the cause of the issues, or it may be your laptop reporting things in a way that wmacpi doesn't recognise - either way, it's something I'd like to fix. Thanks for the bug report! Simon -- PGP public key Id 0x144A991C, or http://himi.org/stuff/himi.asc (crappy) Homepage: http://himi.org doe #237 (see http://www.lemuria.org/DeCSS) My DeCSS mirror: ftp://himi.org/pub/mirrors/css/ signature.asc Description: Digital signature
Bug#393617: wmacpi: Wrong data being displayed
Package: wmacpi Version: 2.1-6 Severity: normal Hi! wmacpi is displaying two wrong things here: it keeps saying "BATTERY CHARGING" (with the power glyph blinking), even with the battery charged: $ acpi -V Battery 1: charged, 100% Thermal 1: ok, 41.0 degrees C AC Adapter 1: on-line Also, when using the battery, it wrongly displays the remaining time of the battery. Thank you! Best regards, Nelson -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.18-mm1 Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Versions of packages wmacpi depends on: ii libc62.3.6.ds1-6 GNU C Library: Shared libraries ii libdockapp2 1:0.5.0-1.3 Window Maker Dock App support (sha ii libx11-6 2:1.0.3-2 X11 client-side library Versions of packages wmacpi recommends: ii wmaker0.92.0-5.3 NeXTSTEP-like window manager for X -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]