Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
" 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.
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.
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.
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.
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.
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.
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.
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
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
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.
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?
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.
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"
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.