[RESPONDED] (REQUEST) Add battery charging limit START

Hello,
would it be possible to improve the current battery charging limit that can be set in the BIOS?

My previous DELL XPS allows to specify both the percentage at which to START charging, and when to STOP. FW only allows the latter.

Unfortunately this means that if you are frequently attached to a power adapter but occasionally bring it to a different room/out, it will discharge by maybe a few %, and when you dock it again it will go up again to the STOP limit (e.g. 80%).

I suspect that this adds unnecessary charge counts, and it would be nice to be able to optionally set also a START charging value, so that it won’t start charging until below 40%, for example.

Also, I don’t see any UI support in Linux, even for the STOP charging value, which is a bit annoying.

Thanks

20 Likes

Hi @fw13amd ,

That seems a nice feature to have, fingers crossed if enough users wish a limit start feature on charging, who knows this might be included in the roadmap :wink:

I though this is addressed with upower gnome extension?

3 Likes

I dunno about gnome, but on KDE the settings are already there:

However they only appear if some specific resources are exposed by the kernel, e.g. these have to exist:

$ cat /sys/class/power_supply/BAT1/charge_control_end_threshold
$ cat /sys/class/power_supply/BAT1/charge_control_start_threshold

Which is not currently the case, but seems to be feasible according to:

At least for the end value. For the start one I guess that FW has to update the Embedded Controller.

So if you are reading this and want this feature, please put a <3 on my initial comment to show your support :slight_smile:

Also you can set the charging limit in the bios

Hi @Michael_Schmid ,

that’s literally the first thing I wrote in my OP :smiley:

Hello,
would it be possible to improve the current battery charging limit that can be set in the BIOS?

But if you read carefully, the point of this feature request is to allow us to set a START charging threshold, which is currently not possible (BIOS or otherwise)

I am literally requesting that “low point” you talk about, I thought my OP was clear enough.

Also I don’t understand why you assert point a), but then make an argument for avoiding charging so much at the end. It’s a bit contradictory to me.

I agree with the need to avoid charging so much, hence disagree with your point a).

Or at least, let’s say that with a START AND STOP values configurable, my Dell XPS with a 50-something mAh battery was still at 99.something % battery health after 1.5 years. And this was with a START - STOP of 40% - 80%.

So I have proof that START + STOP limits, together, do wonders. Not so sure that STOP alone is as effective as having both.

Yes that would be nice BIOS feature, on my work laptop I set up a systemd-unit so that my preferences get applied at boot time, so I do not have to set it manually. But then again neither can I set the charging limit. So that was the only solution anyways.
But also we should be grateful that our framework laptop allows us to change the battery and we don’t have to sell our kidneys for the repair.
Yes E-Waste is horrible and there is ways too much of it. We should take care of our batteries, but it is a part that wears, like breaks on a car.

And I am, trust me. I was furious at Dell because my honestly otherwise perfect and still in top form XPS only came with 16GB of soldered RAM. Clear example of planned obsolence, except that in this case I was partly responsible since I knew what I was buying (but then again, at the time of purchase there weren’t really many options without soldered RAM…and today it’s probably even worse, thanks Apple!).

What I want to say is that I appreciate FW for what they’re doing and I clearly wanted to VOTE WITH MY WALLET this time around.

But that shouldn’t be an excuse to not keep improving.

And since the STOP limit is already implemented, I really don’t think it takes much to implement to STOP as well.

1 Like

Some of these things should be possible with a bit better set of tooling around the EC controller. There is a very similar project for the lenovo_legion laptops which use an EC similar to the one in the FW - i’ve pointed @DHowett at it in the hopes some of the bits might be able to be re-used.

1 Like

To be fair, however, a start limit will require changes to the embedded controller firmware before we can even consider publishing it to userland :smile:

3 Likes

I’d be all for additional functionality like this.

Given that the EC bios generation is relatively trivial and see some folks with the intel FW’s doing some fun things with theirs ; would it make sense to have Release and ‘Experimental’ set of EC images?

The current Release looks pretty minimal ; and unlike the BIOS I think the EC is pretty much open core base right?

I would rather it just have passthrough, so if I am connected to the charger, and battery is above the charging limit, it just runs off the cord, and not try and charge, unless that is already what it does, but thats not been my experience with any laptop, or what it sounds like framework does from others comments.

3 Likes

That’s an interesting extra feature request, but please open a separate topic for that.

It still won’t solve the issue of the many micro charges if you disconnect often at 80%, use for just half an hour on battery and then plug it back in. Rinse and repeat and over a day you got yourself 10 micro charges of 5% instead of a single one from 30 back up to 80.

It’s legitimate to request both gestures, but please don’t derail my feature request.

The start + stop limits have proven their value with my previous laptop, resulting in less than 1% battery wear over more than one year of usage. I know what I’m saying :wink:

I’m just gonna leave this here.

Hi Loell, what are framework’s criteria to determine if enough users want this? Maybe I can create a poll or something to collect more feedback/interest?

I really really want to see this implemented and since you added a stop limit I don’t think that implementing a start one is so much extra work.

Our batteries are starting to collect useless mini-charging cycles that add wear and reduce their life spans. Could you please somehow prioritize this and add this to the roadmap already?

Thanks :pray:

3 Likes

+1 …

wasn’t there another thread where this was requested and someone from framework team responded they were working on it?..

edit: here

Thanks, but that’s only for exposing to the OS the currently available STOP limit.

Not to add support for the START limit :wink:

1 Like

I appreciate it, but I am just an enthusiastic community member and not Framework Computer staff. :slightly_smiling_face:

2 Likes