[kwlug-disc] Ubuntu Karmic and power management

Khalid Baheyeldin kb at 2bits.com
Tue Nov 3 19:27:21 EST 2009


On Tue, Nov 3, 2009 at 5:44 PM, Khalid Baheyeldin <kb at 2bits.com> wrote:

> On Tue, Nov 3, 2009 at 3:13 PM, Charles M <chaslinux at gmail.com> wrote:
>
>> Has anyone found Karmic Koala's power management problematic? My
>> notebook started overheating ever since I put Karmic Koala on it. I
>> went back to Ubuntu 8.04-LTS and the overheating seems to have
>> stopped. Just thought I'd mention this for anyone else thinking of
>> upgrading to Karmic Koala.
>>
>
> Now that you mention it, I felt that my left handrest area felt very hot
> today.
> This is where the hard disk is, I think.
>
> I also noticed that the Guidance Power Manager icon showed the that the
> AC adapter is connected although I was on battery only.
>
> This is Kubuntu, not Ubuntu, but perhaps the problem is common.
>
> At the ACPI level, things seem to be working though:
>
> With AC adapter not connected:
> # cat /proc/acpi/battery/BAT0/state
> present:                 yes
> capacity state:          ok
> charging state:          discharging
> present rate:            1789 mA
> remaining capacity:      4347 mAh
> present voltage:         10800 mV
>
> # cat /proc/acpi/ac_adapter/ADP0/state
> state:                   off-line
>
> With AC adapter connected:
> # cat /proc/acpi/battery/BAT0/state
> present:                 yes
> capacity state:          ok
> charging state:          charged
> present rate:            1183 mA
> remaining capacity:      4391 mAh
> present voltage:         10800 mV
> # cat /proc/acpi/ac_adapter/ADP0/state
> state:                   on-line
>
> So ACPI does detect what is going on. Perhaps another layer is botched
> though.
>

I think I found a solution to this:


Use this command to edit your grub menu.lst file.

# sudo nano /boot/grub/menu.lst

Then change the line that looks like this:

kernel          /boot/vmlinuz-2.6.31-14-generic
root=UUID=d2d0abec-e28f-42bc-9afa-ba6faca5ed20 ro quiet splash

To this:

kernel          /boot/vmlinuz-2.6.31-14-generic
root=UUID=d2d0abec-e28f-42bc-9afa-ba6faca5ed20 ro quiet splash *
acpi_osi="Linux"*

The added acpi_osi="Linux" parameter makes the laptop stay between 42 and
49C, and disconnecting the AC causes Guidance Power Manager to detect such
events correctly.
-- 
Khalid M. Baheyeldin
2bits.com, Inc.
http://2bits.com
Drupal optimization, development, customization and consulting.
Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra
Simplicity is the ultimate sophistication. --   Leonardo da Vinci
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20091103/f9efb7b3/attachment.htm>


More information about the kwlug-disc mailing list