You are not logged in.

#1 2015-12-19 15:37:17

elaich
Member
Registered: 2010-04-10
Posts: 8

[Solved] Thinkpad yoga 14, battery not charging.

I wanted to configure power management, on my thinkpad yoga 14, I just installed TLP, followed the wiki, installed acpi_call nothing big, the battery stats are showing some weird output.

On AC:

sudo tlp-stat -b
[sudo] password for marouane: 
--- TLP 0.8 --------------------------------------------

+++ ThinkPad Extended Battery Functions
tp-smapi   = inactive (kernel module 'tp_smapi' not installed)
tpacpi-bat = active

+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/class/power_supply/BAT0/manufacturer                   = SMP
/sys/class/power_supply/BAT0/model_name                     = 00HW001
/sys/class/power_supply/BAT0/cycle_count                    = (not supported)
/sys/class/power_supply/BAT0/energy_full_design             =  56020 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  58800 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  57390 [mWh]
/sys/class/power_supply/BAT0/power_now                      =      0 [mW]
/sys/class/power_supply/BAT0/status                         = Unknown (threshold effective)

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

On battery:

 sudo tlp-stat -b
--- TLP 0.8 --------------------------------------------

+++ ThinkPad Extended Battery Functions
tp-smapi   = inactive (kernel module 'tp_smapi' not installed)
tpacpi-bat = active

+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/class/power_supply/BAT0/manufacturer                   = SMP
/sys/class/power_supply/BAT0/model_name                     = 00HW001
/sys/class/power_supply/BAT0/cycle_count                    = (not supported)
/sys/class/power_supply/BAT0/energy_full_design             =  56020 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  58800 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  57390 [mWh]
/sys/class/power_supply/BAT0/power_now                      =   3461 [mW]
/sys/class/power_supply/BAT0/status                         = Discharging

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

The battery is not charging, as you see status shows Unknown, I am not sure what's the problem.

EDIT1:

acpid is not installed could that be a problem ? I will install it and see, meanwhile here is what's happening during boot, the 4 last lines don't look good. hmm

$ dmesg | grep acpi
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[    0.157387] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.625009] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[    0.625125] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM
[    0.665410] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    3.213679] systemd[1]: acpid.service: Cannot add dependency job, ignoring: Unit acpid.service failed to load: No such file or directory.
[    4.609724] thinkpad_acpi: ThinkPad ACPI Extras v0.25
[    4.609727] thinkpad_acpi: http://ibm-acpi.sf.net/
[    4.609728] thinkpad_acpi: ThinkPad BIOS JFET43WW(1.20), EC unknown
[    4.609730] thinkpad_acpi: Lenovo ThinkPad S3 Yoga 14, model 20DMCTO1WW
[    4.610005] thinkpad_acpi: detected a 8-level brightness capable ThinkPad
[    4.610176] thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver
[    4.610177] thinkpad_acpi: Disabling thinkpad-acpi brightness events by default...
[    4.613132] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is unblocked
[    4.613830] thinkpad_acpi: Standard ACPI backlight interface available, not loading native one
[    4.613879] thinkpad_acpi: Console audio control enabled, mode: monitor (read only)
[    4.614586] acpi PNP0C0B:00: Failed to change power state to D0
[    4.614617] acpi PNP0C0B:00: Setting initial power state
[    4.615954] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input5
[    4.634247] acpi PNP0C0B:00: Cannot transition from (unknown) to D3hot

Last edited by elaich (2015-12-20 19:14:19)

Offline

#2 2015-12-20 14:45:33

elaich
Member
Registered: 2010-04-10
Posts: 8

Re: [Solved] Thinkpad yoga 14, battery not charging.

Can someone please tell me where I should start looking ?

Offline

#3 2015-12-20 17:09:29

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,654

Re: [Solved] Thinkpad yoga 14, battery not charging.

Kind of odd:

/sys/class/power_supply/BAT0/energy_full_design             =  56020 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  58800 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  57390 [mWh]

The last full and present state both report greater energy than the battery was designed for.

If you allow it to discharge for a while, does energy_now reported decrease?  If it does, I would not expect it to try to charge until it gets to 57.39Wh * 96% (the start threshold)  after which it might start to take a charge. It might declare the state as "Unknown" as it does not know how to interpret the reported values -- it does not make sense that the reported current state represents more energy than the battery is designed to hold.

Last edited by ewaller (2015-12-20 19:15:33)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2015-12-20 19:12:34

elaich
Member
Registered: 2010-04-10
Posts: 8

Re: [Solved] Thinkpad yoga 14, battery not charging.

Thanks for this reply, I guess you are right for the state "Unknown", I let the battery discharge for a bit, bellow 96% and plugged the laptop, the state changed to Charging, until energy_now reached energy_full.

More explanations

Last edited by elaich (2015-12-20 19:17:00)

Offline

#5 2015-12-26 10:26:51

linrunner
Member
Registered: 2013-04-21
Posts: 56

Re: [Solved] Thinkpad yoga 14, battery not charging.

Did you notice the hint after "unknown"?

/sys/class/power_supply/BAT0/status                         = Unknown (threshold effective)

Last edited by linrunner (2015-12-26 10:27:04)

Offline

Board footer

Powered by FluxBB