Battery charging slows down my thinkpad severely

Bug #962712 reported by Syed Aamir
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

I have a ThinkPad L520 (7859-5BG) Core i5-2520M(2.5GHz) with 4GB RAM and Ubuntu 11.10 32-bit install and with gnome classic (no effects) environment

Condition:
When my battery is charging via power adapter, system is severely slow. This is most often visible when just about every process takes very high CPU (e.g. gnome-panel consuming 60% or chrome consuming 118% of CPU). Working with the laptop is almost impossible due to very slow processing. Clicking "applications" in panel takes 1 second to appear.

During the above state - as soon as I disconnect my power adapter, CPU usage drops to less than 10%, and system becomes super smooth and quick again. Also, when the battery gets completely charged, laptop (kindof) stops lagging much. Also, I took my battery out of my laptop, and powered it directly via AC adapter, and system was super smooth.

My laptop is dual-boot (despite my hatred for Windows), and I have tested battery charging on Windows. THere is NO LAG AT ALL ! This confirms that there is no hardware fault, as windows is quick and fast during battery charging.

The state of the system is confirmed - means I can recreate the problem almost every time. I have tried "top" to see processes and how they look, but no "strange" process is there for one to be able to kill. Its essentially the same processes that start hogging my CPU completely (chrome, nautilus, gnome-panel, just-any-running-process.... )

I have also tried another brand new charger from Lenovo - but same problem there.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: xorg 1:7.6+7ubuntu7.1
ProcVersionSignature: Ubuntu 3.0.0-16.29-generic-pae 3.0.20
Uname: Linux 3.0.0-16-generic-pae i686
.tmp.unity.support.test.0:

ApportVersion: 1.23-0ubuntu4
Architecture: i386
CompizPlugins: [core,bailer,detection,composite,opengl,compiztoolbox,decor,imgpng,move,snap,grid,gnomecompat,resize,regex,animation,vpswitch,mousepoll,unitymtgrabhandles,place,wall,session,workarounds,expo,fade,ezoom,scale,unityshell]
CompositorRunning: None
Date: Fri Mar 23 02:09:39 2012
DistUpgraded: Fresh install
DistroCodename: oneiric
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, if not too technical
GraphicsCard:
 Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0126] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Lenovo Device [17aa:21dd]
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
MachineType: LENOVO 78595BG
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-16-generic-pae root=UUID=dec2de3b-50bd-4850-b890-b645f6457392 ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/04/2011
dmi.bios.vendor: LENOVO
dmi.bios.version: 8GET38WW (1.15 )
dmi.board.name: 78595BG
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr8GET38WW(1.15):bd11/04/2011:svnLENOVO:pn78595BG:pvrThinkPadL520:rvnLENOVO:rn78595BG:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 78595BG
dmi.product.version: ThinkPad L520
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.6+bzr20110929-0ubuntu6.1
version.libdrm2: libdrm2 2.4.26-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu3
version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu7.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20110811.g93fc084-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu2.1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1

