Package: kde-workspace-bin
Version: 4:4.8.4-4
Severity: normal

I am using a relatively fresh (one month old) install of Debian Wheezy on a 
Dell Inspiron 17R Special Edition laptop.  KDE powerdevil usually works 
correctly: it dims my screen when I'm idle and notifies me when my battery is 
low.  But when the laptop resumes from suspend, Powerdevil will occasionally 
(as in once every ten resumes or so) believe that my battery is critical; it 
will then warn me that hibernation will occur if I do not connect a power 
adapter within thirty seconds.  If I do not connect an adapter, it lives up to 
its promise and my laptop will hibernate.

The difficulty is that my battery is not critical.  I configured Powerdevil to 
run a script when it believes that the battery is critical; that script 
contains the following lines:

    (
        echo "$(date): KDE thinks the battery is now critical."
        acpitool
        echo
    ) >> "$HOME/kde-battery-log.txt"

The log file contains the following entry for today:

    Fri Dec 14 08:53:56 EST 2012: KDE thinks that the battery is now critical.
      Battery #1     : Unknown, 98.00%
      AC adapter     : online 
      Thermal info   : <not available>

My vague guess is that my new laptop has some strange ACPI behavior; for 
instance, it might report the battery at 0% for the first few milliseconds 
after a resume or something like that.  I would advocate both of the following 
changes to Powerdevil:

    * When the notification is issued that the laptop will be hibernated in 30 
seconds, provide a button or similar mechanism to allow me to cancel or delay 
hibernation manually.
    * When Powerdevil executes an automatic time-delayed hibernate, have the 
hibernation process check the battery again.  Cancel the hibernation if 
*either* the AC adapter has been plugged in *or* the battery level is well 
above critical.

At this time, I do not have a workaround for this behavior; I just have to get 
the AC adapter out of my bag really quickly and find a wall outlet (or simply 
let it hibernate and wake it back up again).

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/8 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.40-1
ii  kde-runtime                   4:4.8.4-2
ii  kde-style-oxygen              4:4.8.4-4
ii  kde-workspace-data            4:4.8.4-4
ii  kde-workspace-kgreet-plugins  4:4.8.4-4
ii  libc6                         2.13-37
ii  libcln6                       1.3.2-1.2
ii  libfontconfig1                2.9.0-7
ii  libfreetype6                  2.4.9-1
ii  libgcc1                       1:4.7.2-4
ii  libgl1-mesa-glx [libgl1]      8.0.5-3
ii  libice6                       2:1.0.8-2
ii  libjpeg8                      8d-1
ii  libkactivities6               4:4.8.4-1
ii  libkcmutils4                  4:4.8.4-4
ii  libkdeclarative5              4:4.8.4-4
ii  libkdecore5                   4:4.8.4-4
ii  libkdesu5                     4:4.8.4-4
ii  libkdeui5                     4:4.8.4-4
ii  libkephal4abi1                4:4.8.4-4
ii  libkfile4                     4:4.8.4-4
ii  libkidletime4                 4:4.8.4-4
ii  libkio5                       4:4.8.4-4
ii  libknewstuff3-4               4:4.8.4-4
ii  libknotifyconfig4             4:4.8.4-4
ii  libkparts4                    4:4.8.4-4
ii  libkpty4                      4:4.8.4-4
ii  libkrosscore4                 4:4.8.4-4
ii  libkscreensaver5              4:4.8.4-4
ii  libkworkspace4abi1            4:4.8.4-4
ii  libnepomuk4                   4:4.8.4-4
ii  libnepomukquery4a             4:4.8.4-4
ii  libpam0g                      1.1.3-7.1
ii  libphonon4                    4:4.6.0.0-2
ii  libplasma3                    4:4.8.4-4
ii  libplasmagenericshell4        4:4.8.4-4
ii  libpng12-0                    1.2.49-1
ii  libprocesscore4abi1           4:4.8.4-4
ii  libprocessui4a                4:4.8.4-4
ii  libqalculate5                 0.9.7-8
ii  libqt4-dbus                   4:4.8.2+dfsg-2
ii  libqt4-declarative            4:4.8.2+dfsg-2
ii  libqt4-sql                    4:4.8.2+dfsg-2
ii  libqt4-xml                    4:4.8.2+dfsg-2
ii  libqtcore4                    4:4.8.2+dfsg-2
ii  libqtgui4                     4:4.8.2+dfsg-2
ii  libsm6                        2:1.2.1-2
ii  libsolid4                     4:4.8.4-4
ii  libsolidcontrol4abi2          4:4.8.4-4
ii  libsolidcontrolifaces4abi2    4:4.8.4-4
ii  libsoprano4                   2.7.6+dfsg.1-1
ii  libstdc++6                    4.7.2-4
ii  libstreamanalyzer0            0.7.7-3
ii  libusb-0.1-4                  2:0.1.12-20+nmu1
ii  libx11-6                      2:1.5.0-1
ii  libxau6                       1:1.0.7-1
ii  libxcursor1                   1:1.1.13-1
ii  libxext6                      2:1.3.1-2
ii  libxfixes3                    1:5.0-4
ii  libxft2                       2.3.1-1
ii  libxi6                        2:1.6.1-1
ii  libxinerama1                  2:1.1.2-1
ii  libxkbfile1                   1:1.0.8-1
ii  libxrandr2                    2:1.3.2-2
ii  libxrender1                   1:0.9.7-1
ii  libxss1                       1:1.2.2-1
ii  libxtst6                      2:1.2.1-1
ii  phonon                        4:4.6.0.0-2
ii  plasma-desktop                4:4.8.4-4
ii  x11-utils                     7.7~1
ii  x11-xserver-utils             7.7~3

Versions of packages kde-workspace-bin recommends:
ii  plasma-scriptengines  4:4.8.4-4
ii  policykit-1-gnome     0.105-2
ii  polkit-kde-1          0.99.0-3
ii  upower                0.9.17-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

Reply via email to