[kde-freebsd] HP Elitebook 8460p and problem with KDE 4.10, 5 battery monitor

Craig Rodrigues rodrigc at FreeBSD.org
Sun Nov 17 01:35:55 UTC 2013


Hi,

I am running an HP Elitebook 8460p laptop:
http://h10010.www1.hp.com/wwpc/pscmisc/vac/us/en/sm/notebooks/8460p.html

I am running a fairly updated FreeBSD-10 from sources:

FreeBSD 10.0-BETA2 #2 r257540: Fri Nov  1 21:41:42 PDT 2013

I am running kde 4.10.5 installed with the pkg utility from pkg.freebsd.org:

kde-baseapps-4.10.5_1          Basic applications for KDE


The full KDE desktop starts up and works great.  I have no major problems
with it.  Thanks!

However, if I reboot and unplug my laptop, I have one annoying problem.

The KDE Battery monitor thinks that I have no battery life left, and
suspends my laptop in 30 seconds.

>From the OS level, everything looks fine.  Here is the output
of:

 sysctl hw.acpi.battery

====================================================================
hw.acpi.battery.life: 98
hw.acpi.battery.time: 152
hw.acpi.battery.state: 1
hw.acpi.battery.units: 2
hw.acpi.battery.info_expire: 5
====================================================================
and:

upower -d

====================================================================
Device: /org/freedesktop/UPower/devices/battery_devxbatteryx0
  native-path:          dev.battery.0
  vendor:               Hewlett-Packard
  model:                Primary
  serial:               52149 2011/12/23
  power supply:         yes
  updated:              Sat Nov 16 17:13:44 2013 (2 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    energy:              49.6503 Wh
    energy-empty:        1.11 Wh
    energy-full:         54.2457 Wh
    energy-full-design:  54.2457 Wh
    energy-rate:         20.0022 W
    voltage:             11.1 V
    time to empty:       2.5 hours
    percentage:          91%
    capacity:            100%
    technology:          lithium-ion
  History (charge):
    1384650820    91.000    discharging
    1384650818    0.000    unknown
  History (rate):
    1384650820    20.002    discharging
    1384650818    0.000    unknown

Device: /org/freedesktop/UPower/devices/battery_devxbatteryx1
  native-path:          dev.battery.1
  power supply:         no
  updated:              Sat Nov 16 17:13:44 2013 (2 seconds ago)
  has history:          no
  has statistics:       no
  battery
    present:             no
    rechargeable:        no
    state:               unknown
    energy:              0 Wh
    energy-empty:        0 Wh
    energy-full:         0 Wh
    energy-full-design:  0 Wh
    energy-rate:         0 W
    percentage:          0%

Device: /org/freedesktop/UPower/devices/line_power_hwxacpixacline
  native-path:          hw.acpi.acline
  power supply:         yes
  updated:              Sat Nov 16 17:13:38 2013 (8 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    online:             no

Daemon:
  daemon-version:  0.9.7
  can-suspend:     yes
  can-hibernate    yes
  on-battery:      yes
  on-low-battery:  no
  lid-is-closed:   no
  lid-is-present:   yes

====================================================================

I'm not sure, but I think that the KDE battery monitor
is getting confused that the hardware supports having two batteries,
but I only have one battery installed.

I see that Alberto Villa submitted this patch to KDE:

https://git.reviewboard.kde.org/r/110941/

I think this patch is related to my problem and may solve it.  Has this
patch
been pushed upstream to KDE, or do we have it in the FreeBSD port?

Thanks.
--
Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20131116/2c10a2c3/attachment.html>


More information about the kde-freebsd mailing list