You are not logged in.

#1 2023-09-20 19:36:24

Ehllay
Member
Registered: 2023-03-07
Posts: 13

[SOLVED] Batttery not charging in Lenovo Ideapad 330-15IKB

Hi, today I wanted to extend my battery life and decided to install autocpu-freq and also powertop (I already use tlp) and it was fine for a while, until my battery stopped charging at 60%.  I decided to shut down the laptop and after 20 minutes, it didn't move. I also tried disconnecting until 2% dropped, but it still didn't go up (It stayed at 58% after that, not 60%)

acpi -i gives me:

Battery 0: Not charging, 58%

and acpi -a gives me:

Adapter 0: on-line

Please help, I have been looking everywhere and found nothing useful, and I don't think my battery or ac is broken as this happened just after I did my tinkering...

Last edited by Ehllay (2023-09-21 17:04:49)

Offline

#2 2023-09-20 22:12:07

espritlibre
Member
Registered: 2022-12-15
Posts: 129

Re: [SOLVED] Batttery not charging in Lenovo Ideapad 330-15IKB

are you sure you didn't tinker with the charge thresholds in tlp? what the output of

sudo tlp-stat -b

Offline

#3 2023-09-21 16:54:49

Ehllay
Member
Registered: 2023-03-07
Posts: 13

Re: [SOLVED] Batttery not charging in Lenovo Ideapad 330-15IKB

Thank you for your time and sorry for answering so late. The output is:

--- TLP 1.6.1 --------------------------------------------

+++ Battery Care
Plugin: lenovo
Supported features: charge threshold
Driver usage:
* vendor (ideapad_laptop) = active (charge threshold)
Parameter value range:
* STOP_CHARGE_THRESH_BAT0: 0(off), 1(on) -- battery conservation mode

/sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode = 1 (6
0%)

+++ Battery Status: BAT0
/sys/class/power_supply/BAT0/manufacturer                   = SMP
/sys/class/power_supply/BAT0/model_name                     = L16M2PB1
/sys/class/power_supply/BAT0/cycle_count                    =      0 (or not supported)
/sys/class/power_supply/BAT0/energy_full_design             =  30000 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  24880 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  13770 [mWh]
/sys/class/power_supply/BAT0/power_now                      =      0 [mW]
/sys/class/power_supply/BAT0/status                         = Not charging

Charge                                                      =   55.3 [%]
Capacity                                                    =   82.9 [%]

It seems it's on, but the output says conservation_mode is 60%, and my battery isn't charging even at 55%, so I'm not sure that's the reason. Also

 cat /etc/tlp.conf | grep CHARGE_THRESH_BAT0 

outputs this:

#START_CHARGE_THRESH_BAT0=75
#STOP_CHARGE_THRESH_BAT0=80

It's commented, and I don't have any extra config files on /etc/tlp.d/

Offline

#4 2023-09-21 17:01:15

Ehllay
Member
Registered: 2023-03-07
Posts: 13

Re: [SOLVED] Batttery not charging in Lenovo Ideapad 330-15IKB

I found this package in the AUR and I ran it. Now acpi says it's charging, so it seems to be fixed. Thank you for guiding me in the right direction and have a good day! smile

Offline

#5 2023-09-21 17:10:30

espritlibre
Member
Registered: 2022-12-15
Posts: 129

Re: [SOLVED] Batttery not charging in Lenovo Ideapad 330-15IKB

if you encounter such problems again, running a quick battery check in the UEFI Diagnostics will reset charge thresholds.
you can check if there's anything set with:

cat /sys/class/power_supply/BAT0/charge_start_threshold
cat /sys/class/power_supply/BAT0/charge_stop_threshold

have a nice one

Offline

Board footer

Powered by FluxBB