LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-14-2019, 02:43 PM   #1
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
Is it possible for a battery's life to improve?


I inherited this laptop from work, and when I did so, the battery has always been at 95% of its capacity/condition. Nothing wrong with that, 95% is great.

A lot of the time I keep this laptop on suspend but I also give it 'time out' by turning it off.

I regularly check

Code:
inxi -B
which always gives me 95% of battery capacity. However, after another couple of days on and off suspended, I just checked inxi -B and I get

Code:
lysander@lysultra-vi:~$ inxi -B
Battery:   ID-1: BAT0 charge: 53.6 Wh condition: 54.8/55.0 Wh (100%)
Is this possible? Can the battery life actually improve?

Last edited by Lysander666; 06-14-2019 at 02:51 PM.
 
Old 06-14-2019, 02:57 PM   #2
ugjka
Member
 
Registered: May 2015
Location: Latvia
Distribution: Arch, Centos
Posts: 368
Blog Entries: 5

Rep: Reputation: 264Reputation: 264Reputation: 264
I wonder what the margin of error is like
 
Old 06-14-2019, 03:26 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
" Can the battery life actually improve?" In reality the answer is no. A battery starts to go bad the second it gets built. Time and use both play a part in it's destruction.

What you may mean to ask is, "Can the way it is reporting vary?" That answer would be yes.
 
Old 06-14-2019, 05:43 PM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
I had s cell phone that after bounced lightning strike hit the outside of our mobile home I would have to charge it everday to keep from going dead. I thought for sure I was going to have to replace the battery, but about a year later the phone went back to going four or five days before needing a charge. In my opinion it can happen, but it is rare. But then again it could of something in the phone shorting out that may have burnt open that didn't affect the operation if the phone

Last edited by colorpurple21859; 06-14-2019 at 06:40 PM.
 
Old 06-14-2019, 08:36 PM   #5
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
It's more likely that reporting changed. Or usage changed with improvements in software. If you turned OFF the laptop for a while and let it change over a duration, it might have gotten more charge. Since the laptop draws from the battery, even when off (RTC clock and whatnot). Or the power connector improved as solder points can degrade when the plug gets pulled and yanked and dropped and whatnot. Like a bad headphone jack, push and pull it a certain way and it's great, but unattended it's anybodies guess.
 
Old 06-15-2019, 03:13 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
It used to be so that chargeable batteries' capacities could be improved through a dedicated discharging/recharging process, specialised chargers used to exist.
I'm not sure if this still applies to newer technologies like in laptops.

In any case, There's a lot of software involved; not only on your OS but also insiode the battery itself - I suspect that (most of) the change originates there.
 
Old 06-16-2019, 05:14 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,286

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Jefro's on the ball here. There's actually a spec quoted in electric cars about how efficient a battery will be at x,000 km. The one figure I hears was 66%, which they thought was good.
 
Old 06-17-2019, 07:57 AM   #8
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,830
Blog Entries: 17

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
Quote:
Originally Posted by Lysander666 View Post
Code:
lysander@lysultra-vi:~$ inxi -B
Battery:   ID-1: BAT0 charge: 53.6 Wh condition: 54.8/55.0 Wh (100%)
Is this possible? Can the battery life actually improve?
Try
Code:
acpi -i
In my experience it is very accurate, over time as well.
 
Old 06-17-2019, 08:00 AM   #9
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178

Original Poster
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
Quote:
Originally Posted by zeebra View Post
Try
Code:
acpi -i
In my experience it is very accurate, over time as well.
Interesting:

Code:
lysander@lysultra-vi:~$ inxi -B
Battery:   ID-1: BAT0 charge: 34.8 Wh condition: 54.8/55.0 Wh (100%) 

lysander@lysultra-vi:~$ acpi -i
Battery 0: Discharging, 63%, 09:25:55 remaining
Battery 0: design capacity 7236 mAh, last full capacity 7215 mAh = 99%
I suppose the answer is that we're not totally sure yet, but something is either going on in the reporting or the battery life has actually improved [which seems unlikely, but we would have to rule out its impossibility to go with the former].

I found this comment interesting from a Mac forum:

Quote:
The battery in your macbook pro, will generally have a higher capacity (only very very slightly tho) than when it was manufactured. This is due to the way the chemicals work.

So yes it's perfectly possible for your macbooks battery to ship as say 6900 mah, and then for the next few cycles for the battery capacity to increase to a little over 7000 but will obviously then start to decrease as you continue to use the machine and it gets older

Last edited by Lysander666; 06-17-2019 at 08:03 AM.
 
Old 06-17-2019, 09:00 AM   #10
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,830
Blog Entries: 17

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
Quote:
Originally Posted by Lysander666 View Post
Interesting:

Code:
lysander@lysultra-vi:~$ inxi -B
Battery:   ID-1: BAT0 charge: 34.8 Wh condition: 54.8/55.0 Wh (100%) 

lysander@lysultra-vi:~$ acpi -i
Battery 0: Discharging, 63%, 09:25:55 remaining
Battery 0: design capacity 7236 mAh, last full capacity 7215 mAh = 99%
I suppose the answer is that we're not totally sure yet, but something is either going on in the reporting or the battery life has actually improved [which seems unlikely, but we would have to rule out its impossibility to go with the former].
How do you know it was 95% when you got it? With what tool did you measure that? Perhaps Apple "cheats" and make some kind of secret margin in their software to measure the battery. Perhaps the case is that your measurement with acpi is measuring 100% of the actual battery, and not say 90% as 100% (to try to get the math to work).

54.8wh/55.0Wh seems to be the same as 7215 mAh = 99%.

Or perhaps the previous method you used just isn't the same as this one.

In any case, I feel I can rely on the acpi data.
 
Old 06-17-2019, 09:09 AM   #11
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178

Original Poster
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
Quote:
Originally Posted by zeebra View Post
How do you know it was 95% when you got it? With what tool did you measure that?
I used inxi -B which reported 95% multiple times, as it says in the OP

Quote:
Originally Posted by zeebra View Post
54.8wh/55.0Wh seems to be the same as 7215 mAh = 99%.
Well, there are two differences: inxi gives 99.64% whereas acpi gives 99.71%. 0.07% is not much of a discrepancy to worry about, I feel. Secondly, inxi rounds up and acpi rounds down.

Quote:
Originally Posted by zeebra View Post
In any case, I feel I can rely on the acpi data.
They both seem good to me, but it's interesting to see the differences between the two.

Last edited by Lysander666; 06-17-2019 at 09:13 AM.
 
Old 06-18-2019, 02:39 AM   #12
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,830
Blog Entries: 17

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
Quote:
Originally Posted by Lysander666 View Post
Well, there are two differences: inxi gives 99.64% whereas acpi gives 99.71%. 0.07% is not much of a discrepancy to worry about, I feel. Secondly, inxi rounds up and acpi rounds down.
By "very" accurate in my case, I mean in percentage without commas. Not sure where inxi gets its data from, but I would guess /sys/class/power_supply/ and acpi gets it from acpi. But where does sys/class/power_supply get its data from? The Kernel? And Kernel is responsible for acpi or just fetch it from the bios directly?

hmm.

Last edited by zeebra; 06-18-2019 at 02:40 AM.
 
Old 06-18-2019, 04:36 AM   #13
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,830

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
actually measuring the quality of the battery is not really possible. So all the used methods are just guessing something based on something else, which can be measured, but unfortunately not really/directly connected to capacity/condition.
 
Old 06-19-2019, 08:44 AM   #14
tmittelstaedt
LQ Newbie
 
Registered: Jun 2019
Posts: 11

Rep: Reputation: Disabled
Battery life and capacity are 2 different things.

Think of it like a 1 quart pitcher of water. It can be 100% full - holding exactly 1 quart. A 1 pint pitcher of water can also be 100% full - holding exactly 1 pint. But if you pour both of them out at the same rate, the quart pitcher will last longer.

As batteries age their capacity gets lower and lower. But even an old battery with a half a pint of capacity left can be charged to 100%.

OF course all of this is academic since the battery specs in a modern laptop battery are supplied by a smart battery chip inside the battery itself which can be programmed to say whatever the heck the battery assembler wants it to say. You can buy a cheap battery from China that has marginal cells in it but the smart chip will happily report lots more capacity than is actually there to make you feel like you "got a deal"
 
1 members found this post helpful.
Old 06-24-2019, 05:01 AM   #15
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by tmittelstaedt View Post
OF course all of this is academic since the battery specs in a modern laptop battery are supplied by a smart battery chip inside the battery itself which can be programmed to say whatever the heck the battery assembler wants it to say.
That's the gist of it really
 
  


Reply



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.. Does Distro affect battery life?? jeevanism Linux - Hardware 6 07-09-2011 02:16 AM
Does using a Compact Flash card as a hard drive improve battery life? Super TWiT Linux - Hardware 1 08-30-2010 07:35 AM
LXer: Linux: Improve Your Battery Life With PowerTOP LXer Syndicated Linux News 0 10-03-2009 04:20 AM
Windows: 4-5 hour battery life, Gentoo : ~2:30 battery life numerous Linux - Laptop and Netbook 3 01-17-2005 08:39 PM
windows, good battery life -> fedora, bad battery life daedalusq1115 Linux - Laptop and Netbook 1 01-17-2005 06:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:38 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration