Bug#783027: gnome-control-center: "When battery power is critical" don't offer "hibernate" without package "laptop-mode-tools"

Frank Dietrich frank.dietrich at gmx.li
Mon Apr 20 20:19:30 UTC 2015


Package: gnome-control-center
Version: 1:3.14.2-3
Severity: normal

Dear Maintainer,

   * What led up to the situation?

Even the package "laptop-mode-tools" isn't installed it is possible to select
"hibernate" as action "when battery power is critical". The setting is taken
and as soon the battery is critical the laptop switches off. There is no
warning before and more dangerous there is no warning in the settings that
hibernate will not be possible.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

It took a while to figure out what was the problem. "sudo pm-hibernate" was
working as expected but not the "hibernate" mode "when batters power is
critical".

   * What was the outcome of this action?

After some investigation I found out that the package "laptop-mode-tools" must
be installed to have this feature working.
Installing the package "laptop-mode-tools" and enabling
"ENABLE_AUTO_HIBERNATION=1" in /etc/laptop-mode/conf.d/auto-hibernate.conf
solved the problem. When the battery power becomes critical the laptop goes
into hibernate mode.

   * What outcome did you expect instead?

When the "laptop-mode-tools" package is not installed the mode "hibernate"
should either not be offered in the setting for "When battery power is
critical" or there should be a warning that this mode cannot be selected
without installing the package first.

cheers
Frank



-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gnome-control-center depends on:
ii  accountsservice            0.6.37-3+b1
ii  apg                        2.2.3.dfsg.1-2
ii  colord                     1.2.1-1+b2
ii  desktop-file-utils         0.22-1
ii  gnome-control-center-data  1:3.14.2-3
ii  gnome-desktop3-data        3.14.1-1
ii  gnome-icon-theme           3.12.0-1
ii  gnome-icon-theme-symbolic  3.12.0-1
ii  gnome-settings-daemon      3.14.2-3
ii  gsettings-desktop-schemas  3.14.1-1
ii  libaccountsservice0        0.6.37-3+b1
ii  libatk1.0-0                2.14.0-1
ii  libc6                      2.19-17
ii  libcairo-gobject2          1.14.0-2.1
ii  libcairo2                  1.14.0-2.1
ii  libcanberra-gtk3-0         0.30-2.1
ii  libcanberra0               0.30-2.1
ii  libcheese-gtk23            3.14.1-2
ii  libcheese7                 3.14.1-2
ii  libclutter-1.0-0           1.20.0-1
ii  libclutter-gtk-1.0-0       1.6.0-1
ii  libcolord-gtk1             0.1.25-1.1+b1
ii  libcolord2                 1.2.1-1+b2
ii  libcups2                   1.7.5-11
ii  libdbus-glib-1-2           0.102-1
ii  libfontconfig1             2.11.0-6.3
ii  libgdk-pixbuf2.0-0         2.31.1-2+b1
ii  libgl1-mesa-glx [libgl1]   10.3.2-1
ii  libglib2.0-0               2.42.1-1
ii  libgnome-bluetooth13       3.14.0-2
ii  libgnome-desktop-3-10      3.14.1-1
ii  libgoa-1.0-0b              3.14.2-1
ii  libgoa-backend-1.0-1       3.14.2-1
ii  libgrilo-0.2-1             0.2.11-2
ii  libgtk-3-0                 3.14.5-1
ii  libgtop2-7                 2.28.5-2+b1
ii  libibus-1.0-5              1.5.9-1
ii  libkrb5-3                  1.12.1+dfsg-19
ii  libmm-glib0                1.4.0-1
ii  libnm-glib-vpn1            0.9.10.0-7
ii  libnm-glib4                0.9.10.0-7
ii  libnm-gtk0                 0.9.10.0-2
ii  libnm-util2                0.9.10.0-7
ii  libpango-1.0-0             1.36.8-3
ii  libpangocairo-1.0-0        1.36.8-3
ii  libpolkit-gobject-1-0      0.105-8
ii  libpulse-mainloop-glib0    5.0-13
ii  libpulse0                  5.0-13
ii  libpwquality1              1.2.3-1
ii  libsmbclient               2:4.1.17+dfsg-2
ii  libsoup2.4-1               2.48.0-1
ii  libupower-glib3            0.99.1-3.2
ii  libwacom2                  0.8-1
ii  libx11-6                   2:1.6.2-3
ii  libxi6                     2:1.7.4-1+b2
ii  libxml2                    2.9.1+dfsg1-5

Versions of packages gnome-control-center recommends:
ii  cracklib-runtime       2.9.2-1
ii  cups-pk-helper         0.2.5-2+b1
ii  gkbd-capplet           3.6.0-1
ii  gnome-online-accounts  3.14.2-1
ii  gnome-user-guide       3.14.1-1
ii  gnome-user-share       3.14.0-2
ii  iso-codes              3.57-1
ii  libnss-myhostname      0.3-9
ii  mesa-utils             8.2.0-1
ii  mousetweaks            3.12.0-1
ii  network-manager-gnome  0.9.10.0-2
ii  policykit-1-gnome      0.105-2
ii  realmd                 0.15.1-1+b2
ii  rygel                  0.24.2-1+b1
ii  rygel-tracker          0.24.2-1+b1
ii  system-config-printer  1.4.6-1

Versions of packages gnome-control-center suggests:
ii  gstreamer1.0-pulseaudio  1.4.4-2
ii  libcanberra-gtk-module   0.30-2.1
ii  libcanberra-gtk3-module  0.30-2.1
ii  x11-xserver-utils        7.7+3+b1

-- no debconf information



More information about the pkg-gnome-maintainers mailing list