Page 4 of 7 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 62

Thread: Excess heat and battery drain with Unbuntu 11.10

  1. #31
    Join Date
    Mar 2010
    Location
    London
    Beans
    924

    Re: Excess heat and battery drain with Unbuntu 11.10

    Quote Originally Posted by I_can_see_the_light View Post
    Good idea. You can enable many power tweaks from within powertop but they don't survive reboots.
    Maybe I was just doing it wrong, but I remember having to keep running powertop every now and then to tweak stuff (during one login session) as some services had started again. This was probably how my installation was configured though.
    - "Make me a coffee..."
    - "No"
    - "sudo make me a coffee"
    - "OK"

  2. #32
    Join Date
    Jul 2008
    Location
    Luleå, Sweden
    Beans
    88
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Excess heat and battery drain with Unbuntu 11.10

    Quote Originally Posted by KdotJ View Post
    Maybe I was just doing it wrong, but I remember having to keep running powertop every now and then to tweak stuff (during one login session) as some services had started again. This was probably how my installation was configured though.
    Hmm, I haven't done extensive testing with powertop so that may well be true on some setups. On my laptop though, the tweaks seem to "stick" as long as I'm logged on.
    "You must learn from the mistakes of others. You can't possibly live long enough to make them all yourself."
    -- Sam Levenson
    Fujitsu Siemens Lifebook E8020D | Triple booting CrunchBang, Ubuntu and Windows 7

  3. #33
    Join Date
    Jan 2012
    Beans
    47

    Re: Excess heat and battery drain with Unbuntu 11.10

    @I_can_see_the_light Ok, so I tried the mods you recommended the other day from the crunchbanglinux.org forum.

    Initial results from looking at Powertop are favourable with the battery drain having gone from an average of 18w down to 12.5 or so. I need to charge the battery and see what happens with a full charge but that's bound to make some difference. Thanks for the tip.

    I still need to get to grips with Powertop. Still not sure how to use it for maximum power savings. If I could find out how to turn down the screen brightness as well, that would help a lot.

  4. #34
    Join Date
    Jul 2008
    Location
    Luleå, Sweden
    Beans
    88
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Excess heat and battery drain with Unbuntu 11.10

    Quote Originally Posted by Expert Novice View Post
    @I_can_see_the_light Ok, so I tried the mods you recommended the other day from the crunchbanglinux.org forum.

    Initial results from looking at Powertop are favourable with the battery drain having gone from an average of 18w down to 12.5 or so. I need to charge the battery and see what happens with a full charge but that's bound to make some difference. Thanks for the tip.

    I still need to get to grips with Powertop. Still not sure how to use it for maximum power savings. If I could find out how to turn down the screen brightness as well, that would help a lot.
    That's good news


    Have a look at that powersave script again. There's two lines for changing the brightness.

    For battery:
    Code:
    # Set backlight brightness to 50%
    echo 5 > /sys/devices/virtual/backlight/acpi_video0/brightness
    and AC:
    Code:
    echo 10 > /sys/devices/virtual/backlight/acpi_video0/brightness
    The path to the brightness setting can be different on your machine, mine is /sys/devices/virtual/backlight/fujitsu-laptop/brightness.
    To find out your brightness level you need to browse to the folder /sys/devices/virtual/backlight/xxx/ and look for a file called max_brightness and then adjust the values in the powersave script accordingly. But remember, you can't set any .5 values.
    "You must learn from the mistakes of others. You can't possibly live long enough to make them all yourself."
    -- Sam Levenson
    Fujitsu Siemens Lifebook E8020D | Triple booting CrunchBang, Ubuntu and Windows 7

  5. #35
    Join Date
    Jan 2012
    Beans
    47

    Re: Excess heat and battery drain with Unbuntu 11.10

    I had another look at the powersave script. The brightness is already set to 50. I changed it to 10 to see what would happen but there was no effect.

    There's no max_brightness file where you suggested but I did a search for any other with that name. I found 5 with various values but I wasn't able to save any changes in them. I tried sudo nautilus but was still getting the 'You do not have the permissions necessary to save the file. Please check that you typed the location correctly and try again.' message.

    The AC line was the same as you posted.

    Otherwise the machine seems to be doing a lot better. After powering on and leaving the machine to settle for a few minutes with the screen closed, on opening it I saw projected battery life of over 6 hours. This soon drops when the backlight starts up at 100% but was still over 4 for a time. Previously it was showing me just over 2 hours after a full charge so that's a good improvement with the Crunchbang mod but the screen brightness is still eating the battery rather quickly. Still runs hot but from what I've read that seems to be a feature of 11.10. How thoughtful of the developers to give us laptop users a way of keeping warm through the winter months

    Despite persisting issues you've been a big help. Thank you!!

  6. #36
    Join Date
    Jul 2008
    Location
    Luleå, Sweden
    Beans
    88
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Excess heat and battery drain with Unbuntu 11.10

    Quote Originally Posted by Expert Novice View Post
    Still runs hot but from what I've read that seems to be a feature of 11.10. How thoughtful of the developers to give us laptop users a way of keeping warm through the winter months
    Yeah I've read a lot about that too.

    Could you unplug the power cord for 10 seconds and then plug it back in, then run the following command in a terminal:
    Code:
    cat /var/log/pm-powersave.log | grep -i aspm
    and post the output here.

    Quote Originally Posted by Expert Novice View Post
    Despite persisting issues you've been a big help. Thank you!!
    You're welcome.
    "You must learn from the mistakes of others. You can't possibly live long enough to make them all yourself."
    -- Sam Levenson
    Fujitsu Siemens Lifebook E8020D | Triple booting CrunchBang, Ubuntu and Windows 7

  7. #37
    Join Date
    Jan 2012
    Beans
    47

    Re: Excess heat and battery drain with Unbuntu 11.10

    Ok, what does this tell us?

    david@david-Laptop:~$ cat /var/log/pm-powersave.log | grep -i aspm
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
    /usr/lib/pm-utils/power.d/pcie_aspm false: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
    /usr/lib/pm-utils/power.d/pcie_aspm false: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
    /usr/lib/pm-utils/power.d/pcie_aspm false: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
    /usr/lib/pm-utils/power.d/pcie_aspm false: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
    /usr/lib/pm-utils/power.d/pcie_aspm false: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
    /usr/lib/pm-utils/power.d/pcie_aspm false: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
    /usr/lib/pm-utils/power.d/pcie_aspm false: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
    /usr/lib/pm-utils/power.d/pcie_aspm false: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
    /usr/lib/pm-utils/power.d/pcie_aspm false: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
    /usr/lib/pm-utils/power.d/pcie_aspm false: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
    /usr/lib/pm-utils/power.d/pcie_aspm false: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
    /usr/lib/pm-utils/power.d/pcie_aspm false: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
    /usr/lib/pm-utils/power.d/pcie_aspm false: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
    /usr/lib/pm-utils/power.d/pcie_aspm false: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
    /usr/lib/pm-utils/power.d/pcie_aspm false: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
    /usr/lib/pm-utils/power.d/pcie_aspm false: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
    /usr/lib/pm-utils/power.d/pcie_aspm false: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
    /usr/lib/pm-utils/power.d/pcie_aspm false: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
    /usr/lib/pm-utils/power.d/pcie_aspm false: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
    /usr/lib/pm-utils/power.d/pcie_aspm false: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
    /usr/lib/pm-utils/power.d/pcie_aspm false: success.

  8. #38
    Join Date
    Jul 2008
    Location
    Luleå, Sweden
    Beans
    88
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Excess heat and battery drain with Unbuntu 11.10

    Quote Originally Posted by Expert Novice View Post
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
    /usr/lib/pm-utils/power.d/pcie_aspm true: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
    /usr/lib/pm-utils/power.d/pcie_aspm false: success.
    This part tells me that the script successfully enabled and disabled the power saving for the pcie_aspm module.


    That should reduce the heat a lot but just to double check this, unplug the cord again and post the output of this command:
    Code:
    cat /sys/module/pcie_aspm/parameters/policy

    The brightness setting not working was strange. According to a post in the thread on crunchbang forums this command will find the file that should be modified by the script:
    Code:
    find /sys -iname brightness
    And this command should tell you where the max_brigtness file resides:
    Code:
    find /sys -iname max_brightness
    "You must learn from the mistakes of others. You can't possibly live long enough to make them all yourself."
    -- Sam Levenson
    Fujitsu Siemens Lifebook E8020D | Triple booting CrunchBang, Ubuntu and Windows 7

  9. #39
    Join Date
    Jan 2012
    Beans
    47

    Re: Excess heat and battery drain with Unbuntu 11.10

    Ok...

    cat /sys/module/pcie_aspm/parameters/policy gives us

    default performance [powersave]

    I wasn't sure if you meant to leave the power unplugged or not so that is with the power unplugged and below is the output after unplugging and reconnecting again after 10 seconds...

    [default] performance powersave

    Output from the other two codes below...

    david@david-Laptop:~$ find /sys -iname brightness
    /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight/brightness
    /sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/brightness
    /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/leds/rt2800pci-phy0::radio/brightness
    /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/leds/rt2800pci-phy0::assoc/brightness
    /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/leds/rt2800pci-phy0::quality/brightness
    find: `/sys/kernel/debug': Permission denied
    david@david-Laptop:~$ find /sys -iname max_brightness
    /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight/max_brightness
    /sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/max_brightness
    /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/leds/rt2800pci-phy0::radio/max_brightness
    /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/leds/rt2800pci-phy0::assoc/max_brightness
    /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/leds/rt2800pci-phy0::quality/max_brightness
    find: `/sys/kernel/debug': Permission denied

    These are the files I was talking about in post 35. If I understand correctly Nautilus over rides the protection given to certain system files allowing us to change them but even accessing these files through Nautilus I still get the perrmision denied message when trying to save changes.

    /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight/max_brightness contains only the number 4882 as do the files

    /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight/actual_brightness

    and

    /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight/brightness

    Perhaps if these could be changed it would make some difference but as I say, permission seems to be denied.

  10. #40
    Join Date
    Jul 2008
    Location
    Luleå, Sweden
    Beans
    88
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Excess heat and battery drain with Unbuntu 11.10

    Quote Originally Posted by Expert Novice View Post
    cat /sys/module/pcie_aspm/parameters/policy gives us

    default performance [powersave]

    [default] performance powersave
    Ok, then it's working as it should.


    Quote Originally Posted by Expert Novice View Post
    david@david-Laptop:~$ find /sys -iname brightness
    /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight/brightness
    /sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/brightness
    david@david-Laptop:~$ find /sys -iname max_brightness
    /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight/max_brightness
    /sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/max_brightness

    /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight/max_brightness contains only the number 4882
    try this:
    Code:
    sudo echo 2441 > /sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/brightness
    This should set the backlight brightness to 50%
    "You must learn from the mistakes of others. You can't possibly live long enough to make them all yourself."
    -- Sam Levenson
    Fujitsu Siemens Lifebook E8020D | Triple booting CrunchBang, Ubuntu and Windows 7

Page 4 of 7 FirstFirst ... 23456 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •