You are not logged in.

#1 2016-04-14 09:03:20

balast
Member
Registered: 2016-04-14
Posts: 2

[SOLVED] Battery thresholds on Thinkpad X240

I recently installed Arch on my X240 and I was able to resolve most of my issues by myself (and with assistance of wiki).

Now I wanted to change the thresholds of batteries and since it's *40 laptop I can't use tp_smapi.

I have acpi_call and tlp installed.

In /etc/default/tlp I have them set up in this way:

    # Main / Internal battery (values in %)
    START_CHARGE_THRESH_BAT0=75
    STOP_CHARGE_THRESH_BAT0=90
    # Ultrabay / Slice / Replaceable battery (values in %)
    START_CHARGE_THRESH_BAT1=75
    STOP_CHARGE_THRESH_BAT1=90

and tpacpi_bat returns this

    # tpacpi-bat -g ST 1 && tpacpi-bat -g SP 1 && tpacpi-bat -g ST 2 && tpacpi-bat -g SP 2
    75 (relative percent)
    90 (relative percent)
    75 (relative percent)
    90 (relative percent)

But still I can't get it to charge the batteries over 80 % (which was the original threshold. (it fluctuates between not charging and charging with zero power)

Any ideas?

EDIT: I solved it. I fully discharged both batteries and now it charges to desired level.

Last edited by balast (2016-04-17 17:08:47)

Offline

#2 2016-04-15 00:56:20

root
Member
From: 127.0.0.1
Registered: 2012-04-13
Posts: 297

Re: [SOLVED] Battery thresholds on Thinkpad X240

Please add 'Solved' to your thread title too. Thank you.


\(o_X)/
                        'Cause I wanna be an Archy - An Archy in the UK // Sex Pistols

Offline

Board footer

Powered by FluxBB