Your message dated Fri, 11 Mar 2016 22:49:08 +0000
with message-id <[email protected]>
and subject line Bug#574678: fixed in battery-stats 0.3.6-2
has caused the Debian Bug report #574678,
regarding init_acpi_acadapt() returned NOT_SUPPORTED.
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.)


-- 
574678: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574678
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: battery-stats
Version: 0.3.6-1
Severity: normal
File: /usr/sbin/battery-stats-collector

I get this:

    $ sudo battery-stats-collector
    battery-stats-collector: Using libacpi.
    battery-stats-collector: Number of batteries: 2.
    battery-stats-collector: Reading info from battery 0 only.
    battery-stats-collector: init_acpi_acadapt() returned NOT_SUPPORTED.

I only have one battery.  I guess it thinks AC0 is "battery":

    $ find /sys/class/power_supply/*/ -type f -exec grep . {} +
    /sys/class/power_supply/AC0/uevent:POWER_SUPPLY_NAME=AC0
    /sys/class/power_supply/AC0/uevent:POWER_SUPPLY_TYPE=Mains
    /sys/class/power_supply/AC0/uevent:POWER_SUPPLY_ONLINE=0
    /sys/class/power_supply/AC0/type:Mains
    /sys/class/power_supply/AC0/online:0
    /sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_NAME=BAT0
    /sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_TYPE=Battery
    /sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_STATUS=Discharging
    /sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_PRESENT=1
    /sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_TECHNOLOGY=Li-ion
    /sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_VOLTAGE_MIN_DESIGN=10800000
    /sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_VOLTAGE_NOW=11970000
    /sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CURRENT_NOW=822000
    /sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CHARGE_FULL_DESIGN=4400000
    /sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CHARGE_FULL=4500000
    /sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CHARGE_NOW=4064000
    /sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_MODEL_NAME=1005P
    /sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_MANUFACTURER=ASUS
    /sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_SERIAL_NUMBER=
    /sys/class/power_supply/BAT0/type:Battery
    /sys/class/power_supply/BAT0/status:Discharging
    /sys/class/power_supply/BAT0/present:1
    /sys/class/power_supply/BAT0/technology:Li-ion
    /sys/class/power_supply/BAT0/voltage_min_design:10800000
    /sys/class/power_supply/BAT0/voltage_now:11970000
    /sys/class/power_supply/BAT0/current_now:822000
    /sys/class/power_supply/BAT0/charge_full_design:4400000
    /sys/class/power_supply/BAT0/charge_full:4500000
    /sys/class/power_supply/BAT0/charge_now:4064000
    /sys/class/power_supply/BAT0/model_name:1005P
    /sys/class/power_supply/BAT0/manufacturer:ASUS
    /sys/class/power_supply/BAT0/serial_number:
    /sys/class/power_supply/BAT0/alarm:0

Given that /sys/ is pretty ubiquitous these days, could/should the
data collection be rewritten as a simple script that cats such files
as the above?

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.33-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages battery-stats depends on:
ii  gnuplot                       4.2.6-1    A command-line driven interactive 
ii  gzip                          1.3.12-9   GNU compression utilities
ii  libacpi0                      0.2-4      general purpose library for ACPI
ii  libapm1                       3.2.2-14   Library for interacting with APM d
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared lib
ii  logrotate                     3.7.8-4    Log rotation utility

battery-stats recommends no packages.

battery-stats suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: battery-stats
Source-Version: 0.3.6-2

We believe that the bug you reported is fixed in the latest version of
battery-stats, 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.
Petter Reinholdtsen <[email protected]> (supplier of updated battery-stats 
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: SHA256

Format: 1.8
Date: Fri, 11 Mar 2016 22:35:16 +0000
Source: battery-stats
Binary: battery-stats
Architecture: source
Version: 0.3.6-2
Distribution: unstable
Urgency: medium
Maintainer: Petter Reinholdtsen <[email protected]>
Changed-By: Petter Reinholdtsen <[email protected]>
Description:
 battery-stats - collects statistics about charge of laptop batteries
Closes: 574678 648294 738807 817888
Changes:
 battery-stats (0.3.6-2) unstable; urgency=medium
 .
   * Become a co-maintainer.
   * Reorder and reformat dependencies.
   * Switch debhelper from version 7 to 9.
   * Acknowledge NMU (Closes: #817888).
 .
 battery-stats (0.3.6-1.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Dropped 01-skip-non-battery.patch and build-depend on
     libacpi-dev (>= 0.2-4.1) as the workaround is no longer needed.
 .
 battery-stats (0.3.6-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Replace homepage URL in control file with a working one. (Closes: #738807)
   * Fix typo in package description (patters->patterns). (Closes: #648294)
   * Add gbp.conf file to enforce use of pristine-tar.
   * Updated Standards-Version from 3.8.3 to 3.9.7.
   * Removed menu file, only need desktop file.
   * Added code to source /lib/lsb/init-functions in init.d script to
     work well with systemd.
   * Drop obsolete DM-Upload-Allowed field from control file.
   * Added Vcs-* links to control file.
   * Changed build dependencies to allow building with gnuplot-qt.
   * Switch to source format 3.0 (quilt).
   * Added 01-skip-non-battery.patch to skip AC "battery". (Closes: 574678)
Checksums-Sha1:
 8a6701cf9f62519bc4706d43f4243f52196a9280 2090 battery-stats_0.3.6-2.dsc
 667a020fdd2392663ce0e6f0ad562f1bb89f767d 5780 
battery-stats_0.3.6-2.debian.tar.xz
Checksums-Sha256:
 8b2ae338cff3c134c55aaa68d12467b5b02c4a9de58971b484e91bb2f8ed33f3 2090 
battery-stats_0.3.6-2.dsc
 8f8d00b91ab93ce55c11a642e057e0ef6269a000a7afb5510b6c87e3978d7152 5780 
battery-stats_0.3.6-2.debian.tar.xz
Files:
 b8b223214860ed8781c2f9547610bdfc 2090 admin extra battery-stats_0.3.6-2.dsc
 fd49deda163b7726be28dc522f54dae8 5780 admin extra 
battery-stats_0.3.6-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJW40lIAAoJEIEoCqCHuvsOLxoP+QHorFbpYhrWGPpfVnMH6O8E
ZN65N8bUKKOWycxT3byiXWAB/r/FSpHaSucpZONJVmfqUvlEgolq5YGcseKL2Q7T
I0YvQ71aL7u9oMkkwNzP4GlyoOiJVoWmBuzFoONpRSOcCipIeMhMCiO4EBieWdci
P++uikkNpTAMURb3vith54Gi1SSLpDJHH9hosFU9PSPoGNmNvyVTEyjuzamyJZ7s
SEMF9tKcs0bUf6DtqBAAgtCmAf7cb8A65zSZ4iMgGIHfsy0eTiswGFRp3obCGqgu
mrSntKv7H2EQD/QLO8/zeWe1Cf/0zYG64VHxtfBPElyh/Jzc9ynuwBtWzx3Q8bAI
sOKSvVhXLkD+e20nkL6MxHP4fTV46Qo04YnyBGq8Y4yY7InV5yZX2mSDoOId1A9+
zP5gPVEYUuFp/AWpL3WzbuoDb0hkY/fxFGOyjN8j5JAkllClqcyr91oeZhXGLNSQ
lkKqcwJvwthcaHYd3xVqPdy9YvtDr469B2OEv9DyRZ3YenFytC5A0SlZkcfHIC9P
kf33BpStBkqUjHNNhYxCrRwqBhjyNpyfgHe/Jll4P7kCbaagl33FMETOuOhGORnk
lqXiDIEI8PR6t/zwwyyEpMrqAFV5xXfdW91BrAZzX2VSiPd4EsLcN49AasnRj0Ce
JfH6GBNW8pVRsB7A1UV/
=OdZp
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to