Project

General

Profile

Actions

Bug #427

open

x200: Two battery charging issues

Added by Akura Ryu about 2 years ago. Updated about 2 years ago.

Status:
New
Priority:
High
Assignee:
-
Category:
board support
Target version:
Start date:
10/14/2022
Due date:
% Done:

0%

Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
ThinkPad X200
Affected OS:
Linux

Description

I've flashed my ThinkPad X200 with coreboot. Currently it has trouble when charging.

1. Charge state mismatch

When I plug in my AC adapter, system always reports " Not charging ".

Here's the output from the acpi utility:

Battery 0: Not charging, 23%
Adapter 0: on-line

But weirdly, battery level is still increasing as the AC adapter is on-line.

What's more, it still reports "Not charging" when AC adapter is detached (normally it should be "Discharging").

2. Battery threshold doesn't seem to work.

Since tp_smapi is unusable without stock firmware, I use tpacpi-bat to configure battery threshold. My KDE battery indicator can recognize these thresholds.

sudo tpacpi-bat -s ST 1 88    # Start threshold
sudo tpacpi-bat -s SP 1 90    # Stop threshold

But no matter how I charge, battery will always be fully charged.

Revision

  • OS: Arch Linux with KDE
  • Coreboot revision: 93781523a
  • Configuration: See attachment

Files

.config (18.8 KB) .config My X200 coreboot config Akura Ryu, 10/14/2022 04:57 AM
Actions

Also available in: Atom PDF