Bug#769155: kde-workspace-bin: laptop does not go to sleep when critical battery level is reached
¡Hola! Adding the upower maintainers to the loop. El 2015-03-28 a las 22:51 +0100, Andreas Stempfhuber escribió: I tested with a third notebook (an old Compal CL51) upgraded from Wheezy to Jessie. The issue is the same and also the workaround is the same. The workaround is to enable the upower service with systemctl enable upower so that upower is started prior to PowerDevil. How is that upower was not enabled by default? I'll change the severity back to grave as I installed Jessie now on three notebooks and can reproduce the issue with every installation. With this workaround and the previous one (starting upower from rc.local) it seems that starting upower from the dbus interface is not working correctly. It also seems to affect some users, but not all, I thought this was a hardware difference, ould it be that the difference is in a user configuration like belonging to the powerdev group? Happy hacking, -- A computer program does what you tell it to do, not what you want it to do. -- Greer's Law Saludos /\/\ /\ `/ signature.asc Description: Digital signature
Bug#769155: kde-workspace-bin: laptop does not go to sleep when critical battery level is reached
Hi, Since there are several years between the release dates of the two tested notebooks, it does not look like a hardware specific issue to me. Or the affected hardware base is really large. I'll tend to change the severity back to grave as I don't think that Jessie should be released with a non-working power management in KDE, but waiting for your feedback first. Confirmed. The workaround solved the problem in my Asus N46VJ. Thank you. Felipe
Bug#769155: kde-workspace-bin: laptop does not go to sleep when critical battery level is reached
Hi, I tested with a third notebook (an old Compal CL51) upgraded from Wheezy to Jessie. The issue is the same and also the workaround is the same. The workaround is to enable the upower service with systemctl enable upower so that upower is started prior to PowerDevil. I'll change the severity back to grave as I installed Jessie now on three notebooks and can reproduce the issue with every installation. Regards Andi -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#769155: kde-workspace-bin: laptop does not go to sleep when critical battery level is reached
I can confirm that starting upower before the KDE session makes everything work as expected. As a workaround, I am currently using the /etc/rc.local script to start upower with systemctl, as Andreas pointed out: 1) Make the /etc/rc.local script executable with: sudo chmod +x /etc/rc.local 2) Edit the file and add this line before the exit 0 one: systemctl start upower I walked trough the kde-workspace-bin debian source, and seems like PowerDevil launches the upower service via DBus if it is not running, but I was unable to find out why the thread that monitors the battery level change don't work properly in some cases. It looks like some hardware specific information from the battery may cause be the issue, i.e., when upower starts from PowerDevil, it may not work as expected and the thread don't start properly. The weirdiest thing is that the battery icon *does* work, i.e., it shows the proper level; only the low/critical actions aren't triggered. I do agree, however, that the issue seems to be hardware specific, since it don't happen with most users, but it should be put in a wiki/errata so people can actually find the workaround for it. Em sáb, 7 de mar de 2015 às 22:57, Andreas Stempfhuber reportbug2...@afulinux.de escreveu: Hi Stuart, I got a bit closer, when I start upower (using systemctl start upower) before I login on KDM then everything works! Unfortunately I'm not such familiar with systemd yet, how is it supposed to work, when should /usr/lib/upower/upowerd get started? Thanks Andreas -- To unsubscribe, send mail to 769155-unsubscr...@bugs.debian.org.
Bug#769155: kde-workspace-bin: laptop does not go to sleep when critical battery level is reached
Hi, Am Dienstag, 10. März 2015 schrieb Ronoaldo José de Lana Pereira: I can confirm that starting upower before the KDE session makes everything work as expected. As a workaround, I am currently using the /etc/rc.local script to start upower with systemctl, as Andreas pointed out: 1) Make the /etc/rc.local script executable with: sudo chmod +x /etc/rc.local 2) Edit the file and add this line before the exit 0 one: systemctl start upower thanks for your feedback. Another way to workaround the issue is to enable the upower service with: systemctl enable upower Upower is then started automatically during boot. I walked trough the kde-workspace-bin debian source, and seems like PowerDevil launches the upower service via DBus if it is not running, but I was unable to find out why the thread that monitors the battery level change don't work properly in some cases. It looks like some hardware specific information from the battery may cause be the issue, i.e., when upower starts from PowerDevil, it may not work as expected and the thread don't start properly. The weirdiest thing is that the battery icon *does* work, i.e., it shows the proper level; only the low/critical actions aren't triggered. I do agree, however, that the issue seems to be hardware specific, since it don't happen with most users, but it should be put in a wiki/errata so people can actually find the workaround for it. I tested another notebook, Dell Latitude E6330 and the issue is exactly the same. Also the workaround is the same. Since there are several years between the release dates of the two tested notebooks, it does not look like a hardware specific issue to me. Or the affected hardware base is really large. I'll tend to change the severity back to grave as I don't think that Jessie should be released with a non-working power management in KDE, but waiting for your feedback first. Stuart, as you could not reproduce the issue, please can you provide more details on when upower is started on your setup? Thanks Andreas
Bug#769155: kde-workspace-bin: laptop does not go to sleep when critical battery level is reached
Stuart, I CAN reproduce it with a fresh install and others can reproduce it as well. Just in this bug report you find 3 people with the same issue. On the provided link you find even more. Booting Kubuntu on the exactly same hardware works without issues. So this is a bug in Debian Jessie. As upower is providing proper power details (see the attachment on Giorgos initial e-mail) I don't think that this is a general kernel bug. Anyway, if it's helpfull to try the Wheezy kernel on Jessie I can try it, but that's not fixing the issue. This IS a grave bug as a notebook relies on the power management capability of the chosen desktop environment to avoid data loss and file system corruption when battery runs empty. If the case is with a different package (I could think about libsolid4) it should be properly reassigned. What additional details can I provide for further troubleshooting? Thanks Andreas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#769155: kde-workspace-bin: laptop does not go to sleep when critical battery level is reached
Control: tag -1 unreproducible Control: tag -1 normal If changing the kernel helps then it's probably not a bug in kde-workspace- bin. In any case, I can't reproduce this in jessie. -- Stuart Prescotthttp://www.nanonanonano.net/ stu...@nanonanonano.net Debian Developer http://www.debian.org/ stu...@debian.org GPG fingerprint90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#769155: kde-workspace-bin: laptop does not go to sleep when critical battery level is reached
Hi Andreas, I CAN reproduce it with a fresh install and others can reproduce it as well. Just in this bug report you find 3 people with the same issue. On the provided link you find even more. Unfortunately, old data isn't useful -- yes, I did read the entire bug report and the links therein. We don't have a simple reproduce case and all of the related packages have been updated since the report was filed (various kde bits and, more importantly, the kernel). Can you reproduce the problem right now with an up to date jessie? No-one is saying that we don't want this to be fixed in jessie, but if we can't reproduce it and it doesn't affect everyone, then it shouldn't hold up the release of jessie. cheers Stuart -- Stuart Prescotthttp://www.nanonanonano.net/ stu...@nanonanonano.net Debian Developer http://www.debian.org/ stu...@debian.org GPG fingerprint90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#769155: kde-workspace-bin: laptop does not go to sleep when critical battery level is reached
Hi Stuart, I can reproduce the issue with an up to date Jessie. 1st scenario (not working): I boot the notebook with battery power, I login on KDM and when the KDE desktop is ready I wait till the warning (11%) and critical (10%) thresholds are reached but nothing happens, no messages and no suspend. upower -d output after login: Device: /org/freedesktop/UPower/devices/line_power_AC native-path: AC power supply: yes updated: So 08 Mär 2015 01:32:27 CET (16 seconds ago) has history: no has statistics: no line-power warning-level: none online: no icon-name: 'ac-adapter-symbolic' Device: /org/freedesktop/UPower/devices/battery_BAT0 native-path: BAT0 vendor: Panasonic model:DELL JD6066 serial: 1135 power supply: yes updated: So 08 Mär 2015 01:32:29 CET (14 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable:yes state: discharging warning-level: low energy: 4,2513 Wh energy-empty:0 Wh energy-full: 26,8509 Wh energy-full-design: 56,61 Wh energy-rate: 19,0476 W voltage: 11,2 V time to empty: 13,4 minutes percentage: 15% capacity:47,4314% technology: lithium-ion icon-name: 'battery-low-symbolic' History (charge): 1425774747 15,000 charging 1425774698 0,000 unknown History (rate): 1425774749 19,048 discharging 1425774747 26,784 charging 1425774698 0,000 unknown Device: /org/freedesktop/UPower/devices/DisplayDevice power supply: yes updated: Do 01 Jan 1970 01:00:00 CET (1425774763 seconds ago) has history: no has statistics: no battery present: yes state: discharging warning-level: low energy: 4,2513 Wh energy-full: 26,8509 Wh energy-rate: 19,0476 W time to empty: 13,4 minutes percentage: 15% icon-name: 'battery-low-symbolic' Daemon: daemon-version: 0.99.1 on-battery: yes lid-is-closed: no lid-is-present: yes critical-action: HybridSleep upower -d at 7% battery which is 3% below the critical threshold: Device: /org/freedesktop/UPower/devices/line_power_AC native-path: AC power supply: yes updated: So 08 Mär 2015 01:32:27 CET (341 seconds ago) has history: no has statistics: no line-power warning-level: none online: no icon-name: 'ac-adapter-symbolic' Device: /org/freedesktop/UPower/devices/battery_BAT0 native-path: BAT0 vendor: Panasonic model:DELL JD6066 serial: 1135 power supply: yes updated: So 08 Mär 2015 01:37:59 CET (9 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable:yes state: discharging warning-level: critical energy: 1,9647 Wh energy-empty:0 Wh energy-full: 26,8509 Wh energy-full-design: 56,61 Wh energy-rate: 24,864 W voltage: 10,608 V time to empty: 4,7 minutes percentage: 7% capacity:47,4314% technology: lithium-ion icon-name: 'battery-caution-symbolic' History (charge): 1425775079 7,000 discharging 1425775019 8,000 discharging 1425774989 9,000 discharging History (rate): 1425775079 24,864 discharging 1425775049 25,563 discharging 1425775019 25,397 discharging 1425774989 27,506 discharging Device: /org/freedesktop/UPower/devices/DisplayDevice power supply: yes updated: Do 01 Jan 1970 01:00:00 CET (1425775088 seconds ago) has history: no has statistics: no battery present: yes state: discharging warning-level: critical energy: 1,9647 Wh energy-full: 26,8509 Wh energy-rate: 24,864 W time to empty: 4,7 minutes percentage: 7% icon-name: 'battery-caution-symbolic' Daemon: daemon-version: 0.99.1 on-battery: yes lid-is-closed: no lid-is-present: yes critical-action: HybridSleep 2nd scenario (not working): I boot the notebook with AC power, I login on KDM and when the KDE desktop is ready I disconnect the AC adaptor. I wait till the warning and critical thresholds are reached but nothing happens, no messages and no suspend. 3rd scenario (working): I boot the notebook with AC power. When on
Bug#769155: kde-workspace-bin: laptop does not go to sleep when critical battery level is reached
Hi Stuart, I got a bit closer, when I start upower (using systemctl start upower) before I login on KDM then everything works! Unfortunately I'm not such familiar with systemd yet, how is it supposed to work, when should /usr/lib/upower/upowerd get started? Thanks Andreas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#769155: kde-workspace-bin: laptop does not go to sleep when critical battery level is reached
Package: kde-workspace-bin Version: 4:4.11.13-2 Followup-For: Bug #769155 Dear Maintainer, Confirming this bug with version 4.11.13-2. I tested booting with linux-image-3.2.0-4-amd64 (3.2.65-1+deb7u1) and the laptop has gone to hibernate when passing the critical level, so I think is related with kernel behaviour. Thank you. Felipe Sologuren -- System Information: Debian Release: 8.0 APT prefers testing APT policy: (600, 'testing'), (500, 'testing-updates'), (500, 'stable-updates'), (500, 'stable'), (100, 'unstable'), (40, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=es_CL.UTF-8, LC_CTYPE=es_CL.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to es_CL.UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) Versions of packages kde-workspace-bin depends on: ii iso-codes 3.57-1 ii kde-runtime 4:4.14.2-2 ii kde-style-oxygen 4:4.11.13-2 ii kde-workspace-data4:4.11.13-2 ii kde-workspace-kgreet-plugins 4:4.11.13-2 ii kscreen 1.0.2.1-1 ii libc6 2.19-13 ii libcln6 1.3.4-1 ii libdbusmenu-qt2 0.9.2-1 ii libfontconfig12.11.0-6.3 ii libfreetype6 2.5.2-2 ii libgcc1 1:4.9.1-19 ii libgl1-mesa-glx [libgl1] 10.3.2-1 ii libice6 2:1.0.9-1+b1 ii libjpeg62-turbo 1:1.3.1-11 ii libkactivities6 4:4.13.3-1 ii libkcmutils4 4:4.14.2-5 ii libkdeclarative5 4:4.14.2-5 ii libkdecore5 4:4.14.2-5 ii libkdesu5 4:4.14.2-5 ii libkdeui5 4:4.14.2-5 ii libkfile4 4:4.14.2-5 ii libkidletime4 4:4.14.2-5 ii libkio5 4:4.14.2-5 ii libknewstuff3-4 4:4.14.2-5 ii libknotifyconfig4 4:4.14.2-5 ii libkparts44:4.14.2-5 ii libkpty4 4:4.14.2-5 ii libkscreensaver5 4:4.11.13-2 ii libkworkspace4abi24:4.11.13-2 ii libnepomukcore4 4:4.14.0-1+b2 ii libpam0g 1.1.8-3.1 ii libphonon44:4.8.0-4 ii libplasma34:4.14.2-5 ii libplasmagenericshell44:4.11.13-2 ii libpng12-01.2.50-2+b2 ii libprocesscore4abi1 4:4.11.13-2 ii libprocessui4a4:4.11.13-2 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.6+git64-g5dc8b2b+dfsg-2+b1 ii libqt4-declarative4:4.8.6+git64-g5dc8b2b+dfsg-2+b1 ii libqt4-sql4:4.8.6+git64-g5dc8b2b+dfsg-2+b1 ii libqt4-xml4:4.8.6+git64-g5dc8b2b+dfsg-2+b1 ii libqtcore44:4.8.6+git64-g5dc8b2b+dfsg-2+b1 ii libqtgui4 4:4.8.6+git64-g5dc8b2b+dfsg-2+b1 ii libsm62:1.2.2-1+b1 ii libsolid4 4:4.14.2-5 ii libsoprano4 2.9.4+dfsg-1.1 ii libstdc++64.9.1-19 ii libstreamanalyzer00.7.8-1.2+b2 ii libudev1 215-11 ii libusb-0.1-4 2:0.1.12-25 ii libx11-6 2:1.6.2-3 ii libxcursor1 1:1.1.14-1+b1 ii libxext6 2:1.3.3-1 ii libxfixes31:5.0.1-2+b2 ii libxft2 2.3.2-1 ii libxi62:1.7.4-1+b2 ii libxinerama1 2:1.1.3-1+b1 ii libxkbfile1 1:1.0.8-1 ii libxrandr22:1.4.2-1+b1 ii libxrender1 1:0.9.8-1+b1 ii libxtst6 2:1.2.2-1+b1 ii phonon4:4.8.0-4 ii plasma-desktop4:4.11.13-2 ii qdbus 4:4.8.6+git64-g5dc8b2b+dfsg-2+b1 ii x11-utils 7.7+2 ii x11-xserver-utils 7.7+3+b1 Versions of packages kde-workspace-bin recommends: ii plasma-scriptengines 4:4.11.13-2 ii policykit-1-gnome 0.105-2 ii polkit-kde-1 0.99.1-1 ii upower0.99.1-3.1 Versions of packages kde-workspace-bin suggests: ii x11-xkb-utils 7.7+1 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#769155: kde-workspace-bin: laptop does not go to sleep when critical battery level is reached
Package: kde-workspace-bin Version: 4:4.11.13-1 Severity: normal Dear Maintainer, I'm following jessie and this is a feature which was working. System settings - Power Management - Advanced Settings - Battery levels - Battery is at low level at 30% , Battery is at critical level at 17%, - When battery is at critical level: Sleep Up until (not quite sure) one/two months the laptop would fall asleep when passing the critical level, but now it does absolutely nothing when passing the critical level. I attach the output of upower --monitor-detail beginning with battery level 19%, up to 9%. The laptop did not fall asleep. Thanks, Giorgos -- System Information: Debian Release: jessie/sid APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16-3-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages kde-workspace-bin depends on: ii iso-codes 3.57-1 ii kde-runtime 4:4.14.2-1 ii kde-style-oxygen 4:4.11.13-1 ii kde-workspace-data4:4.11.13-1 ii kde-workspace-kgreet-plugins 4:4.11.13-1 ii kscreen 1.0.2.1-1 ii libc6 2.19-12 ii libcln6 1.3.4-1 ii libdbusmenu-qt2 0.9.2-1 ii libfontconfig12.11.0-6.1 ii libfreetype6 2.5.2-2 ii libgcc1 1:4.9.1-19 ii libgl1-mesa-glx [libgl1] 10.3.2-1 ii libice6 2:1.0.9-1 ii libjpeg62-turbo 1:1.3.1-10 ii libkactivities6 4:4.13.3-1 ii libkcmutils4 4:4.14.2-3 ii libkdeclarative5 4:4.14.2-3 ii libkdecore5 4:4.14.2-3 ii libkdesu5 4:4.14.2-3 ii libkdeui5 4:4.14.2-3 ii libkfile4 4:4.14.2-3 ii libkidletime4 4:4.14.2-3 ii libkio5 4:4.14.2-3 ii libknewstuff3-4 4:4.14.2-3 ii libknotifyconfig4 4:4.14.2-3 ii libkparts44:4.14.2-3 ii libkpty4 4:4.14.2-3 ii libkscreensaver5 4:4.11.13-1 ii libkworkspace4abi24:4.11.13-1 ii libnepomukcore4 4:4.14.0-1+b2 ii libpam0g 1.1.8-3.1 ii libphonon44:4.8.0-3 ii libplasma34:4.14.2-3 ii libplasmagenericshell44:4.11.13-1 ii libpng12-01.2.50-2+b1 ii libprocesscore4abi1 4:4.11.13-1 ii libprocessui4a4:4.11.13-1 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.6+git64-g5dc8b2b+dfsg-2+b1 ii libqt4-declarative4:4.8.6+git64-g5dc8b2b+dfsg-2+b1 ii libqt4-sql4:4.8.6+git64-g5dc8b2b+dfsg-2+b1 ii libqt4-xml4:4.8.6+git64-g5dc8b2b+dfsg-2+b1 ii libqtcore44:4.8.6+git64-g5dc8b2b+dfsg-2+b1 ii libqtgui4 4:4.8.6+git64-g5dc8b2b+dfsg-2+b1 ii libsm62:1.2.2-1 ii libsolid4 4:4.14.2-3 ii libsoprano4 2.9.4+dfsg-1.1 ii libstdc++64.9.1-19 ii libstreamanalyzer00.7.8-1.2+b2 ii libudev1 215-5+b1 ii libusb-0.1-4 2:0.1.12-25 ii libx11-6 2:1.6.2-3 ii libxcursor1 1:1.1.14-1+b1 ii libxext6 2:1.3.3-1 ii libxfixes31:5.0.1-2+b1 ii libxft2 2.3.2-1 ii libxi62:1.7.4-1+b1 ii libxinerama1 2:1.1.3-1+b1 ii libxkbfile1 1:1.0.8-1 ii libxrandr22:1.4.2-1+b1 ii libxrender1 1:0.9.8-1+b1 ii libxtst6 2:1.2.2-1+b1 ii phonon4:4.8.0-3 ii plasma-desktop4:4.11.13-1 ii qdbus 4:4.8.6+git64-g5dc8b2b+dfsg-2+b1 ii x11-utils 7.7+2 ii x11-xserver-utils 7.7+3+b1 Versions of packages kde-workspace-bin recommends: ii plasma-scriptengines 4:4.11.13-1 ii policykit-1-gnome 0.105-2 ii polkit-kde-1 0.99.1-1 ii upower0.99.1-3 Versions of packages kde-workspace-bin suggests: ii x11-xkb-utils 7.7+1 -- no debconf information upower.txt.bz2 Description: BZip2 compressed data