Bug#695966: kde-workspace-bin: KDE powerdevil sometimes incorrectly attempts to hibernate when resuming from suspend
Package: kde-workspace-bin
Version: 4:4.10.5-3
Followup-For: Bug #695966
Control: tags -1 +upstream
Hi all,
I'm experiencing a similar behaviour as explained in this bugreport:
with my Lenovo X220, when the additional battery is plugged in, the
internal battery drains first (that's the hardware managing the
drain-balancing I guess) and then PowerDevil insists to suspend the
laptop to disk (as I configured it to suspend-to-disk if there's less
than 4% of battery left). When waking up from suspend, powerdevil will
insist to suspend to disk again, no matter what the global battery state
is:
$ acpitool
Battery #1 : Unknown, 0.00%
Battery #2 : Discharging, 54.94%, 02:31:00
(Applet shows 54%).
This looks somewhat similar to [0]. As 'upower --dump' was requested, I
attached my output to this bugreport.
[0] https://bugzilla.redhat.com/show_bug.cgi?id=736835
That said, this is certainly an upstream bug and I would be happy to
bring my problem up to an upstream bugreport.
Cheers,
OdyX
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'testing-proposed-updates'), (500, 'proposed-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages kde-workspace-bin depends on:
ii iso-codes 3.47-1
ii kde-runtime 4:4.10.5-1
ii kde-style-oxygen 4:4.10.5-3
ii kde-workspace-data 4:4.10.5-3
ii kde-workspace-kgreet-plugins 4:4.10.5-3
ii libc6 2.17-93
ii libcln6 1.3.3-1
ii libdbusmenu-qt2 0.9.2-1
ii libfontconfig1 2.10.2-2
ii libfreetype6 2.4.9-1.1
ii libgcc1 1:4.8.1-10
ii libgl1-mesa-glx [libgl1] 9.1.6-2+b1
ii libice6 2:1.0.8-2
ii libjpeg8 8d-1
ii libkactivities6 4:4.10.5-1
ii libkcmutils4 4:4.10.5-1+b1
ii libkdeclarative5 4:4.10.5-1+b1
ii libkdecore5 4:4.10.5-1+b1
ii libkdesu5 4:4.10.5-1+b1
ii libkdeui5 4:4.10.5-1+b1
ii libkfile4 4:4.10.5-1+b1
ii libkidletime4 4:4.10.5-1+b1
ii libkio5 4:4.10.5-1+b1
ii libknewstuff3-4 4:4.10.5-1+b1
ii libknotifyconfig4 4:4.10.5-1+b1
ii libkparts4 4:4.10.5-1+b1
ii libkpty4 4:4.10.5-1+b1
ii libkscreensaver5 4:4.10.5-3
ii libkworkspace4abi2 4:4.10.5-3
ii libnepomukcore4 4:4.10.5-1+b1
ii libpam0g 1.1.3-9
ii libphonon4 4:4.6.0.0-3
ii libplasma3 4:4.10.5-1+b1
ii libplasmagenericshell4 4:4.10.5-3
ii libpng12-0 1.2.49-4
ii libprocesscore4abi1 4:4.10.5-3
ii libprocessui4a 4:4.10.5-3
ii libqalculate5 0.9.7-9
ii libqimageblitz4 1:0.0.6-4
ii libqjson0 0.8.1-3
ii libqt4-dbus 4:4.8.5+git121-g2a9ea11+dfsg-1
ii libqt4-declarative 4:4.8.5+git121-g2a9ea11+dfsg-1
ii libqt4-sql 4:4.8.5+git121-g2a9ea11+dfsg-1
ii libqt4-xml 4:4.8.5+git121-g2a9ea11+dfsg-1
ii libqtcore4 4:4.8.5+git121-g2a9ea11+dfsg-1
ii libqtgui4 4:4.8.5+git121-g2a9ea11+dfsg-1
ii libsm6 2:1.2.1-2
ii libsolid4 4:4.10.5-1+b1
ii libsolidcontrol4abi2 4:4.10.5-3
ii libsolidcontrolifaces4abi2 4:4.10.5-3
ii libsoprano4 2.9.2+dfsg.1-4
ii libstdc++6 4.8.1-10
ii libstreamanalyzer0 0.7.8-1+b1
ii libusb-0.1-4 2:0.1.12-23.2
ii libx11-6 2:1.6.2-1
ii libxcursor1 1:1.1.14-1
ii libxext6 2:1.3.2-1
ii libxfixes3 1:5.0.1-1
ii libxft2 2.3.1-1
ii libxi6 2:1.7.2-1
ii libxinerama1 2:1.1.3-1
ii libxkbfile1 1:1.0.8-1
ii libxrandr2 2:1.4.1-1
ii libxrender1 1:0.9.8-1
ii libxtst6 2:1.2.2-1
ii phonon 4:4.6.0.0-3
ii plasma-desktop 4:4.10.5-3
ii qdbus 4:4.8.5+git121-g2a9ea11+dfsg-1
ii x11-utils 7.7+1
ii x11-xserver-utils 7.7+1
Versions of packages kde-workspace-bin recommends:
ii plasma-scriptengines 4:4.10.5-3
ii policykit-1-gnome 0.105-2
ii polkit-kde-1 0.99.1-1
ii upower 0.9.21-3
Versions of packages kde-workspace-bin suggests:
ii x11-xkb-utils 7.7~1
-- no debconf information
Device: /org/freedesktop/UPower/devices/line_power_AC
native-path: /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:09/PNP0C09:00/ACPI0003:00/power_supply/AC
power supply: yes
updated: Wed Oct 16 18:17:55 2013 (969 seconds ago)
has history: no
has statistics: no
line-power
online: no
Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path: /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:09/PNP0C09:00/PNP0C0A:00/power_supply/BAT0
vendor: LGC
model: 42T4942
serial: 822
power supply: yes
updated: Wed Oct 16 18:33:43 2013 (21 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: empty
energy: 0 Wh
energy-empty: 0 Wh
energy-full: 80.586 Wh
energy-full-design: 93.24 Wh
energy-rate: 0 W
voltage: 9.917 V
percentage: 0%
capacity: 86.4286%
technology: lithium-ion
Device: /org/freedesktop/UPower/devices/battery_BAT1
native-path: /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:09/PNP0C09:00/PNP0C0A:01/power_supply/BAT1
vendor: SONY
model: 42T4967
serial: 14
power supply: yes
updated: Wed Oct 16 18:33:43 2013 (21 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
energy: 32.27 Wh
energy-empty: 0 Wh
energy-full: 59.72 Wh
energy-full-design: 64.38 Wh
energy-rate: 9.282 W
voltage: 11.362 V
time to empty: 3.5 hours
percentage: 54%
capacity: 92.7617%
technology: lithium-polymer
History (rate):
1381941223 9.282 discharging
1381941193 9.366 discharging
1381941163 9.453 discharging
1381941133 9.970 discharging
Daemon:
daemon-version: 0.9.21
can-suspend: yes
can-hibernate: yes
on-battery: yes
on-low-battery: no
lid-is-closed: no
lid-is-present: yes
is-docked: no
Reply to: