Battery Charging Not Detected

Hi all,

Yesterday for some reason my manjaro build would not recognize my battery charging. So here are my specs

System:    Host: tommy-pc Kernel: 5.4.97-1-MANJARO x86_64 bits: 64 Desktop: KDE Plasma 5.20.5 Distro: Manjaro Linux 
Machine:   Type: Laptop System: LENOVO product: 20L5000WUS v: ThinkPad T480 serial: <superuser required> 
       Mobo: LENOVO model: 20L5000WUS v: SDK0J40697 WIN serial: <superuser required> UEFI: LENOVO v: N24ET44W (1.19 ) 
       date: 11/07/2018 
Battery:   ID-1: BAT0 charge: 1.3 Wh condition: 20.1/24.0 Wh (83%) 
       ID-2: BAT1 charge: 1.1 Wh condition: 20.8/24.0 Wh (87%) 
CPU:       Info: Quad Core model: Intel Core i5-8250U bits: 64 type: MT MCP L2 cache: 6 MiB 
       Speed: 800 MHz min/max: 400/3400 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 
Graphics:  Device-1: Intel UHD Graphics 620 driver: i915 v: kernel 
       Device-2: IMC Networks Integrated Camera type: USB driver: uvcvideo 
       Display: x11 server: X.Org 1.20.10 driver: loaded: intel unloaded: modesetting resolution: 1366x768~60Hz 
       OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.3.4 
Audio:     Device-1: Intel Sunrise Point-LP HD Audio driver: snd_hda_intel 
       Sound Server: ALSA v: k5.4.97-1-MANJARO 
Network:   Device-1: Intel Ethernet I219-V driver: e1000e 
       IF: enp0s31f6 state: down mac: e8:6a:64:b4:ee:85 
       Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi 
       IF: wlp3s0 state: up mac: d4:3b:04:d3:76:24 
Bluetooth: Device-1: Intel Bluetooth wireless interface type: USB driver: btusb 
       Message: Required tool hciconfig not installed. Check --recommends 
Drives:    Local Storage: total: 476.94 GiB used: 82.06 GiB (17.2%) 
       ID-1: /dev/sda vendor: Silicon Power model: SPCC Solid State Disk size: 476.94 GiB 
Partition: ID-1: / size: 191.25 GiB used: 82.06 GiB (42.9%) fs: ext4 dev: /dev/sda2 
       ID-2: /boot/efi size: 1022 MiB used: 280 KiB (0.0%) fs: vfat dev: /dev/sda1 
Swap:      Alert: No Swap data was found. 
Sensors:   System Temperatures: cpu: 38.0 C mobo: N/A 
       Fan Speeds (RPM): cpu: 0 
Info:      Processes: 218 Uptime: 13h 18m Memory: 7.55 GiB used: 2.35 GiB (31.1%) Shell: Bash inxi: 3.3.01 

Now here’s my problem. My battery’s have been stuck at 6% no matter how long I use my computer / charge it. I decided to look in /sys/class/power_supply/BAT0/uevent and here is what I find

POWER_SUPPLY_NAME=BAT0
POWER_SUPPLY_STATUS=Unknown
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CYCLE_COUNT=219
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=11550000
POWER_SUPPLY_VOLTAGE_NOW=10973000
POWER_SUPPLY_POWER_NOW=0
POWER_SUPPLY_ENERGY_FULL_DESIGN=24020000
POWER_SUPPLY_ENERGY_FULL=20050000
POWER_SUPPLY_ENERGY_NOW=1160000
POWER_SUPPLY_CAPACITY=5
POWER_SUPPLY_CAPACITY_LEVEL=Normal
POWER_SUPPLY_MODEL_NAME=01AV419
POWER_SUPPLY_MANUFACTURER=SANYO
POWER_SUPPLY_SERIAL_NUMBER= 1118

Notice the SUPPLY_STATUS is UNKNOWN even though I am currently charging my computer. Now when I unplug the charger:

