cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
spajdo
Fanfold Paper
Posts: 3
Registered: ‎05-14-2011
Location: SK
Views: 5,800
Message 1 of 8

Linux on T460

Tomorrow the T460 (20FM0033XS) will arrive and I want to ask whether this notebook is among Linux-supported (Ubuntu). Can I do a dualboot or replace Windows with Ubuntu (17.04)?

otheos
802.11n
Posts: 174
Registered: ‎12-05-2017
Location: GB
Views: 5,776
Message 2 of 8

Re: Linux on T460

I have the T460p and ubuntu 17.10 works absolutely fine. You will need to disable Secure Boot to boot into Ubuntu if you need third party software (and you will). 

 

Make surey you install tlp and tpacpi module for your laptops battery life. Dual boot with W10 here is fine too.

Thinkpad T480s, Thinkpad T460p
spajdo
Fanfold Paper
Posts: 3
Registered: ‎05-14-2011
Location: SK
Views: 5,707
Message 3 of 8

Re: Linux on T460

Hi, thanks for your replay.

I replay to you right now from my new Thinkpad. I'm so happy Smiley Very Happy

I have installed ubuntu 17.04 now and it works perfectly.

Can you pleas write me more about tlp and tpacpi?
How can I install it? How should I configure it?

If you have time, please write to me.

otheos
802.11n
Posts: 174
Registered: ‎12-05-2017
Location: GB
Views: 5,700
Message 4 of 8

Re: Linux on T460

To install tlp, 

 

sudo apt install tlp tlp-rdw

 

To install tpacpi-bat (the kernel module to read the battery info),

 

sudo apt install acpi-call-dkms

 

At this point you will be promted to disable UEFI Secure boot if you haven't done already. You cannot run acpi-call-dkms with Secure boot.

 

run with

 

sudo tlp stat

 

enable with 

 

sudo tlp enable

 

You can edit /etc/default/tlp (you need to do some reading for this) but mainly if you keep your laptop on AC power you'd want to set the battery charge limit to 80% so that you don't wear it. For this look for:

 

START_CHARGE_THRESH_BAT0=75
STOP_CHARGE_THRESH_BAT0=80

 

and set them as above. If there is a # symbol in front of these statements, please remove it to enable them.

 

You can override these settings if you need a full charge with:

 

sudo tlp fullcharge

 

Have fun.

Thinkpad T480s, Thinkpad T460p
spajdo
Fanfold Paper
Posts: 3
Registered: ‎05-14-2011
Location: SK
Views: 5,675
Message 5 of 8

Re: Linux on T460

Thank you very much. You helped me a lot.
I'm looking forward to enjoying my new machine.

Lfuser
Paper Tape
Posts: 3
Registered: ‎01-01-2019
Location: DE
Views: 2,332
Message 6 of 8

Re: Linux on T460

Hi Otheos,

 

thank you so much for this guide!

Unfortunately it doesn't seem to have an effect on my machine.

 

Lenovo T460, runing Ubuntu 18.04.

 

I followed all the steps and doubble checked if I missed something, but it still charges until 100%

 

Another issue I have, and I am not sure if it correlates, is that at times plugging my machine on, won't charge at all.
I have to shut it down, remove the battery, hold down the power button for 20sec, but battery in, restart and then it charges again.

(this doesn't have to be solved here, but I thought I mentioned it Smiley Happy )

otheos
802.11n
Posts: 174
Registered: ‎12-05-2017
Location: GB
Views: 2,315
Message 7 of 8

Re: Linux on T460

Has tlp installed properly?

When you do:

sudo tlp stat -b

 

do you see the thresholds set?

 

Is tlp running? 

Do:

sudo tlp start

 

Is the battery % reported correctly in other apps?

 

See if tlp can control charging and discharging your battery.

With AC connected do:

sudo tlp discharge 

 

Keep in mind that (when it works) if the % is more than the lower threshold, the status will be connected not charging.

 

Discharge to below the lower threshold and do:

sudo tlp fullcharge.

 

See what you get.

Thinkpad T480s, Thinkpad T460p
Lfuser
Paper Tape
Posts: 3
Registered: ‎01-01-2019
Location: DE
Views: 2,288
Message 8 of 8

Re: Linux on T460

Hi,

thank you so much for your fast reply Smiley Happy

 

with

sudo tlp stat -b
I get

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

+++ ThinkPad Battery Features
tp-smapi   = inactive (unsupported hardware)
tpacpi-bat = inactive (kernel module 'acpi_call' not installed)

+++ Battery Status
/sys/class/power_supply/BAT0/manufacturer                   = SONY
/sys/class/power_supply/BAT0/model_name                     = 45N1111
/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                    =  20150 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =   3260 [mWh]
/sys/class/power_supply/BAT0/power_now                      =  24362 [mW]
/sys/class/power_supply/BAT0/status                         = Charging

Charge                                                      =   16.2 [%]
Capacity                                                    =   86.9 [%]

So I don't see the thresholds set?

 

tlp is running.

Although I haven't figured out, if I need to insert that command somewhere, so I don't have to start it manualy everytime.

 

with the command to discharge I get this error

Error: ThinkPad battery features not available.

 

Also my battery charging problem is getting clearer,
once unplugged I have to restart my system in order to charge it again.
You don't happen to guess, in which direction I might be looking here best?
(Problem rather with Laptop/Charger/Ubuntu/...)

Check out current deals!


Shop current deals

Top Kudoed Authors