Revision history for this message
Syed Aamir (aamir303) wrote :
bugbot (bugbot)
affects: xorg (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Revision history for this message
Syed Aamir (aamir303) wrote :

My linux is completely a 0% activity experience upon battery charging. I hope I wont have to suffer more after 12.04 LTS release on April 26. But please correct this ASAP ! :(

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Confirmed
Revision history for this message
Till Seuring (till-seuring) wrote :

I have exactly the same problem using a Thinkpad L412. Was present in Ubuntu 11.10 64-bit and is still present in Ubuntu 12.04 64-bit.

Revision history for this message
Syed Aamir (aamir303) wrote :

Can you also try on Ubuntu 12.04 LTS (final release on April 26) too ?

description: updated
Revision history for this message
Till Seuring (till-seuring) wrote :

Hi, sorry for the late answer. I wanted to see if the problem still persisted when doing a clean install of Ubuntu 12.04 LTS. So I did it yesterday and the problem still exists. I also installed Windows 7 and the problem seems not to exist on Windows. Have you have found any solution?

Revision history for this message
Syed Aamir (aamir303) wrote : RE: [Bug 962712] Re: Battery charging slows down my thinkpad severely
Download full text (5.5 KiB)

When I jumped for 11.XX to 12.04 LTS, the problem seemed to have subsided to a slight extent. I dont know how far is this true, but this is just my observation. Because I can still do something, and its not a 100% clogged CPU.

Its pretty strange that such a huge bug is still unassigned by Ubuntu. Kindof motivates us to leave this distro ! ;(

Regards,

> Date: Fri, 8 Jun 2012 11:40:03 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 962712] Re: Battery charging slows down my thinkpad severely
>
> Hi, sorry for the late answer. I wanted to see if the problem still
> persisted when doing a clean install of Ubuntu 12.04 LTS. So I did it
> yesterday and the problem still exists. I also installed Windows 7 and
> the problem seems not to exist on Windows. Have you have found any
> solution?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/962712
>
> Title:
> Battery charging slows down my thinkpad severely
>
> Status in “xserver-xorg-video-intel” package in Ubuntu:
> Confirmed
>
> Bug description:
> I have a ThinkPad L520 (7859-5BG) Core i5-2520M(2.5GHz) with 4GB RAM
> and Ubuntu 11.10 32-bit install and with gnome classic (no effects)
> environment
>
> Condition:
> When my battery is charging via power adapter, system is severely slow. This is most often visible when just about every process takes very high CPU (e.g. gnome-panel consuming 60% or chrome consuming 118% of CPU). Working with the laptop is almost impossible due to very slow processing. Clicking "applications" in panel takes 1 second to appear.
>
> During the above state - as soon as I disconnect my power adapter, CPU
> usage drops to less than 10%, and system becomes super smooth and
> quick again. Also, when the battery gets completely charged, laptop
> (kindof) stops lagging much. Also, I took my battery out of my
> laptop, and powered it directly via AC adapter, and system was super
> smooth.
>
> My laptop is dual-boot (despite my hatred for Windows), and I have
> tested battery charging on Windows. THere is NO LAG AT ALL ! This
> confirms that there is no hardware fault, as windows is quick and fast
> during battery charging.
>
> The state of the system is confirmed - means I can recreate the
> problem almost every time. I have tried "top" to see processes and how
> they look, but no "strange" process is there for one to be able to
> kill. Its essentially the same processes that start hogging my CPU
> completely (chrome, nautilus, gnome-panel, just-any-running-
> process.... )
>
> I have also tried another brand new charger from Lenovo - but same
> problem there.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 11.10
> Package: xorg 1:7.6+7ubuntu7.1
> ProcVersionSignature: Ubuntu 3.0.0-16.29-generic-pae 3.0.20
> Uname: Linux 3.0.0-16-generic-pae i686
> .tmp.unity.support.test.0:
>
> ApportVersion: 1.23-0ubuntu4
> Architecture: i386
> CompizPlugins: [core,bailer,detection,composite,opengl,compiztoolbox,decor,imgpng,move,snap,grid,gnomecompat,resize,regex,animation,vpswitch,mousepoll,unitymtgr...

Read more...

Revision history for this message
Till Seuring (till-seuring) wrote :

Hi Syed,

I have bought a 90W charger to replace my original 60W lenovo charger and the problem is no longer existent. So the problem must be somehow related to the energy supply from the charger.

Regards
Till

Revision history for this message
Syed Aamir (aamir303) wrote :
Download full text (5.5 KiB)

Interesting observation.
But is it possible that all 65W have this problem ? I have tried many chargers and all would have it. I met another person with the same problem on his W520.But the problem is definitely related to battery and charging. When I disconnect the battery with the same charger, everything is perfect.
IT IS VERY STRANGE TO ME THAT BUG SOLUTIONS ARE SO SLOW IN UBUNTU: definitely a strong reason to not use it.

Regards,
Aamir
> Date: Fri, 29 Jun 2012 08:58:01 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 962712] Re: Battery charging slows down my thinkpad severely
>
> Hi Syed,
>
> I have bought a 90W charger to replace my original 60W lenovo charger
> and the problem is no longer existent. So the problem must be somehow
> related to the energy supply from the charger.
>
> Regards
> Till
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/962712
>
> Title:
> Battery charging slows down my thinkpad severely
>
> Status in “xserver-xorg-video-intel” package in Ubuntu:
> Confirmed
>
> Bug description:
> I have a ThinkPad L520 (7859-5BG) Core i5-2520M(2.5GHz) with 4GB RAM
> and Ubuntu 11.10 32-bit install and with gnome classic (no effects)
> environment
>
> Condition:
> When my battery is charging via power adapter, system is severely slow. This is most often visible when just about every process takes very high CPU (e.g. gnome-panel consuming 60% or chrome consuming 118% of CPU). Working with the laptop is almost impossible due to very slow processing. Clicking "applications" in panel takes 1 second to appear.
>
> During the above state - as soon as I disconnect my power adapter, CPU
> usage drops to less than 10%, and system becomes super smooth and
> quick again. Also, when the battery gets completely charged, laptop
> (kindof) stops lagging much. Also, I took my battery out of my
> laptop, and powered it directly via AC adapter, and system was super
> smooth.
>
> My laptop is dual-boot (despite my hatred for Windows), and I have
> tested battery charging on Windows. THere is NO LAG AT ALL ! This
> confirms that there is no hardware fault, as windows is quick and fast
> during battery charging.
>
> The state of the system is confirmed - means I can recreate the
> problem almost every time. I have tried "top" to see processes and how
> they look, but no "strange" process is there for one to be able to
> kill. Its essentially the same processes that start hogging my CPU
> completely (chrome, nautilus, gnome-panel, just-any-running-
> process.... )
>
> I have also tried another brand new charger from Lenovo - but same
> problem there.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 11.10
> Package: xorg 1:7.6+7ubuntu7.1
> ProcVersionSignature: Ubuntu 3.0.0-16.29-generic-pae 3.0.20
> Uname: Linux 3.0.0-16-generic-pae i686
> .tmp.unity.support.test.0:
>
> ApportVersion: 1.23-0ubuntu4
> Architecture: i386
> CompizPlugins: [core,bailer,detection,composite,opengl,compiztoolbox,decor,imgpng,move,snap,grid,gnomecompat,resize,regex,animation,vpswitch...

Read more...

Revision history for this message
Daniel Waterworth (da-waterworth) wrote :

This affects me. I'm using an HP ProBook 4520s.

Revision history for this message
Dac Chartrand (conner-bw) wrote :

I have a Lenovo X220 running Ubuntu 12.10
Processor: Intel® Core™ i7-2640M CPU @ 2.80GHz × 4
Graphics: Intel® Sandybridge Mobile
Running in dual monitor mode. (External Acer G215H + Laptop Screen)

When my battery is low and Ubuntu gives a warning low power message, I plug in my adapter.

After I plug in my adapter everything on my computer is sluggish.

Examples: Navigating and typing in Dash/HUD lags severely. Switching settings with "indicator-cpufreq" does nothing.

The problem goes away when I reboot.

Revision history for this message
Dac Chartrand (conner-bw) wrote :
Download full text (5.1 KiB)

Me again.

I noticed that after plugin in the laptop and running `cpufreq-info` I get:

-=-=-

$ cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to <email address hidden>, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0 1 2 3
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 10.0 us.
  hardware limits: 800 MHz - 2.80 GHz
  available frequency steps: 2.80 GHz, 2.80 GHz, 2.60 GHz, 2.40 GHz, 2.20 GHz, 2.00 GHz, 1.80 GHz, 1.60 GHz, 1.40 GHz, 1.20 GHz, 1000 MHz, 800 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 800 MHz and 800 MHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz.
  cpufreq stats: 2.80 GHz:0.00%, 2.80 GHz:0.00%, 2.60 GHz:0.00%, 2.40 GHz:0.00%, 2.20 GHz:0.00%, 2.00 GHz:0.00%, 1.80 GHz:0.00%, 1.60 GHz:0.00%, 1.40 GHz:0.00%, 1.20 GHz:0.00%, 1000 MHz:0.00%, 800 MHz:100.00%
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0 1 2 3
  CPUs which need to have their frequency coordinated by software: 1
  maximum transition latency: 10.0 us.
  hardware limits: 800 MHz - 2.80 GHz
  available frequency steps: 2.80 GHz, 2.80 GHz, 2.60 GHz, 2.40 GHz, 2.20 GHz, 2.00 GHz, 1.80 GHz, 1.60 GHz, 1.40 GHz, 1.20 GHz, 1000 MHz, 800 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 800 MHz and 800 MHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz.
  cpufreq stats: 2.80 GHz:0.00%, 2.80 GHz:0.00%, 2.60 GHz:0.00%, 2.40 GHz:0.00%, 2.20 GHz:0.00%, 2.00 GHz:0.00%, 1.80 GHz:0.00%, 1.60 GHz:0.00%, 1.40 GHz:0.00%, 1.20 GHz:0.00%, 1000 MHz:0.00%, 800 MHz:100.00%
analyzing CPU 2:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0 1 2 3
  CPUs which need to have their frequency coordinated by software: 2
  maximum transition latency: 10.0 us.
  hardware limits: 800 MHz - 2.80 GHz
  available frequency steps: 2.80 GHz, 2.80 GHz, 2.60 GHz, 2.40 GHz, 2.20 GHz, 2.00 GHz, 1.80 GHz, 1.60 GHz, 1.40 GHz, 1.20 GHz, 1000 MHz, 800 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 800 MHz and 800 MHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz.
  cpufreq stats: 2.80 GHz:0.00%, 2.80 GHz:0.00%, 2.60 GHz:0.00%, 2.40 GHz:0.00%, 2.20 GHz:0.00%, 2.00 GHz:0.00%, 1.80 GHz:0.00%, 1.60 GHz:0.00%, 1.40 GHz:0.00%, 1.20 GHz:0.00%, 1000 MHz:0.00%, 800 MHz:100.00%
analyzing CPU 3:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0 1 2 3
  CPUs which need to have their frequency coordinated by software: 3
  maximum transition latency: 10.0 us.
  hardware limits: 800 MHz - 2.80 GHz
  available frequency steps...

Read more...

Revision history for this message
Chris Wilson (ickle) wrote :

This never was a gfx driver bug. It will be an interesting interaction between cpufreq and ACPI.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Dac Chartrand (conner-bw) wrote :

As this bug was marked invalid, I opened a new one, bug #1246793 on Launchpad. This problem still affects me, Ie. the problem may not be X related but marking it "invalid" and letting the problem continue doesn't actually fix anything. Feel free to "me too" the new bug? Best regards.

Revision history for this message
penalvch (penalvch) wrote :

Syed Aamir, as per http://download.lenovo.com/express/ddfm.html an update is available for your BIOS (1.23). If you update to this following https://help.ubuntu.com/community/BiosUpdate , does it change anything?

If not, could you please both specify what happened, and provide the output of the following terminal command:
sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date

Please note your current BIOS is already in the Bug Description, so posting this on the old BIOS would not be helpful.

For more on BIOS updates and linux, please see https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette .

Thank you for your understanding.

tags: added: bios-outdated-1.23 needs-upstream-testing regression-potential
tags: added: precise
affects: xserver-xorg-video-intel (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Invalid → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.