[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#561660: marked as done (sleepd: Only one battery is checked with --battery)



Your message dated Fri, 21 Jun 2024 12:44:00 +0000
with message-id <[🔎] E1sKdcW-00FyGs-31@fasolo.debian.org>
and subject line Bug#1073968: Removed package(s) from unstable
has caused the Debian Bug report #561660,
regarding sleepd: Only one battery is checked with --battery
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 owner@bugs.debian.org
immediately.)


-- 
561660: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561660
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: sleepd
Version: 2.01
Severity: normal


Test with:
# acpi
Battery 0: Discharging, 94%, 02:51:28 remaining
Battery 1: Unknown, 72%
# sleepd -n -v -E --sleep-command=beep --battery 99
sleepd[16422]: battery level 94% is below 99%; forcing hibernation

In my case (HP Compaq NC6400) Battery 0 is external, Battery 1 is internal.


Additional (but minor) effects can be seen if I connect the external
battery while sleepd is running:

# acpi; sleepd -n -v -E --sleep-command=beep --battery 99
Battery 0: Discharging, 72%, 01:47:11 remaining
sleepd[17064]: battery level 72% is below 99%; forcing hibernation
sleepd: activity: just woke up
sleepd[17064]: battery level 72% is below 99%; forcing hibernation
sleepd: activity: just woke up
unknown battery state
sleepd[17064]: battery level 72% is below 99%; forcing hibernation
sleepd: activity: just woke up
unknown battery state

Right before the first "unknown battery state" I connected the external
battery.

Or the other way round (disconnecting the external battery while sleepd is
running):

# acpi; sleepd -c 5 -n -v -E --sleep-command=beep --battery 99
Battery 0: Discharging, 92%, 02:47:58 remaining
Battery 1: Unknown, 72%
sleepd[18008]: battery level 92% is below 99%; forcing hibernation
sleepd: activity: just woke up
sleepd[18008]: battery level 92% is below 99%; forcing hibernation
sleepd: activity: just woke up
error: libhal_device_get_property_bool: org.freedesktop.Hal.NoSuchDevice: No device with id /org/freedesktop/Hal/devices/computer_power_supply_battery_C1B3
error: libhal_device_get_property_bool: org.freedesktop.Hal.NoSuchDevice: No device with id /org/freedesktop/Hal/devices/computer_power_supply_battery_C1B3
error: libhal_device_get_property_bool: org.freedesktop.Hal.NoSuchDevice: No device with id /org/freedesktop/Hal/devices/computer_power_supply_battery_C1B3


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (550, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sleepd depends on:
ii  libapm1                       3.2.2-14   Library for interacting with APM d
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries
ii  libdbus-1-3                   1.2.16-2   simple interprocess messaging syst
ii  libhal1                       0.5.13-6   Hardware Abstraction Layer - share
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip

Versions of packages sleepd recommends:
ii  hal                           0.5.13-6   Hardware Abstraction Layer
ii  pm-utils                      1.2.6.1-3  utilities and scripts for power ma

sleepd suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 2.11+rm

Dear submitter,

as the package sleepd has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1073968

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply to: