Your message dated Mon, 01 Oct 2012 17:17:29 +0000
with message-id <[email protected]>
and subject line Bug#669020: fixed in fdpowermon 1.6
has caused the Debian Bug report #669020,
regarding fdpowermon doesn't handle battery state 'Full'
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.)
--
669020: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=669020
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fdpowermon
Version: 1.5
Severity: minor
Tags: patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Today fdpowermon didn't show me an icon but only an empty space.
After a little debugging I found that it doesn't handle the current
output of acpi -b:
% acpi -b
Battery 0: Full, 100%
Find attached a quick patch; I hope I understand the logic more or
less right :)
Cheers,
gregor
- -- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'experimental'), (500, 'testing'), (500,
'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.3.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_AT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages fdpowermon depends on:
ii acpi 1.6-1
ii fdpowermon-icons 1.5
ii libgtk2-perl 2:1.242-1
ii perl 5.14.2-9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJPjDpCAAoJELs6aAGGSaoGCZEP/iWJt7TiFEGNgmmxSDs0LZAH
DZbKlSGbLQWZpPA+3OS+5P1zPW7SbKFfB3bKRLQfv1ciWgUNU2YMDiIttswg22Cd
QzgInAK1gMAGHw1aQBBCnryBXBoqBA0qUFw0tyZe9hevoF6pq7hwH3/uTvTssbSk
N0fkoXgpbbKS1ZVUzuk11mKIdhao58nD3ZpQf0QHwFD0UalNgWmhW65jybU5X7e4
02P7eGDYZ6LFSZcT3JtZT2V4W7Q6TO/WyyoD+9Akkmh8fp4qQ2pl/7o6b/G2RqPB
WYrBbIOftOHOlARQmDXaBlSQNRJ7c6TWxV3WoGXv0hQ6iRU555HrIrKe6q/Hm+LZ
+wziC2xkevY3MxuDFN0CK70XXRk/pd2YQdDKIsS0Ve0nKsz8NZol20yLEJVyfM+X
roYzarqCRmXiCeTmR/hPYvPuoh5IRYFKt7guLRRImu9xavAntb/709WKH6ly4MpY
ycWVt/eNEoFn+1ForVfEA94d00P5wnRBKI1Ppdn15DOq+l/QV77/tsu7CGZWMrMx
JYMi1LAhRaw02xozBnDTVfJoHxoqUfUO/oHZj6Al1csvX0XMJOY4WBdftScREQy7
j0I/7QV+5CNxaaLiPs4MtyGMusyaE17E/FoVkSp2/UYxz5GfmBZjlnVzsstxPeGC
LXp+NIoma+OvVEpvwLmX
=X263
-----END PGP SIGNATURE-----
--- fdpowermon.orig 2012-04-16 16:47:45.415892396 +0200
+++ fdpowermon 2012-04-16 17:22:27.410760405 +0200
@@ -25,7 +25,7 @@
open my $acpi, "acpi -b |";
while ($acpi_output = <$acpi>) {
chomp $acpi_output;
- if ($acpi_output =~ /^Battery (\d): ((Dis)?[Cc]harging|Unknown), ((\d)+)%(, ([\d:]*))?/) {
+ if ($acpi_output =~ /^Battery (\d): ((Dis)?[Cc]harging|Unknown|Full), ((\d)+)%(, ([\d:]*))?/) {
$bat = $1;
$state = $2;
$level = $4;
@@ -44,6 +44,9 @@
} elsif($state =~/Charging/) {
$step = $theme->{charging};
$charging = 1;
+ } elsif($state =~/Full/) {
+ $step = $theme->{discharging};
+ $charging = 1;
} else {
$step = $theme->{charging};
}
--- End Message ---
--- Begin Message ---
Source: fdpowermon
Source-Version: 1.6
We believe that the bug you reported is fixed in the latest version of
fdpowermon, which is due to be installed in the Debian FTP archive.
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.
Wouter Verhelst <[email protected]> (supplier of updated fdpowermon 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: Mon, 01 Oct 2012 18:53:29 +0200
Source: fdpowermon
Binary: fdpowermon fdpowermon-icons
Architecture: source all
Version: 1.6
Distribution: unstable
Urgency: low
Maintainer: Wouter Verhelst <[email protected]>
Changed-By: Wouter Verhelst <[email protected]>
Description:
fdpowermon - simple battery power monitor for laptops with ACPI
fdpowermon-icons - icons for fdpowermon
Closes: 669020 672280
Changes:
fdpowermon (1.6) unstable; urgency=low
.
* The "procrastinating sucks" release.
* Allow more than nine steps; patch from Gregor Herrman. Closes:
#672280.
* Parse "battery full" state correctly. Closes: #669020
* Use notifications rather than dialog boxes, so we don't steal the focus
accidentally
Checksums-Sha1:
0ae380b7c8fabca7c395750e9c18b1cd92334fd0 1561 fdpowermon_1.6.dsc
801307c97d3b99e52469985af16cfbe785cd8a10 15067 fdpowermon_1.6.tar.gz
a01c301926e2b5caf89643a8ad1a0535807c2964 5298 fdpowermon_1.6_all.deb
f8ef46b1316be93d9a282550962c8582a900dc64 14336 fdpowermon-icons_1.6_all.deb
Checksums-Sha256:
10382e8503738649ffe6de880b987b88ad336903522bcac15d4e28d4a0dc3921 1561
fdpowermon_1.6.dsc
e960215983730434ccaaf3ff455de3efcd4006c4290ca1cb2a2fd5c52e4e9958 15067
fdpowermon_1.6.tar.gz
70f6074f650030878f8f8a67df234a07af89e94040fc44787d657405670b4149 5298
fdpowermon_1.6_all.deb
eccb3ec3254ebcb1a20c0e3cb2cd8257ed32c835440aa56d021dffd4b12d9bb8 14336
fdpowermon-icons_1.6_all.deb
Files:
67d5399c697538ef991624130398eca3 1561 x11 extra fdpowermon_1.6.dsc
b00279b912b3e11acfe87c16dd31db0d 15067 x11 extra fdpowermon_1.6.tar.gz
718bad28cfeb4a8886274423fafa821f 5298 x11 extra fdpowermon_1.6_all.deb
dd6bea3b0c76a5f465162f12c5d41821 14336 x11 extra fdpowermon-icons_1.6_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBAgAGBQJQacwBAAoJEMKUD5Ub3wqdyPIP/i2B0sQHJ0K/25pSUMVfF05o
WQ9mdhM3YHTOSGBcCgfD+qQl0LAgJcFv8rsDGEACgkg+2iI6+HWoVyNGduNEmLuz
XbT0L9229vz3GYcPxUjlrSvhm1BSMP+DqRMOp/o6CP0eVhYuIB3izjgohGCc6NBC
vNdZNC92PiUZNBZy2X+G9nTozCsgGBoBPJuRiLbpEWZS0CuHY2FvjBwjWixldQhP
FId9R7/lzlykLLGKBZq6MQY/allRE/ekt/YndPlMeflqZ4UC+AAMnk3EVj/RE8FM
gHk/Tuz6Zj5DsL2L6sCvw3VLKbx30wHVFop5MJUrVu+rk8RSoL06pL31G3/i5O+S
eXIcrGY8TcXqhgU+mRUbEb3v3f2rwSIdptDhY5f7W8JJ6u1KIUlTyGt6yJDbonee
H75T9fjeuVfVmWAr58skvCOYXr5uXtN5i+arSg5kCHVZlc06om/iim8kILUNeEHs
CuIBNoc7vO55K0K9JjJn7/tQu1g3cFTk/HpV0yU4xCHq+cWVM3SQsz6lPRn8iEe/
h/p24RczbpNMJY4mo9ZZ0Rq6CJ7omRlt1Dv74hHRD3KV3zYKxOwbsi8foPkLUopD
XHaLqpPaq0/PnlWJ5ORhmXfRSuDcV+qvuwS9hsQcsbR7vO09FI5IKvu7x+8NtA+6
eHJ3zt3hZfgDCwrMUv2L
=AF36
-----END PGP SIGNATURE-----
--- End Message ---