You are not logged in.

#1 2018-02-20 21:04:53

Indian
Member
Registered: 2018-02-05
Posts: 23

Slow laptop when unpluged

Hi,

I use a thinkpad laptop and i have some issues, if it's powered by the battery every time i open a program or try to write something in the terminal it takes about one second to respond to the command and the fan or may be the hard disk make some noise, but this doesn't happen if it's plugged.

I'm using Deuterium with the stretch repos and kernel 4.9.0-5-amd64.

Offline

#2 2018-02-20 21:11:37

twoion
ほやほや
Registered: 2015-08-10
Posts: 2,504

Re: Slow laptop when unpluged

Side effect of power management I think. Is your computer using a hard disk (as opposed to an SSD)? Then the disk is likely to go into standby (spin down) on battery. There's a solution, a framework called TLP which allows you control this kind of behaviour in laptops.

Let's first determine if it's indeed disk power management.

If you have a hard disk, on A/C power, do

sudo apt-get install hdparm
sudo hdparm -y /dev/sda # Tells your hard disk to go into standby mode unconditionally

Then try doing what you did before. Do you observe the same delay?


A silent kite against the blue, blue sky

Offline

#3 2018-02-21 11:18:16

Indian
Member
Registered: 2018-02-05
Posts: 23

Re: Slow laptop when unpluged

twonion wrote:

Then try doing what you did before. Do you observe the same delay?

I don't have the delay with the disk in standby.

Offline

#4 2018-02-21 23:19:25

stevep
MX Linux Developer
Registered: 2016-08-08
Posts: 374

Re: Slow laptop when unpluged

Every time you open a program on battery?  How about if you close and reopen the same program twice quickly, so the data is still in RAM? The HD standby won't come into play, then, and will be a telltale that that is the issue.

Offline

#5 2018-02-23 09:13:10

Indian
Member
Registered: 2018-02-05
Posts: 23

Re: Slow laptop when unpluged

The second time i open the program it appears instantly.

Offline

Board footer

Powered by FluxBB