POWER_SUPPLY_NAME=BAT0
POWER_SUPPLY_STATUS=Discharging
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CYCLE_COUNT=219
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=11550000
POWER_SUPPLY_VOLTAGE_NOW=10989000
POWER_SUPPLY_POWER_NOW=0
POWER_SUPPLY_ENERGY_FULL_DESIGN=24020000
POWER_SUPPLY_ENERGY_FULL=20050000
POWER_SUPPLY_ENERGY_NOW=1160000
POWER_SUPPLY_CAPACITY=5
POWER_SUPPLY_CAPACITY_LEVEL=Normal
POWER_SUPPLY_MODEL_NAME=01AV419
POWER_SUPPLY_MANUFACTURER=SANYO
POWER_SUPPLY_SERIAL_NUMBER= 1118

It now realizes it is discharging. What is going on here? What can I do to fix this. I do not believe that the batteries are dead yet as there are two of them and I have owned this machine for less than 2 years. Thanks!

Same hapens to me too - though not that I am aware there was a “testing” update I did. as of now when charger is pluged in it says “unknown” when not pluged in it recognises that correctly

Hey! Good to know that this is a common problem. I had this problem before doing an update though and actually in fact before restarting my system. This seemed to just happen magically after 3 days of uptime. Restarting did nothing, Pacman -Syu did nothing.

Does anyone have any ideas? I am scared my computer is going to die while I’m mid-quarter in uni. I can’t seem to charge the battery, only discharge it.

is it truely not charging - or just not showing in the graphical user interface? Mine, despite suffering from the failure to properly show charging does charge.

What happens if you have it pluged in while it’s turned off, what does “sudo tlp-stat -b” say for discarge rate and such?

tlp-stat -b while plugged in
sudo tlp-stat -b
--- TLP 1.3.1 --------------------------------------------

+++ Battery Features: Charge Thresholds and Recalibrate
natacpi    = active (data, thresholds)
tpacpi-bat = active (recalibrate)
tp-smapi   = inactive (ThinkPad not supported)

+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/class/power_supply/BAT0/manufacturer                   = SMP
/sys/class/power_supply/BAT0/model_name                     = 5B10W13906
/sys/class/power_supply/BAT0/cycle_count                    =     29
/sys/class/power_supply/BAT0/energy_full_design             =  50450 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  47550 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  47140 [mWh]
/sys/class/power_supply/BAT0/power_now                      =      0 [mW]            ******* THIS MEANS NO POWER DRAW FROM BATTERY ********
/sys/class/power_supply/BAT0/status                         = Unknown

/sys/class/power_supply/BAT0/charge_start_threshold         =     96 [%]
/sys/class/power_supply/BAT0/charge_stop_threshold          =    100 [%]
tpacpi-bat.BAT0.forceDischarge                              =      0

Charge                                                      =   99.1 [%]
Capacity                                                    =   94.3 [%]
tlp-stat -b while unpluged
sudo tlp-stat -b
--- TLP 1.3.1 --------------------------------------------

+++ Battery Features: Charge Thresholds and Recalibrate
natacpi    = active (data, thresholds)
tpacpi-bat = active (recalibrate)
tp-smapi   = inactive (ThinkPad not supported)

+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/class/power_supply/BAT0/manufacturer                   = SMP
/sys/class/power_supply/BAT0/model_name                     = 5B10W13906
/sys/class/power_supply/BAT0/cycle_count                    =     29
/sys/class/power_supply/BAT0/energy_full_design             =  50450 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  47550 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  47150 [mWh]
/sys/class/power_supply/BAT0/power_now                      =   3099 [mW]   **** POWER DRAWN FROM BATTERY *****
/sys/class/power_supply/BAT0/status                         = Discharging

/sys/class/power_supply/BAT0/charge_start_threshold         =     96 [%]
/sys/class/power_supply/BAT0/charge_stop_threshold          =    100 [%]
tpacpi-bat.BAT0.forceDischarge                              =      0

Charge                                                      =   99.2 [%]
Capacity                                                    =   94.3 [%]

So you see it actualy is full - and also gets full - despite in my instance gnome-shell not reporting precence of the charger correctly

Also you can try and reboot while charger is attached to see if that makes it recognise it

Hello!

So a few things, when I ran inix -F the battery information implied that the battery was near dead and when I left the thing charging for a few hours the charge only dropped until it got to the point where I could only use my machine. I was pretty sure that I let the battery over discharge and that I would have to buy a new one.

I tried running sudo tlp recalibrate BAT0, but it would always throw an error when trying to manually discharge. This morning I ran it again and boom! The battery is charging again. So I don’t know but I’m very happy

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.