How to limit my battery percentage

I am new to linux is it possible to limit battery percentage to x percentage then battery charge is cut off auto. Or I'm using my laptop every time with charger is it useful for me to enable battery limit? Please guide me regarding the battery limit.

If you are concerned with battery life, these days batteries already have a built-in mechanism that will prevent them from charging when they reach full capacity. After a little bit of use when the capacity drops to 95% or so, they will start to accept charge again.

Even though you should still let it uncharge every now and then, but never completely. I typically let if drop until 20-40% before I charge it again.

1 Like

Yes... batteries have improved in leaps and bounds in the last several years. It is not like it once was...

I am using a very old laptop I don't think my laptop has this feature. Can I use my laptop only on charger? and avoid battery usage that my battery health has does not gone down.

If an older notebook computer, then yes. You can leave the charger plugged in and run indefinitely.

I seem to remember that batteries are better preserved while stored away at about half their full capacity. Unfortunately, no sources on that one but if someone has also heard of this or has some information I would very much like to know if this is true.

Modern or older batteries? For older batteries I do not know. But for modern batteries it is best to charge them all the way when you store them. Batteries these days do not like being without a charge. That is why most devices shut off from low battery when the battery is really at about 5% to make it less likely for the battery to get to 0.

As far as protecting batteries from overcharge the device has some protection but it is also important to use a quality cable and charge block.

Another thing I will mention is modern batteries DO NOT like not being used. If you have a device constantly plugged in without draining it you are slowly destroying the battery. Mophie Cases destroyed many batteries at my repair shop because the battery never got a chance to cycle correctly

1 Like

It's one of these things that you "just know" so it's probably something I read somewhere a long time ago. I didn't know that batteries today like being charged constantly, so my advice is probably not applicable anymore.

You want to keep them away from 0%. That is about the worst thing you can do for them other than overcharging them.

They lose charge just sitting faster than you

1 Like

Right, I try to never let them go under 20%. Of course, that's more difficult to do when you are on the move.

This is another new one to me. My understanding all this time was that using a device while it's charging will risk overheating it. I mean, I do use my laptop while charging even with intensive tasks but as far as smaller devices go which tend to have less powerful cooling system. Maybe it's time to do some reading on this topic, it seems it's been a while since I last checked...

Myths About Cell Phone Battery Life vs Truths.

1 Like

You do not need to worry about it to much as when your device dies there is still a bit of charge on it to keep you from damaging your battery. It is not a big deal unless you store it at 0% for a long period of time.

Modern batteries want to be used. It wants to be discharged and then charged. It does not like constantly being at 100% or 0%. (From my experience being constantly at 100% is by far the worst thing you can do)

Just to say charging to 50% then storing is fine. Only reason I would say higher is to make it take longer for it to drain to 0%. 50% would actually put less "pressure" on the battery so it would be better for the short term.

1 Like

I would say there are a lot of half truths in there.

Fast chargers are definitely worse for a battery than a standard charger for instance.

@zenzen

According to the article above the absolute best way is to charge it "partially" and then recharge every few months.

If it was something I expected to sit for a long time I would just charge all the way or near it and then store it. Because I know I am not going to remember to charge it every so often so I am just trying to keep it away from 0%.

I just want to make one thing clear as someone who owned a phone/pc repair shop. By far the worst thing you can do is keep your device on charge all the time. Keeping the battery pressure that high at all times destroys them

1 Like

Here is the short of it(ugh):
Batteries have changed a lot over the years. And separating what is true today from what was yesterday is not only not easy, it is complicated by the diversity in the ages of batteries out there. In many cases this is complicated by manufacturers either promoting quality or cutting costs - so age is not the first factor.
Then you have variations between batteries, that make testing difficult.

Batteries are Fickle Little Animals.

They do not work in the way many people envision. They are not like a jar or a container. They do not Fill and they do not Empty.
They do not hold nor release electrical Energy. It all has to do with how electrons move between different chemical states.

But these Visuals we have really impact how we perceive Battery usage and battery life.

Degradation of the physical (including chemical) components is the Largest Factor in battery life.
There is currently (ugh... another one!?) a battery that was built in the early 1800's that is still working to this day. A Voltaic Pile. Funny things, fickle factors.

So... Should we worry about the battery dropping to Zero or letting it stay on the charger too long?
No. Not really.

You would have to let your battery drop to zero (completely drain) every Single Time You use it in order to have a significant effect on battery life. (And another person may never let it happen and still have the battery go out early).
Should you fear leaving it plugged into the charger? No. Just about anything cuts off the flow, so it just sits there. When the remaining charge is deemed sufficient, it will charge it back up safely and then shut off the flow again.

Batteries, like HDD's, SSD's, RAM, Power Supply... they are all consumables.

1 Like

Letting it get to 0% is fine as long as you do not leave it for a prolonged period of time.

This is absolutely true.

In general I would not worry about it to much. The way that most people use their batteries is fine. I am not one of those people who would worry about it so much to tell you not to plug your phone in overnight. It does "damage" it but it would be so small that it would not make a quantifiable difference over the life of the battery.

Only suggestion I would make is to NOT use a battery case on your phone. If you do take it out and let the phone's battery drain sometimes.

1 Like

It depends on the battery and what it is made of.

Physics Experiment:
Get a Copper tube and a neodymium magnet that can fit inside the tube. Touch the copper tube to the magnet.
Nothing happens. It is non-ferrous and not magnetic.
The world makes sense, right?
Drop the magnet from up in the air a couple times and catch it in your hands. It falls at a rate of about 9.8m/s squared. All is still right with the universe.
Now, hold the tube straight up perpendicular to the ground and drop the magnet down the tube. It will fall in slow motion.
doink - wha...?

Moving through the conductive Copper tube with the Magnetic Field must generate a current. But the needed energy for the current has to come from somewhere so it is drawn from the motion of the falling object. The object slows way down.

This by the way, is also similar to how refrigeration works. By rapidly decompressing a gas, the energy to expand must come from somewhere, so it is drawn out of the surrounding heat.

For Most Batteries:
The way that they work is by shifting the chemical elements within it from one state to another. This is what I mean by "they do not hold electricity inside them." Rather, by shuffling the chemical in one way or another, the energy to do so has to come from somewhere so it is drawn out of your Charger supplying electrical energy to move it. As they shuffle back, that energy has to go somewhere so it is released as the electron drops a valance as Electrical Current.
This process is, in perfect physics, flawless.
That means, there is no degradation and no possible means of degradation from that process.
This is why you drink Dinosaur wee. Because the water that is on Earth - the molecules themselves - are about 5 billion years old. The Atoms and the Molecules are pretty much invincible for all practical purposes. This is true of Lithium, too.
And it is why a simple Voltaic Pile can still run just fine after over 200 years.

If it is flawless and the molecules are invincible... Then how come batteries go bad?
Impurities in the chemical mix.
Improper mix.
You know.... when you wanna make some money and you are not very careful and just crank products out as cheaply and quickly as you can... You may not produce "Flawless." But over time, consumers have become disgruntled by batteries being so BAD and having to be replaced (costly) so frequently, manufacturers have invested in finding better mixes, removing more impurities and making batteries a bit more stable to impress consumers.
So why don't they just go all the way as Physics Allows and make them Flawless?

Because then, they would be out of business and out of profits, that's why.

So... (LOL) Can a battery Go Bad from letting it drain all the way?
Sometimes, yes. In order to achieve a reliable, yet still limited lifespan for a rechargeable battery, some batteries can be unable to "shuffle" the components if so completely drained that there is no initial Start Up Shuffle remaining to enable movement. But that is actually pretty rare.

1 Like

Just as a quick reply. I am speaking for the batteries in essentially all consumer products now. (Lithium Ion)

I was on a soap box, sorry.

No you are fine, an interesting read and you clearly understand the inner workings of a battery better than I do lol.

I can tell you for a fact there is a large difference in Apple batteries and cheap Chinese batteries in iPhones. We spent a lot of time finding our supplier to get good quality at a reasonable cost. The impurities you were speaking of is likely the difference, I never looked that deep into it. I just cared about the result lol

The same is true for screens on devices. If you get your phone repaired I would definitely question what kind of parts they are using. A lot of places use parts that are not even in the ballpark of being OEM quality.

(If anyone is curious I worked at the shop for about 5 years and bought it from the owner. I owned it for about 3 years after that. I got tired of how much work it was and it was not profitable enough for it to be worth it to be totally ran by employees. So I sold it to someone else.

Owning a business is a TON of work.)

2 Likes

I suspect the OP was enquiring about a battery management app similar to this Lenovo one. In Battery Health mode it keeps charge to 60% when plugged in.

We have had this conversation about battery management app on Linux desktop in the past and concluded there was nothing like this available.

2 Likes