LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware64-14.1 RC3 laptop battery life issue (http://www.linuxquestions.org/questions/slackware-14/slackware64-14-1-rc3-laptop-battery-life-issue-4175483532/)

kingbeowulf 11-05-2013 09:39 PM

Slackware64-14.1 RC3 laptop battery life issue
 
I have a Dell Latitude E6400 (intel cpu etc) that I dual boot with WinXP sp3 (ugh, needed for work). Both XP and Slackware64-14.0 (kde and/or Xfce) have always matched in reporting battery life - starting at 100% and about 2-4 hrs of life, now a bit longer since I swapped in a SSD drive, depending on screen brightness, wifi etc usage. However, Slackware64 14.1 RC1-3 reports 37% on boot from a full charge, and shows depleted after 1 hr. This is very odd, given that I never had issues before.

We also have an old Acer AMD dual core which does the same thing (pegged and 45% to start) even though 14.0 gave excellent battery life.

Has anyone else noted anything weird with laptop battery life? What do I need to check to troubleshoot this?

bartgymnast 11-06-2013 05:41 AM

hi kingbeowulf,

can you tell me if you see the correct power levels by directly polling the upower directly
and place the output here.

Code:

upower -i /org/freedesktop/UPower/devices/battery_BAT0
if this gives the correct value, than the power-manager in KDE/XFCE is not working correctly.

guanx 11-06-2013 09:02 AM

So ...
  • Which kernel version
  • on which laptop
  • shows which number of battery {design,last full,remaining} capacity after full recharge?
You can get kernel version with the command "uname -r", and battery information under "/proc/acpi/battery/".

kingbeowulf 11-07-2013 01:28 AM

Quote:

Originally Posted by guanx (Post 5059414)
So ...
  • Which kernel version
  • on which laptop
  • shows which number of battery {design,last full,remaining} capacity after full recharge?
You can get kernel version with the command "uname -r", and battery information under "/proc/acpi/battery/".

Please don't ask for redundant information. The post title tells you what I am running and its easy enough too look up the Dell E6400 (mentioned in the post) specs on dell.com.

See next post for /proc/acpi/battery/

Didier Spaier 11-07-2013 01:47 AM

Quote:

Originally Posted by kingbeowulf (Post 5059852)
[...] its easy enough too look up the Dell E6400 (mentioned in the post) specs on dell.com.

That's right, but OTOH why request from readers to spend time finding on the Internet an information you could have provided yourself?

kingbeowulf 11-07-2013 01:50 AM

Quote:

Originally Posted by bartgymnast (Post 5059281)

Code:

upower -i /org/freedesktop/UPower/devices/battery_BAT0

Thanks for that command. I must have a organic memory leak...
Plugged in:
Code:

$ upower -i /org/freedesktop/UPower/devices/battery_BAT0
  native-path:          /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0
  vendor:              Sanyo
  model:                DELL FU2689B
  serial:              1732
  power supply:        yes
  updated:              Wed Nov  6 23:26:35 2013 (0 seconds ago)
  has history:          yes
  has statistics:      yes
  battery
    present:            yes
    rechargeable:        yes
    state:              fully-charged
    energy:              57.72 Wh
    energy-empty:        0 Wh
    energy-full:        57.72 Wh
    energy-full-design:  57.72 Wh
    energy-rate:        0.0111 W
    voltage:            12.249 V
    percentage:          100%
    capacity:            38.2115%
    technology:          lithium-ion
  History (charge):
    1383809195        0.000        unknown
  History (rate):
    1383809195        0.000        unknown

And also
Code:

$ cat /proc/acpi/battery/BAT0/info
present:                yes
design capacity:        5200 mAh
last full capacity:      1987 mAh
battery technology:      rechargeable
design voltage:          11100 mV
design capacity warning: 520 mAh
design capacity low:    157 mAh
cycle count:                  0
capacity granularity 1:  52 mAh
capacity granularity 2:  52 mAh
model number:            DELL FU2689B
serial number:          1732
battery type:            LION
OEM info:                Sanyo

After Unplugging:
Code:

$ upower -i /org/freedesktop/UPower/devices/battery_BAT0
  native-path:          /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0
  vendor:              Sanyo
  model:                DELL FU2689B
  serial:              1732
  power supply:        yes
  updated:              Wed Nov  6 23:32:35 2013 (1 seconds ago)
  has history:          yes
  has statistics:      yes
  battery
    present:            yes
    rechargeable:        yes
    state:              discharging
    energy:              21.6783 Wh
    energy-empty:        0 Wh
    energy-full:        57.72 Wh
    energy-full-design:  57.72 Wh
    energy-rate:        11.8215 W
    voltage:            12.08 V
    time to empty:      1.8 hours
    percentage:          37.5577%
    capacity:            38.2115%
    technology:          lithium-ion
  History (charge):
    1383809555        37.558        discharging
    1383809553        37.577        discharging
    1383809550        37.596        discharging
  History (rate):
    1383809553        11.821        discharging
    1383809551        12.465        discharging

It appears that KDE and upower give the same result: 38% capacity. The "last full" value doesn't make any sense when compared to WInXP. I will try to fire up a bootable USB drive with stock Slackware64 14.0 (kernel 3.2.45) for comparison with -current (14.1RC3 kernel 3.10.17). I'll try to do the same comparison with the Acer AMDX2 laptop.

I doubt its a hardware flaw (2 completely different laptops), but if it is I can live with it. If not, it would be good to fix the software before 14.1 goes live.

kingbeowulf 11-07-2013 02:01 AM

Quote:

Originally Posted by Didier Spaier (Post 5059862)
That's right, but OTOH why request from readers to spend time finding on the Internet an information you could have provided yourself?

I do so, so that LQ posts don't get filled with extraneous information - especially since 2 completely different laptops (Intel vs AMD) gave the same weird battery results after a clean 14.1RC1-3 install after running 14.0 since DAY ONE with good battery life.

Besides, why wouldn't you search the internet to very a post's information and data - I do. Also, I should hope that readers know what is shipping with 14.1RC3. This is, after all, the Slackware subforum. Show a little initiative, monkey boy. :rolleyes:

bartgymnast 11-07-2013 02:41 AM

Kingbeowulf,

can you try upgrading upower to 0.9.23 (dont use 0.9.99)
you can just use the slackbuild from slackware source directory.

http://upower.freedesktop.org/releas...-0.9.23.tar.xz

and post here if this solved the issue.

version 0.9.23 fixed alot of issues regarding display of power levels.

guanx 11-07-2013 03:06 AM

Quote:

Originally Posted by kingbeowulf (Post 5059852)
Please don't ask for redundant information.

If you are smarter, please don't ask questions here but solve it by yourself.

guanx 11-07-2013 03:09 AM

Quote:

Originally Posted by Didier Spaier (Post 5059862)
That's right, but OTOH why request from readers to spend time finding on the Internet an information you could have provided yourself?

No that's not right.

The OP actually mentioned different laptops, battery levels, distro versions and kernel versions. He did not say which corresponds to which and he refuses to provide such information when asked for. These information cannot be found elsewhere on the Internet.

kingbeowulf 11-20-2013 07:28 PM

I upgraded slackware packages (thanks bartgymnast), did a few deep cycle discharge/charge cycles, pulled the battery for some voltage tests...Then bought a non-Dell Rayovac 9-cell battery. Marked solved.


All times are GMT -5. The time now is 03:47 PM.