ThinkPad X250 Battery #2 not detected

Need help with peripherals or devices?
Post Reply
Message
Author
klesk
Posts: 5
Joined: 2021-07-22 05:05

ThinkPad X250 Battery #2 not detected

#1 Post by klesk »

Hello,
on my ThinkPad X250 there is installed debian 10 with kernel Linux 4.19.0-17-amd64 x86_64. The laptop have #2 batteries and the second one doesn't work, not charging but looks detected. Attached result of command "tlp-stat -b"

I look on many forums trying to configure it by tlp application but with no good results, there is any change to get it work properly?

Thanks for your help

User avatar
Hallvor
Posts: 1175
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 3 times
Been thanked: 2 times

Re: ThinkPad X250 Battery #2 not detected

#2 Post by Hallvor »

Where is the output of tlp-stat -b?
Lenovo ThinkPad T440S, Intel Core i7-4600U CPU @ 2.10GHz, 8 GB RAM, 256 GB SSD, Debian Bullseye (KDE)
Lenovo ThinkPad X240, Intel Core i5-4300U CPU @ 2.90GHz, 8 GB RAM, 120 GB SSD, Debian Bullseye (KDE)

klesk
Posts: 5
Joined: 2021-07-22 05:05

Re: ThinkPad X250 Battery #2 not detected

#3 Post by klesk »

Hello,
now should be
Attachments
tlp-stat -b.png
tlp-stat -b.png (102.34 KiB) Viewed 318 times

klesk
Posts: 5
Joined: 2021-07-22 05:05

Re: ThinkPad X250 Battery #2 not detected

#4 Post by klesk »

and here result of tlp-stat

--- TLP 1.1 --------------------------------------------

+++ Configured Settings: /etc/default/tlp
TLP_ENABLE=1
TLP_DEFAULT_MODE=AC
TLP_PERSISTENT_DEFAULT=0
DISK_IDLE_SECS_ON_AC=0
DISK_IDLE_SECS_ON_BAT=2
MAX_LOST_WORK_SECS_ON_AC=15
MAX_LOST_WORK_SECS_ON_BAT=60
CPU_HWP_ON_AC=balance_performance
CPU_HWP_ON_BAT=balance_power
SCHED_POWERSAVE_ON_AC=0
SCHED_POWERSAVE_ON_BAT=1
NMI_WATCHDOG=0
ENERGY_PERF_POLICY_ON_AC=performance
ENERGY_PERF_POLICY_ON_BAT=power
DISK_DEVICES="sda sdb"
DISK_APM_LEVEL_ON_AC="254 254"
DISK_APM_LEVEL_ON_BAT="128 128"
SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
SATA_LINKPWR_ON_BAT="med_power_with_dipm min_power"
AHCI_RUNTIME_PM_TIMEOUT=15
PCIE_ASPM_ON_AC=performance
PCIE_ASPM_ON_BAT=powersave
RADEON_POWER_PROFILE_ON_AC=high
RADEON_POWER_PROFILE_ON_BAT=low
RADEON_DPM_STATE_ON_AC=performance
RADEON_DPM_STATE_ON_BAT=battery
RADEON_DPM_PERF_LEVEL_ON_AC=auto
RADEON_DPM_PERF_LEVEL_ON_BAT=auto
WIFI_PWR_ON_AC=off
WIFI_PWR_ON_BAT=on
WOL_DISABLE=Y
SOUND_POWER_SAVE_ON_AC=0
SOUND_POWER_SAVE_ON_BAT=1
SOUND_POWER_SAVE_CONTROLLER=Y
BAY_POWEROFF_ON_AC=0
BAY_POWEROFF_ON_BAT=0
BAY_DEVICE="sr0"
RUNTIME_PM_ON_AC=on
RUNTIME_PM_ON_BAT=auto
USB_AUTOSUSPEND=1
USB_BLACKLIST_BTUSB=0
USB_BLACKLIST_PHONE=0
USB_BLACKLIST_PRINTER=1
USB_BLACKLIST_WWAN=1
RESTORE_DEVICE_STATE_ON_STARTUP=0

+++ System Info
System = LENOVO ThinkPad X250 20CMCTO1WW
BIOS = N10ET59W (1.38 )
Release = Debian GNU/Linux 10 (buster)
Kernel = 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64
/proc/cmdline = BOOT_IMAGE=/boot/vmlinuz-4.19.0-17-amd64 root=UUID=fff0c919-03ae-482b-8ec4-a9006d545bb5 ro quiet
Init system = systemd v241 (241)
Boot mode = BIOS (CSM, Legacy)

+++ TLP Status
State = enabled
Last run = 22:34:19, 309 sec(s) ago
Mode = AC
Power source = AC

+++ Processor
CPU model = Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq = 500000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 2100000 [kHz]

/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq = 500000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 2100000 [kHz]

/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq = 500000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq = 2100000 [kHz]

/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq = 500000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq = 2100000 [kHz]

/sys/devices/system/cpu/intel_pstate/min_perf_pct = 23 [%]
/sys/devices/system/cpu/intel_pstate/max_perf_pct = 100 [%]
/sys/devices/system/cpu/intel_pstate/no_turbo = 0
/sys/devices/system/cpu/intel_pstate/turbo_pct = 7 [%]
/sys/devices/system/cpu/intel_pstate/num_pstates = 17

x86_energy_perf_policy.cpu0 = performance
x86_energy_perf_policy.cpu1 = performance
x86_energy_perf_policy.cpu2 = performance
x86_energy_perf_policy.cpu3 = performance

/sys/module/workqueue/parameters/power_efficient = N
/proc/sys/kernel/nmi_watchdog = 0

+++ Undervolting
PHC kernel not available.

+++ Temperatures
CPU temp = 73 [°C]
/proc/acpi/ibm/fan = 4692 [/min]

+++ File System
/proc/sys/vm/laptop_mode = 0
/proc/sys/vm/dirty_writeback_centisecs = 1500
/proc/sys/vm/dirty_expire_centisecs = 1500
/proc/sys/vm/dirty_ratio = 20
/proc/sys/vm/dirty_background_ratio = 10

+++ Storage Devices
/dev/sda:
Model = ST500LM021-1KJ152
Firmware = 0002LIM1
APM Level = 254
Status = active/idle
Scheduler = mq-deadline

Runtime PM: control = on, autosuspend_delay = (not available)


+++ AHCI Link Power Management (ALPM)
/sys/class/scsi_host/host0/link_power_management_policy = med_power_with_dipm
/sys/class/scsi_host/host1/link_power_management_policy = med_power_with_dipm
/sys/class/scsi_host/host2/link_power_management_policy = med_power_with_dipm

+++ AHCI Host Controller Runtime Power Management
/sys/bus/pci/devices/0000:00:1f.2/ata1/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata2/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata3/power/control = on

+++ Docks and Device Bays
/sys/devices/platform/dock.0: battery_bay = battery present

+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = default (using bios preferences)

+++ Intel Graphics
/sys/module/i915/parameters/enable_dc = -1 (use per-chip default)
/sys/module/i915/parameters/enable_fbc = 1 (enabled)
/sys/module/i915/parameters/enable_psr = -1 (use per-chip default)
/sys/module/i915/parameters/modeset = -1 (use per-chip default)

+++ Wireless
bluetooth = on
wifi = on
wwan = none (no device)

hci0(btusb) : bluetooth, not connected
wlp3s0(iwlwifi) : wifi, connected, power management = off

+++ Audio
/sys/module/snd_hda_intel/parameters/power_save = 0
/sys/module/snd_hda_intel/parameters/power_save_controller = N

+++ Runtime Power Management
Device blacklist = (not configured)
Driver blacklist = amdgpu nouveau nvidia radeon (default)

