Package: battery-stats
Version: 0.5.1-1
Severity: normal

Dear Maintainer,

   * What led up to the situation?

email every 10 minutes after installing battery-stats , with the following
content:

  /usr/share/battery-stats/collect-csv: line 86: cd: BAT*: No such file or
  +directory


Laptop does not have battery installed.  If battery is not present, then the
directory:

  /sys/class/power_supply/BAT*

will not be present.  Script does not check for that condition.

Note, if the battery is installed, then  /sys/class/power_supply/BAT*  is
present and no errors (or emails) generated.




-- System Information:
Debian Release: stretch/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 4.4.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages battery-stats depends on:
ii  gzip       1.6-5
ii  logrotate  3.8.7-2

Versions of packages battery-stats recommends:
ii  gnuplot  4.6.6-3
ii  python   2.7.11-1

battery-stats suggests no packages.

-- no debconf information

Reply via email to