[Pkg-utopia-maintainers] Bug#799624: upower: Upower doesn't respect critical action, stuck to hybridsleep
egidio docile
egidio.docile at gmail.com
Sun Sep 20 21:58:16 UTC 2015
Package: upower
Version: 0.99.1-3.2
Severity: important
Tags: patch
Dear Maintainer,
* What led up to the situation?
Setting critical battery action to hibernate in gnome-power-manager, will cause the
machine to go in hybrid-sleep mode, unless 'hibernate' option is specified in
/etc/UPower/UPower.conf, so tried to change that option
* What exactly did you do (or not do) that was effective (or
ineffective)?
Change the critical action from hybridsleep to hibernate in upower configuration file
* What was the outcome of this action?
None, upower ignores this change, action stuck to hybridsleep
* What outcome did you expect instead?
Upower should change the critical action to hibernate and respect the settings
The problem was already addressed here:
https://bugs.freedesktop.org/show_bug.cgi?id=82925
And this is the patch that should fix the problem:
https://bugs.freedesktop.org/attachment.cgi?id=105477
-- System Information:
Debian Release: 8.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
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 upower depends on:
ii dbus 1.8.20-0+deb8u1
ii libc6 2.19-18+deb8u1
ii libdbus-1-3 1.8.20-0+deb8u1
ii libdbus-glib-1-2 0.102-1
ii libglib2.0-0 2.42.1-1
ii libgudev-1.0-0 215-17+deb8u2
ii libimobiledevice4 1.1.6+dfsg-3.1
ii libplist2 1.11-3
ii libupower-glib3 0.99.1-3.2
ii libusb-1.0-0 2:1.0.19-1
ii udev 215-17+deb8u2
Versions of packages upower recommends:
ii policykit-1 0.105-8
upower suggests no packages.
-- Configuration Files:
/etc/UPower/UPower.conf changed:
[UPower]
EnableWattsUpPro=false
NoPollBatteries=false
IgnoreLid=false
UsePercentageForPolicy=false
PercentageLow=10
PercentageCritical=3
PercentageAction=2
TimeLow=1200
TimeCritical=300
TimeAction=120
CriticalPowerAction=Hibernate
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list