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

Michael Biebl biebl at debian.org
Mon Apr 20 22:21:11 UTC 2015


Am 20.04.2015 um 22:19 schrieb Frank Dietrich:
> 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.


laptop-mode-tools is a package full of hacks. We shouldn't promote its
usage.

Also, hibernate works fine here without laptop-mode-tools or pm-utils
being installed. So I suspect your issue is somewhere else.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20150421/78d3aad7/attachment.sig>


More information about the pkg-gnome-maintainers mailing list