You are not logged in.

#1 2024-05-19 13:05:51

Balvey
Member
Registered: 2024-05-19
Posts: 3

Battery staying on 97% not going up

Hello

Today I been having some issues with my laptop my friend tells me that the laptop is cursed and etc etc I like to cure this curse
The first issue is the battery, now then I have replaced a battery for a newer version from Duracell the laptop is
Lenovo Legion y520-15IKBN
32GB RAM
GNOME version 46
X11
Linux 6.6.31-1-lts

issues the battery will remain on 97% and it won't go higher it will stop the charge as i checked that in sys/class/power_supply/BAT0 where it stated not charging. The acpi is not found as a command and arch i presume stopped using it long time ago

Solutions
I have tried simply power off and boot to BIOS than let it discharge and repeat the process twice and i left the Laptop for 3 days without a charge.
Then i plugged the charge and let it charge up till full and powered it on that has made it to charge all up to 100% so i left it in and forgot about it thinking that the issue was fixed. that is until few days prior the issue comes back and now is back to square one. I have run out of options of what to do as I Don't know what to do next any help would be greatly appreciated
Speak soon

Offline

#2 2024-05-19 14:05:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,224

Re: Battery staying on 97% not going up

Thinkpads can configure a charge threshhold where they'll stop charging if the threshhold is reached. This could very well be a factory setting in  your UEFI, or check your loaded kernel modules e.g. thinkpadd_acpi or so, see https://linrunner.de/tlp/settings/battery.html and https://linrunner.de/tlp/settings/bc-ve … -thinkpads (even if you aren't using TLP, the underlying concepts and sysfs locations mentioned there are the same as that's happening on a kernel level)

Offline

#3 2024-05-22 17:14:22

Balvey
Member
Registered: 2024-05-19
Posts: 3

Re: Battery staying on 97% not going up

Mine ain't a Think Pad, I understand what you mean, I Don't currently have a TLP and I don't use it. Shall I though?

Offline

#4 2024-05-22 19:11:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,224

Re: Battery staying on 97% not going up

IBM's laptop division got bought by lenovo, they largely retain their logistics from the thinkpad line. No, but you should be reading the sections I linked, check whether any of these kernel modules is loaded on your system and look at the mentioned paths whether they set a charge threshold that's simply being honored. in particular look at

/sys/class/power_supply/BAT0/charge_control_start_threshold
/sys/class/power_supply/BAT0/charge_control_end_threshold
/sys/class/power_supply/BAT0/charge_behaviour

or similar files and what their logical contents are, the TLP link talks about 97% being a hardware/firmware default for stopping to charge, as such this would be intentional, but could be overwritten by writing to those system files. e.g. https://linrunner.de/tlp/settings/bc-ve … pad-series is also interesting.

Last edited by V1del (2024-05-22 19:13:48)

Offline

#5 2024-05-22 21:15:23

Balvey
Member
Registered: 2024-05-19
Posts: 3

Re: Battery staying on 97% not going up

Right but I have read the sections you have provided btw this is BAT0 for me:

[arch@archlinux BAT0]$ ls
alarm           cycle_count  energy_full_design  manufacturer  power_now      status      type                voltage_now
capacity        device       energy_now          model_name    present        subsystem   uevent
capacity_level  energy_full  hwmon1              power         serial_number  technology  voltage_min_design
[arch@archlinux BAT0]$ 

this is what i get
also how do I implement an image? i have read it online the guide how should be done but say i want to implement an image from my drive, how do i do that?
Thank you

Offline

#6 2024-05-22 22:10:36

mpan
Member
Registered: 2012-08-01
Posts: 1,597
Website

Re: Battery staying on 97% not going up

Before you spend a lot of time chasing a phantom: are you sure there actually is any problem?

Are you sure that you don’t miss the moment when battery reaches 100%? There is little energy stored in the few last percent points, so the indicator value falls quickly if charging is turned off.

Charging to 100% rated capacity is wasteful, rarely provides any real benefit to the user, and is liability to the brand owner. So nowadays many manufacturers choose to never charge to 100% in the first place. This is the scenario V1del mentioned. You may or may not be able to change this behavior.

If you can’t change the behavior: does it measurably hurt anything? There are scenarios, when one may wish to start with battery charged to the brim. But these are not that common and it’s balancing a few factors — factors usually people don’t even consider.


Paperclips in avatars? | Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

Board footer

Powered by FluxBB