Bug#624557: inhibit applet should also inhibit suspend on lid close

Gerfried Fuchs rhonda at debian.org
Fri Apr 29 15:50:08 UTC 2011


Package: gnome-power-manager
Version: 2.32.0-2
Severity: minor
File: /usr/lib/gnome-power-manager/gnome-inhibit-applet
Tags: upstream

        Hi!

 I'm a bit uncertain when the inhibit actually would inhibit suspend. It
doesn't seem to do that though on lid close, which I would expect. At
times, when I'm on the road, I like to use my laptop as music player,
but in general would like it to suspend on lid close nevertheless.
Somehow I assumed that the applet would enable me to do that.

 There is a workaround, using the suspend function key on my laptop and
let the powermanager settings set to just blank the screen on lid close,
I guess a configure option for also supressing suspend on lid close
though could be very helpful.

 Thanks for considering adding it,
Rhonda

-- Package-specific info:
Distro version:       wheezy/sid
Kernel version:       2.6.38-2-amd64
g-p-m version:        2.32.0
HAL version:          0.5.14
System manufacturer:  missing
System version:       missing
System product:       missing
AC adapter present:   yes
Battery present:      yes
Laptop panel present: yes
CPU scaling present:  no
Battery Information:
  battery.charge_level.current = 24408  (0x5f58)  (int)
  battery.charge_level.design = 47520  (0xb9a0)  (int)
  battery.charge_level.last_full = 47520  (0xb9a0)  (int)
  battery.charge_level.percentage = 51  (0x33)  (int)
  battery.charge_level.rate = 13597  (0x351d)  (int)
  battery.is_rechargeable = true  (bool)
  battery.model = 'Primary'  (string)
  battery.present = true  (bool)
  battery.rechargeable.is_charging = false  (bool)
  battery.rechargeable.is_discharging = true  (bool)
  battery.remaining_time = 6462  (0x193e)  (int)
  battery.reporting.current = 2260  (0x8d4)  (int)
  battery.reporting.design = 4400  (0x1130)  (int)
  battery.reporting.last_full = 4400  (0x1130)  (int)
  battery.reporting.rate = 1259  (0x4eb)  (int)
  battery.reporting.technology = 'Li-ion'  (string)
  battery.reporting.unit = 'mAh'  (string)
  battery.serial = '10315 2008/06/23'  (string)
  battery.technology = 'lithium-ion'  (string)
  battery.type = 'primary'  (string)
  battery.vendor = 'Hewlett-Packard'  (string)
  battery.voltage.current = 11187  (0x2bb3)  (int)
  battery.voltage.design = 10800  (0x2a30)  (int)
  battery.voltage.unit = 'mV'  (string)
UPower data:
Device: /org/freedesktop/UPower/devices/line_power_C23B
  native-path:          /sys/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/C23B
  power supply:         yes
  updated:              Fri Apr 29 06:40:19 2011 (39814 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    online:             no

Device: /org/freedesktop/UPower/devices/battery_C23D
  native-path:          /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/C23D
  vendor:               Hewlett-Packard
  model:                Primary
  serial:               10315 2008/06/23
  power supply:         yes
  updated:              Fri Apr 29 17:43:44 2011 (9 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    energy:              24.408 Wh
    energy-empty:        0 Wh
    energy-full:         47.52 Wh
    energy-full-design:  47.52 Wh
    energy-rate:         13.5972 W
    voltage:             11.187 V
    time to empty:       1.8 hours
    percentage:          51.3636%
    capacity:            100%
    technology:          lithium-ion
  History (charge):
    1304091764	51.364	discharging
    1304091748	51.523	discharging
  History (rate):
    1304091764	13.597	discharging
    1304091748	15.293	discharging

Daemon:
  daemon-version:  0.9.9
  can-suspend:     yes
  can-hibernate    yes
  on-battery:      yes
  on-low-battery:  no
  lid-is-closed:   no
  lid-is-present:  yes
  is-docked:       no
GNOME Power Manager Process Information:
rhonda    4435  0.0  0.5  94432 10660 ?        S    Apr27   0:03              \_ gnome-power-manager
rhonda   21270  0.0  0.6  99868 12728 ?        S    Apr27   0:01 /usr/lib/gnome-power-manager/gnome-inhi
HAL Process Information:
109       2700  0.0  0.1  14912  3692 ?        Ssl  Apr27   0:04 /usr/sbin/hald
root      2701  0.0  0.0   3664  1248 ?        S    Apr27   0:00  \_ hald-runner
root      2763  0.0  0.0   3728  1020 ?        S    Apr27   0:09      \_ hald-addon-input: Listening on 
root      2775  0.0  0.0   3728  1012 ?        S    Apr27   0:00      \_ /usr/lib/hal/hald-addon-rfkill-
root      2788  0.0  0.0   3724  1016 ?        S    Apr27   0:00      \_ /usr/lib/hal/hald-addon-generic
root      2789  0.0  0.0   3728  1008 ?        S    Apr27   0:00      \_ /usr/lib/hal/hald-addon-leds
109       2817  0.0  0.0   3496  1140 ?        S    Apr27   0:00      \_ hald-addon-acpi: listening on a
root     27819  0.0  0.0   3732  1036 ?        S    06:40   0:00      \_ hald-addon-storage: no polling 

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

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

Versions of packages gnome-power-manager depends on:
ii  consolekit                    0.4.4-1    framework for defining and trackin
ii  dbus-x11                      1.4.6-1    simple interprocess messaging syst
ii  gconf2                        2.28.1-6   GNOME configuration database syste
ii  libbonobo2-0                  2.24.3-1   Bonobo CORBA interfaces library
ii  libc6                         2.11.2-11  Embedded GNU C Library: Shared lib
ii  libcairo2                     1.10.2-6   The Cairo 2D vector graphics libra
ii  libcanberra-gtk0              0.24-1     Gtk+ helper for playing widget eve
ii  libcanberra0                  0.24-1     a simple abstract interface for pl
ii  libdbus-1-3                   1.4.6-1    simple interprocess messaging syst
ii  libdbus-glib-1-2              0.92-1     simple interprocess messaging syst
ii  libgconf2-4                   2.28.1-6   GNOME configuration database syste
ii  libglib2.0-0                  2.28.6-1   The GLib library of C routines
ii  libgnome-keyring0             2.32.0-1   GNOME keyring services library
ii  libgtk2.0-0                   2.24.4-3   The GTK+ graphical user interface 
ii  libnotify1 [libnotify1-gtk2.1 0.5.0-2    sends desktop notifications to a n
ii  libpanel-applet2-0            2.30.2-4   library for GNOME Panel applets
ii  libpango1.0-0                 1.28.3-6   Layout and rendering of internatio
ii  libunique-1.0-0               1.1.6-2    Library for writing single instanc
ii  libupower-glib1               0.9.9-4    abstraction for power management -
ii  libx11-6                      2:1.4.3-1  X11 client-side library
ii  libxext6                      2:1.2.0-2  X11 miscellaneous extension librar
ii  libxrandr2                    2:1.3.1-1  X11 RandR extension library
ii  notification-daemon           0.5.0-2    daemon to displays passive pop-up 
ii  upower                        0.9.9-4    abstraction for power management

Versions of packages gnome-power-manager recommends:
ii  udisks                        1.0.2-4    storage media interface

Versions of packages gnome-power-manager suggests:
ii  policykit-1                   0.101-4    framework for managing administrat

-- no debconf information





More information about the pkg-gnome-maintainers mailing list