Your message dated Sat, 06 Sep 2008 17:32:06 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#494992: fixed in acpi 1.1-2 has caused the Debian Bug report #494992, regarding acpi calculating (dis)charging time incorrectly to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [EMAIL PROTECTED] immediately.) -- 494992: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494992 Debian Bug Tracking System Contact [EMAIL PROTECTED] with problems
--- Begin Message ---Package: acpi Version: 1.1-1 Severity: normal Hello, I noticed today that the command "acpi" reported strange charging and dicharging times for my thinkpad: [EMAIL PROTECTED]:~$ acpi Battery 0: Discharging, 83%, 00:02:07 remaining [EMAIL PROTECTED]:~$ acpi Battery 0: Charging, 83%, 00:00:14 until charged While investigating the issue further, I noticed that the correct values were shifted to the right, so instead of displaying a charging time of 14 minutes, acpi calculated a remaining time of 14 seconds. I traced the issue down to the lines 289 and 297 in the file acpi.c: seconds = 60 * (design_capacity - remaining_capacity) / present_rate; [...] seconds = 60 * remaining_capacity / present_rate; Instead of converting the expression to the unit of seconds, it returns the value in minutes (since design_capacity has the unit of Wh). Replacing the 60 with the correct value of 3600 should fix the problem. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores) Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Shell: /bin/sh linked to /bin/bash Versions of packages acpi depends on: ii libc6 2.7-10 GNU C Library: Shared libraries acpi recommends no packages. acpi suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: acpi Source-Version: 1.1-2 We believe that the bug you reported is fixed in the latest version of acpi, which is due to be installed in the Debian FTP archive: acpi_1.1-2.diff.gz to pool/main/a/acpi/acpi_1.1-2.diff.gz acpi_1.1-2.dsc to pool/main/a/acpi/acpi_1.1-2.dsc acpi_1.1-2_i386.deb to pool/main/a/acpi/acpi_1.1-2_i386.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Michael Meskes <[EMAIL PROTECTED]> (supplier of updated acpi package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.8 Date: Fri, 05 Sep 2008 11:12:35 +0200 Source: acpi Binary: acpi Architecture: source i386 Version: 1.1-2 Distribution: unstable Urgency: low Maintainer: Debian Acpi Team <[EMAIL PROTECTED]> Changed-By: Michael Meskes <[EMAIL PROTECTED]> Description: acpi - displays information on ACPI devices Closes: 494992 Changes: acpi (1.1-2) unstable; urgency=low . * Applied upstream changes fixing some bugs: - wording in manpage with regard to default path for new interface - buffer underrun in parse_field() - calculation of (dis)charging time (seconds/minutes mismatch), closes: #494992 - do not use unsigned int if values can be negative * Changed maintainer to [EMAIL PROTECTED] Checksums-Sha1: 00d7d5d8ec57869805d613d38b7416662fdfc127 1005 acpi_1.1-2.dsc 32e8e3c91c1a71303e13577af3594c568c0f6749 5222 acpi_1.1-2.diff.gz 100d306dba392f3a82957b2581b0c639300f4994 14280 acpi_1.1-2_i386.deb Checksums-Sha256: 6560a8ac3224b6e33d8417f93fddaae13a87b119b7876a9c73ab5c4fb0bedce4 1005 acpi_1.1-2.dsc c339b4dbaaafe14fda7db0f4464fa376eb48689baf7cfd9fef13be850f8e7740 5222 acpi_1.1-2.diff.gz c49ef65ca5eadd499f3a9595ec63e62ebe44e2e072c99cdf34ddf1f49c8431f6 14280 acpi_1.1-2_i386.deb Files: d638d3ad138ecbf0b6520ae96203803f 1005 utils optional acpi_1.1-2.dsc 1febf97d247e5dd3a91e64a2a8bc379a 5222 utils optional acpi_1.1-2.diff.gz 80d59053a97879d579ea8068ee20fc46 14280 utils optional acpi_1.1-2_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQFIwrqKVkEm8inxm9ERAms+AKCG1EowDdNcqRK2ks1xA9EnGxBkzQCeLBpY gEIs4I5scpRMFxdLpbYhG3w= =yAAw -----END PGP SIGNATURE-----
--- End Message ---