/sys/bus/pci/devices/0000:00:00.0/power/control = on (0x060000, Host bridge, bdw_uncore)
/sys/bus/pci/devices/0000:00:02.0/power/control = on (0x030000, VGA compatible controller, i915)
/sys/bus/pci/devices/0000:00:03.0/power/control = on (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:00:14.0/power/control = on (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:00:16.0/power/control = on (0x078000, Communication controller, mei_me)
/sys/bus/pci/devices/0000:00:19.0/power/control = on (0x020000, Ethernet controller, e1000e)
/sys/bus/pci/devices/0000:00:1b.0/power/control = on (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:00:1c.0/power/control = on (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.1/power/control = on (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1d.0/power/control = on (0x0c0320, USB controller, ehci-pci)
/sys/bus/pci/devices/0000:00:1f.0/power/control = on (0x060100, ISA bridge, lpc_ich)
/sys/bus/pci/devices/0000:00:1f.2/power/control = on (0x010601, SATA controller, ahci)
/sys/bus/pci/devices/0000:00:1f.3/power/control = on (0x0c0500, SMBus, i801_smbus)
/sys/bus/pci/devices/0000:00:1f.6/power/control = on (0x118000, Signal processing controller, intel_pch_thermal)
/sys/bus/pci/devices/0000:02:00.0/power/control = on (0xff0000, Unassigned class [ff00], rtsx_pci)
/sys/bus/pci/devices/0000:03:00.0/power/control = on (0x028000, Network controller, iwlwifi)

+++ USB
Autosuspend = enabled
Device whitelist = (not configured)
Device blacklist = (not configured)
Bluetooth blacklist = disabled
Phone blacklist = disabled
WWAN blacklist = enabled

Bus 003 Device 002 ID 8087:8001 control = auto, autosuspend_delay_ms = 0 -- Intel Corp. (hub)
Bus 003 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub)
Bus 002 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 3.0 root hub (hub)
Bus 001 Device 006 ID 04ca:703c control = auto, autosuspend_delay_ms = 2000 -- Lite-On Technology Corp. (uvcvideo)
Bus 001 Device 005 ID 8087:0a2a control = auto, autosuspend_delay_ms = 2000 -- Intel Corp. (btusb)
Bus 001 Device 004 ID 138a:0017 control = auto, autosuspend_delay_ms = 2000 -- Validity Sensors, Inc. VFS 5011 fingerprint sensor (no driver)
Bus 001 Device 002 ID 046d:c52b control = on, autosuspend_delay_ms = 2000 -- Logitech, Inc. Unifying Receiver (usbhid)
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub)

+++ ThinkPad Battery Features
tp-smapi = inactive (unsupported hardware)
tpacpi-bat = active

+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/class/power_supply/BAT0/manufacturer = SANYO
/sys/class/power_supply/BAT0/model_name = 45N1773
/sys/class/power_supply/BAT0/cycle_count = (not supported)
/sys/class/power_supply/BAT0/energy_full_design = 23200 [mWh]
/sys/class/power_supply/BAT0/energy_full = 16760 [mWh]
/sys/class/power_supply/BAT0/energy_now = 16670 [mWh]
/sys/class/power_supply/BAT0/power_now = 0 [mW]
/sys/class/power_supply/BAT0/status = Charging

tpacpi-bat.BAT0.startThreshold = 96 [%]
tpacpi-bat.BAT0.stopThreshold = 100 [%]
tpacpi-bat.BAT0.forceDischarge = 0

Charge = 99.5 [%]
Capacity = 72.2 [%]

+++ ThinkPad Battery Status: BAT1 (Ultrabay / Slice / Replaceable)
/sys/class/power_supply/BAT1/manufacturer = LGC
/sys/class/power_supply/BAT1/model_name = 45N1738
/sys/class/power_supply/BAT1/cycle_count = (not supported)
/sys/class/power_supply/BAT1/energy_full_design = 71100 [mWh]
/sys/class/power_supply/BAT1/energy_full = (not available)
/sys/class/power_supply/BAT1/energy_now = 0 [mWh]
/sys/class/power_supply/BAT1/power_now = 0 [mW]
/sys/class/power_supply/BAT1/status = Unknown (threshold effective)

tpacpi-bat.BAT1.startThreshold = 96 [%]
tpacpi-bat.BAT1.stopThreshold = 100 [%]
tpacpi-bat.BAT1.forceDischarge = 0

Capacity = 0.0 [%]

+++ Charge total = 99.5 [%]

+++ Suggestions
* Install smartmontools for disk drive health info

User avatar
Hallvor
Posts: 1175
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 3 times
Been thanked: 2 times

Re: ThinkPad X250 Battery #2 not detected

#5 Post by Hallvor »

Code: Select all

+++ ThinkPad Battery Status: BAT0 (Main / Internal)
[...]
Charge = 99.5 [%]
Capacity = 72.2 [%]
Your internal battery is both detected and looks fully charged. You have set a battery charging threshold (in your first post) that keeps your battery from being charged until it drops to 50%. That makes sense if you want your battery to last for a long time.

My T440s also has an internal battery, but I only charge it to full capacity if I need extra power.
Lenovo ThinkPad T440S, Intel Core i7-4600U CPU @ 2.10GHz, 8 GB RAM, 256 GB SSD, Debian Bullseye (KDE)
Lenovo ThinkPad X240, Intel Core i5-4300U CPU @ 2.90GHz, 8 GB RAM, 120 GB SSD, Debian Bullseye (KDE)

klesk
Posts: 5
Joined: 2021-07-22 05:05

Re: ThinkPad X250 Battery #2 not detected

#6 Post by klesk »

Yes it's detected but BAT0 (internal) working good, issue is on BAT1 that it's not charging. I'm sure is a setting of TLP but i really don't know which one. BAT1 is still at 0% but not in charge. :cry:

User avatar
Hallvor
Posts: 1175
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 3 times
Been thanked: 2 times

Re: ThinkPad X250 Battery #2 not detected

#7 Post by Hallvor »

As far as I can see, your settings look fine.

Try

Code: Select all

# tlp fullcharge BAT1
But it might be dead.
Lenovo ThinkPad T440S, Intel Core i7-4600U CPU @ 2.10GHz, 8 GB RAM, 256 GB SSD, Debian Bullseye (KDE)
Lenovo ThinkPad X240, Intel Core i5-4300U CPU @ 2.90GHz, 8 GB RAM, 120 GB SSD, Debian Bullseye (KDE)

klesk
Posts: 5
Joined: 2021-07-22 05:05

Re: ThinkPad X250 Battery #2 not detected

#8 Post by klesk »

Hello,
here result of tlp fullcharge BAT1

Setting temporary charge thresholds for BAT1:
stop = 100
start = 96

and here result of command tlp-stat -b after thresholds settings... nothing changed

--- TLP 1.1 --------------------------------------------

+++ ThinkPad Battery Features
tp-smapi = inactive (unsupported hardware)
tpacpi-bat = active

+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/class/power_supply/BAT0/manufacturer = SANYO
/sys/class/power_supply/BAT0/model_name = 45N1773
/sys/class/power_supply/BAT0/cycle_count = (not supported)
/sys/class/power_supply/BAT0/energy_full_design = 23200 [mWh]
/sys/class/power_supply/BAT0/energy_full = 16970 [mWh]
/sys/class/power_supply/BAT0/energy_now = 16950 [mWh]
/sys/class/power_supply/BAT0/power_now = 0 [mW]
/sys/class/power_supply/BAT0/status = Unknown (threshold effective)

tpacpi-bat.BAT0.startThreshold = 60 [%]
tpacpi-bat.BAT0.stopThreshold = 100 [%]
tpacpi-bat.BAT0.forceDischarge = 0

Charge = 99.9 [%]
Capacity = 73.1 [%]

+++ ThinkPad Battery Status: BAT1 (Ultrabay / Slice / Replaceable)
/sys/class/power_supply/BAT1/manufacturer = LGC
/sys/class/power_supply/BAT1/model_name = 45N1738
/sys/class/power_supply/BAT1/cycle_count = (not supported)
/sys/class/power_supply/BAT1/energy_full_design = 71100 [mWh]
/sys/class/power_supply/BAT1/energy_full = (not available)
/sys/class/power_supply/BAT1/energy_now = 0 [mWh]
/sys/class/power_supply/BAT1/power_now = 0 [mW]
/sys/class/power_supply/BAT1/status = Unknown (threshold effective)

tpacpi-bat.BAT1.startThreshold = 60 [%]
tpacpi-bat.BAT1.stopThreshold = 100 [%]
tpacpi-bat.BAT1.forceDischarge = 0

Capacity = 0.0 [%]

+++ Charge total = 99.9 [%]

User avatar
Hallvor
Posts: 1175
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 3 times
Been thanked: 2 times

Re: ThinkPad X250 Battery #2 not detected

#9 Post by Hallvor »

Try with a different battery. I think it's dead.
Lenovo ThinkPad T440S, Intel Core i7-4600U CPU @ 2.10GHz, 8 GB RAM, 256 GB SSD, Debian Bullseye (KDE)
Lenovo ThinkPad X240, Intel Core i5-4300U CPU @ 2.90GHz, 8 GB RAM, 120 GB SSD, Debian Bullseye (KDE)

Post Reply