[Pkg-utopia-maintainers] Bug#781634: upower: Power incorrectly reported as 0% after hibernate (leads to re-hibernate if on battery power)

Neil Pilgrim debian.bugs.2 at kepier.clara.net
Tue Mar 31 23:45:07 UTC 2015


Package: upower
Version: 0.99.1-3.1
Severity: important

Dear Maintainer,

Using cinnamon desktop, I can hibernate and resume from hibernation with no
trouble if plugged-in. It does not need to remain plugged-in between, I
believe, it just needs to be plugged-in when rebooted to resume.

If the computer is unplugged when resuming from hibernation, then it claims
that the battery is completely discharged (0%) including showing a popup (both
probably being cinnamon-specific, but presumably from upower infrastructure)
and proceeds to automatically hibernate. I do not believe this is a hardware
issue since I have tested this from a near-full-charged state and it reports
uniquely 0%, and works fine if plugged in when resuming, as above.

I have experimented with 'upower -m', and this causes the unplugged resume-
from-hibernate to not automatically re-hibernate, but the battery does indicate
as being at 0%. Upon inserting the power, the number jumps to the 'real'
number, eg. 98%.

I am happy to run more tests; please let me know if I can help any further.

This quite limits the portability of my laptop, as I am tethered to a socket if
I want to be able to resume from hibernation - and need to 'look ahead' as I'm
not currently aware of how to avoid resuming instead of rebooting, and
obviously unsaved work may be 'locked away' in the repeatedly re-hibernating
machine.

--
Neil



-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.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.16-1
ii  libc6              2.19-15
ii  libdbus-1-3        1.8.16-1
ii  libdbus-glib-1-2   0.102-1
ii  libglib2.0-0       2.42.1-1
ii  libgudev-1.0-0     215-12
ii  libimobiledevice4  1.1.6+dfsg-3.1
ii  libplist2          1.11-3
ii  libupower-glib3    0.99.1-3.1
ii  libusb-1.0-0       2:1.0.19-1
ii  udev               215-12

Versions of packages upower recommends:
ii  policykit-1  0.105-8

upower suggests no packages.

-- no debconf information



More information about the Pkg-utopia-maintainers mailing list