<div dir="ltr"><div><div>Hi,<br><br></div>I am running an HP Elitebook 8460p laptop: <a href="http://h10010.www1.hp.com/wwpc/pscmisc/vac/us/en/sm/notebooks/8460p.html">http://h10010.www1.hp.com/wwpc/pscmisc/vac/us/en/sm/notebooks/8460p.html</a><br>
<br></div>I am running a fairly updated FreeBSD-10 from sources:<br><br>FreeBSD 10.0-BETA2 #2 r257540: Fri Nov  1 21:41:42 PDT 2013<br><br><div>I am running kde 4.10.5 installed with the pkg utility from <a href="http://pkg.freebsd.org">pkg.freebsd.org</a>:<br>
<br>kde-baseapps-4.10.5_1          Basic applications for KDE<br><br><br></div><div>The full KDE desktop starts up and works great.  I have no major problems with it.  Thanks!<br><br></div><div>However, if I reboot and unplug my laptop, I have one annoying problem.<br>
<br></div><div>The KDE Battery monitor thinks that I have no battery life left, and<br></div><div>suspends my laptop in 30 seconds.<br><br></div><div>From the OS level, everything looks fine.  Here is the output<br>of:<br>
<br> sysctl hw.acpi.battery<br><br>====================================================================<br>hw.acpi.battery.life: 98<br>hw.acpi.battery.time: 152<br>hw.acpi.battery.state: 1<br>hw.acpi.battery.units: 2<br>hw.acpi.battery.info_expire: 5<br>
====================================================================<br></div><div>and:<br><br>upower -d<br><br>====================================================================<br>Device: /org/freedesktop/UPower/devices/battery_devxbatteryx0<br>
  native-path:          dev.battery.0<br>  vendor:               Hewlett-Packard<br>  model:                Primary<br>  serial:               52149 2011/12/23<br>  power supply:         yes<br>  updated:              Sat Nov 16 17:13:44 2013 (2 seconds ago)<br>
  has history:          yes<br>  has statistics:       yes<br>  battery<br>    present:             yes<br>    rechargeable:        yes<br>    state:               discharging<br>    energy:              49.6503 Wh<br>    energy-empty:        1.11 Wh<br>
    energy-full:         54.2457 Wh<br>    energy-full-design:  54.2457 Wh<br>    energy-rate:         20.0022 W<br>    voltage:             11.1 V<br>    time to empty:       2.5 hours<br>    percentage:          91%<br>
    capacity:            100%<br>    technology:          lithium-ion<br>  History (charge):<br>    1384650820    91.000    discharging<br>    1384650818    0.000    unknown<br>  History (rate):<br>    1384650820    20.002    discharging<br>
    1384650818    0.000    unknown<br><br>Device: /org/freedesktop/UPower/devices/battery_devxbatteryx1<br>  native-path:          dev.battery.1<br>  power supply:         no<br>  updated:              Sat Nov 16 17:13:44 2013 (2 seconds ago)<br>
  has history:          no<br>  has statistics:       no<br>  battery<br>    present:             no<br>    rechargeable:        no<br>    state:               unknown<br>    energy:              0 Wh<br>    energy-empty:        0 Wh<br>
    energy-full:         0 Wh<br>    energy-full-design:  0 Wh<br>    energy-rate:         0 W<br>    percentage:          0%<br><br>Device: /org/freedesktop/UPower/devices/line_power_hwxacpixacline<br>  native-path:          hw.acpi.acline<br>
  power supply:         yes<br>  updated:              Sat Nov 16 17:13:38 2013 (8 seconds ago)<br>  has history:          no<br>  has statistics:       no<br>  line-power<br>    online:             no<br><br>Daemon:<br>  daemon-version:  0.9.7<br>
  can-suspend:     yes<br>  can-hibernate    yes<br>  on-battery:      yes<br>  on-low-battery:  no<br>  lid-is-closed:   no<br>  lid-is-present:   yes<br><br>====================================================================<br>
</div><div><br></div><div>I'm not sure, but I think that the KDE battery monitor<br>is getting confused that the hardware supports having two batteries,<br>but I only have one battery installed.<br></div><div><br></div>
<div>I see that Alberto Villa submitted this patch to KDE:<br></div><div><br><a href="https://git.reviewboard.kde.org/r/110941/">https://git.reviewboard.kde.org/r/110941/</a><br><br></div><div>I think this patch is related to my problem and may solve it.  Has this patch<br>
</div><div>been pushed upstream to KDE, or do we have it in the FreeBSD port?<br><br></div><div>Thanks.<br>--<br></div><div>Craig<br></div><div><br></div></div>