LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-05-2013, 09:39 PM   #1
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 502

Rep: Reputation: 136Reputation: 136
Question 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?
 
Old 11-06-2013, 05:41 AM   #2
bartgymnast
Member
 
Registered: Feb 2003
Location: Lelystad, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 252

Rep: Reputation: 86
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.
 
Old 11-06-2013, 09:02 AM   #3
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 145Reputation: 145
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/".
 
Old 11-07-2013, 01:28 AM   #4
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 502

Original Poster
Rep: Reputation: 136Reputation: 136
Quote:
Originally Posted by guanx View Post
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/
 
Old 11-07-2013, 01:47 AM   #5
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-14.1 on a Lenovo T61 6457-4XG
Posts: 3,959

Rep: Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936
Quote:
Originally Posted by kingbeowulf View Post
[...] 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?
 
Old 11-07-2013, 01:50 AM   #6
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 502

Original Poster
Rep: Reputation: 136Reputation: 136
Quote:
Originally Posted by bartgymnast View Post

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.
 
Old 11-07-2013, 02:01 AM   #7
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 502

Original Poster
Rep: Reputation: 136Reputation: 136
Quote:
Originally Posted by Didier Spaier View Post
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.
 
Old 11-07-2013, 02:41 AM   #8
bartgymnast
Member
 
Registered: Feb 2003
Location: Lelystad, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 252

Rep: Reputation: 86
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.
 
1 members found this post helpful.
Old 11-07-2013, 03:06 AM   #9
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 145Reputation: 145
Quote:
Originally Posted by kingbeowulf View Post
Please don't ask for redundant information.
If you are smarter, please don't ask questions here but solve it by yourself.
 
Old 11-07-2013, 03:09 AM   #10
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 145Reputation: 145
Quote:
Originally Posted by Didier Spaier View Post
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.
 
Old 11-20-2013, 07:28 PM   #11
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 502

Original Poster
Rep: Reputation: 136Reputation: 136
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.
 
  


Reply

Tags
battery, laptop, slackware 14.1


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
laptop battery life iceman81 Linux - Newbie 16 02-16-2014 06:09 AM
Laptop Battery life.. Does Distro affect battery life?? jeevanism Linux - Hardware 6 07-09-2011 02:16 AM
Laptop's battery life TheIndependentAquarius General 126 04-05-2011 03:20 AM
laptop battery life jb2006 Slackware 6 03-31-2006 08:54 PM
windows, good battery life -> fedora, bad battery life daedalusq1115 Linux - Laptop and Netbook 1 01-17-2005 06:40 AM


All times are GMT -5. The time now is 07:36 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration