Librem 5 Power Bug

On L5, select/tap/click on Settings > Power
14-hours-to-charge-

That “13 hours 52 minutes until fully charged” is what L5 showed.

Bug, gremlin, poltergeist? :thinking:
~s
p.s. I had to add characters to topic to comply with the minimum number of characters. :roll_eyes:

2 Likes

I think what happens here is that the power management IC eases right back on the charge current as the battery gets more full - and then the phone software calculates

(full battery capacity - current battery capacity) / (current charge current) = time to finish charging

with the result that you see. It may therefore asymptotically approach 100% charged. Or you might see that if you leave it on charge after it does finish charging and then you use it some more.

So maybe it’s a feature not a bug.

Having said that, I have not personally noticed something like that i.e. telling me that it will take 14 hours to finish charging when it is almost completely charged.

2 Likes

[quote=“irvinewade, post:2, topic:27858”]
So maybe it’s a feature not a bug.
[/quote]:ant:
:beetle:
I don’t care if it’s a feature bug or not. Having a (maybe) “feature” that provides incorrect results, or possible harm is a feature that Purism should find a pot for in byte heaven.
The fact people have to know all that stuff you pointed out :bug: as a probable excuse for obvious low-grade issue that only further erodes the remaining image of Purism quality techmanship.

Just what constitutes a bug around here anyway? A feature that obviously makes a huge information error is OK?         :ant:

Somethings wrong. Period. Does Puri want to sell phones just to the hobbyists, or as a safe and friendly device that surpasses the Duops.

Maybe that’s why so many people have so many problems with L5 - everything odd has a :cockroach:excuse.
:honeybee:
I’ll try harder next time to not help when I see problems like Google can’t find the links to forums because Discourse :spider: is missing the first character after topic ID number /post number, or view counts in post with a link don’t compute.

:lady_beetle:

3 Likes

All good. That part was responding to:

I thought you asked a question and I offered an answer to that question.

But the information may in fact not be in error.

Is the current behaviour helpful? Probably not.

(My own script also outputs the time to charge. I need to look more closely at its behaviour when the battery is almost charged.)

1 Like

It seems more like a low power supply in general. That can happen for example when plugin USB-C into an USB-hub that cannot deliver the power that’s needed and so it fills veeeeryyy slooow. So @Sharon: where did you put in your charger-cable on the other end?

End a general hint: shut down the display consumes much less power, so it would not take 14 hours to finish loading compared to display on. Even better when you put phone into suspend. Fastest if phone shut down, but I think that’s nothing you want to do. :sweat_smile: Especially when power supply is weak, suspend makes a huge difference.

1 Like

I assumed that when the battery charge level is much lower, say, 40%, the time until fully charged is more realistic. Perhaps @Sharon can confirm whether this oddity occurs throughout the charging process, from start until 98% charged, or only when the charge percentage is close to 100%.

1 Like

I plug 1 end of the cable in to the power adapter, the adapter in to the power cord other end of adapter in to phone. I keep it on a heat sink. I leave it that way.

Once a week I get a ride in to town, so I record the charge % and time on L5 and tap the power button to turn the screen blank & unplug the cable At the phone, go for brunch. On return, I record the time and %.
That’s it.
My point was that I don’t care. I know it’s just wrong too and therefore don’t put too much faith in the displayed charge %. Simple. I added to that, that if all L5s, any, or some, do the same thing, it doesn’t help improve Purism’s quality control.

IMO what else could it be called.
:cockroach:

~s

1 Like

It was first time I’ve seen it. I leave it plugged in all the time except once a week, I take it with me when I go in to town for brunch. I felt the need to be like the others and have something else in my other hand hand, the other a fork plus I can text present company and invite them to join me. :rofl:

1 Like

You should never charge your phone at that level. Batteries always love to be in 20 to 90 Percentage. Trust me. And it will still work 10 or 100 years longer. Never load full or run down about ten percent…

3 Likes

For the record, I have not so far been able to reproduce the behaviour reported in the OP.

That’s complicated though because you are assuming that “100%” means “100%”. The software is entitled to treat e.g. at-80%-battery-capacity as fully charged and hence to mean “100%” - thereby not causing user confusion or requiring user configuration steps but protecting the battery in the way you describe.

In theory the same could apply at the lower end but that is complicated by the fact that the phone will shut down automatically anyway when battery becomes critically low. While the purpose of that is not to protect the battery, it somewhat has that effect. That said though, I think the shut down level is a little too high for the purposes of protecting the battery. I don’t know what the shut down level is or how to find it or how to adjust it.

(I’ve chosen an audio warning just to tell me to put the phone on charge at 30%. So it might be closer to 20% anyway by the time I respond to the audio badgering. :wink:)

2 Likes

I have now more or less reproduced this. I just ran a program that recorded the relevant charging data out of /sys/class/power_supply/... every X seconds, while the phone charged, into a CSV file for later analysis.

So what I thought was happening is indeed happening. You get a very low current right towards the end of charging, when the battery is almost full, and it suddenly calculates that there is 19h12m (in my case) still to go. A minute later that has come back to an hour or so still to go. A minute later the battery is charged.

The bottom line is that Settings / Power is doing the right thing but the information that it is basing its calculations on is unhelpful.

Rather than try to fix that calculation though it may be better to look at a bigger problem … it is using a linear extrapolation for time remaining to charge when it is known that the behaviour will not be linear.

In fact, if you look at the estimated time at which charging will finish, based on the current time + the time to finish charging, that estimated time nearly always moves forward, and ends up moving forward a lot, in my case by about 90 minutes (charging from 45%) i.e. comparing when it said charging would finish when the battery level was at 45% (when charging started) v. when it actually finished charging.

1 Like

I guess that ignore it is a best-practice solution for now. I don’t pay much attention to the battery level since desktop one says 98%, the other on notification screen says 100%.
I know they can’t all be perfect, but when it showed 98%, usual for the desktop screen, and 14 hours to charge, I thought this might create a interest. I would still consider it to be a bug though. Too, I don’t care so long as it’s not a dead battery.
As you may remember, it’s “very really hard to” get one in Canada. :rofl:

My other concern was Puri image.
~s

1 Like

Thanks for the tip Christal. I only have 1 problem with your suggestion. I rarely disconnect the phone (unplug the phone from the cable) so I assume it just very slowly, keeps it charged up.

I remember one incident where the L5 with cable in was moved to another spot on my desk. In the morning, it would start, but shut down right away. I can’t remember what I did but I do remember checking and finding the adapter was not properly seated in to the power cord.
A gentle nudge nudge and the L5 responded normally and charged back up again.
Gremlins sometime feel the need to remind me they are real :crazy_face:
~s

1 Like

Purism is really close to getting that sorted out with its transport company. So hopefully we are not far away from the day when you can get a replacement battery in Canada if you need one.

3 Likes