[Pkg-utopia-maintainers] Bug#810714: upower: CriticalPowerAction respects systemd inhibitors
Vinothan Shankar
darael at tpchq.org
Mon Jan 11 13:48:28 UTC 2016
Package: upower
Version: 0.99.3-1+b2
Severity: normal
Dear Maintainer,
* What led up to the situation?
Running a laptop on battery with the GNOME Shell extension
"Caffeine" active and a fullscreen application running.
* What exactly did you do (or not do) that was effective (or
ineffective)?
Continued using the computer without seeing any low-battery
alerts due to aforementioned fullscreen applications.
* What was the outcome of this action?
Computer continued to run until battery was well below the
"critical" threshold, then shut down.
* What outcome did you expect instead?
The machine should respect UPower's CriticalPowerAction (which in
this case is set to the default HybridSleep).
* Additional Notes
I have confirmed that Caffeine is the trigger for this behaviour:
With no full-screen applications running and Caffeine not manually
activated, the same computer correctly enters hybrid sleep on
critical battery. It is fully able to resume in that case, as well
as if sleep (hybrid or plain) or hibernate is activated manually,
so that is not the issue. Presumably, however, any other inhibitor
would result in the same behaviour.
Were it not for Caffeine's default behaviour of inhibiting suspend
and lock automatically when an application is fullscreen, this
would not be such a problem, but a fullscreen application will also
mask any low-battery warnings, so (without some kind of hardware
alert, the way some laptops start beeping at low power) the
shutdown will come without warning and without the ease of resume
provided by suspend, hibernate, or hybrid sleep.
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.3.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages upower depends on:
ii dbus 1.10.6-1
ii libc6 2.21-6
ii libdbus-1-3 1.10.6-1
ii libdbus-glib-1-2 0.102-1
ii libglib2.0-0 2.46.2-3
ii libgudev-1.0-0 230-2
ii libimobiledevice4 1.1.6+dfsg-3.1+b1
ii libplist3 1.12-3.1
ii libupower-glib3 0.99.3-1+b2
ii libusb-1.0-0 2:1.0.20-1
ii udev 228-2+b1
Versions of packages upower recommends:
ii policykit-1 0.105-14
upower suggests no packages.
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list