Find the answer to your Linux question:
Results 1 to 7 of 7
hello, I have a linux certified laptop running gentoo and 2.6.18 kernel. i have sleep (suspend to ram) working, but it uses a lot of battery power (it will run ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    4

    sleep using a lot of battery power


    hello,

    I have a linux certified laptop running gentoo and 2.6.18 kernel. i have sleep (suspend to ram) working, but it uses a lot of battery power (it will run down a full battery while sleeping in about 7 hours). Is there some way to reduce this?

    I am using the in kernel suspend. i have not been able to get suspend 2 to sleep my laptop (more precisely, i haven't gotten to successfully wake up).

    thx

  2. #2
    Linux Enthusiast apoorv_khurasia's Avatar
    Join Date
    Feb 2005
    Posts
    624
    Try these:

    1. Enable monitor sleep mode (use "drm" in xorg.conf)
    2. Enable CPU frequency change (its a kernel option, so you need to recompile the kernel with this support).
    "There is no sixth rule"
    --Rob Pike
    Registered Linux User: 400426 home page

  3. #3
    Just Joined!
    Join Date
    Jan 2007
    Posts
    4
    Quote Originally Posted by apoorv_khurasia
    Try these:

    1. Enable monitor sleep mode (use "drm" in xorg.conf)
    2. Enable CPU frequency change (its a kernel option, so you need to recompile the kernel with this support).
    where in the kernel is the second option?

  4. #4
    Linux Enthusiast apoorv_khurasia's Avatar
    Join Date
    Feb 2005
    Posts
    624
    Quote Originally Posted by juniper1982
    where in the kernel is the second option?
    Here:-
    Code:
    Power management options (ACPI, APM)  --->
     --- Power Management support[*]   Legacy Power Management API (NEW)
            [ ]   Power Management Debug Support
                  ACPI (Advanced Configuration and Power Interface) Support  ---> 
                  APM (Advanced Power Management) BIOS Support  ---> 
                  CPU Frequency scaling  --->
    "There is no sixth rule"
    --Rob Pike
    Registered Linux User: 400426 home page

  5. #5
    Just Joined!
    Join Date
    Jan 2007
    Posts
    4
    do you mean cpu frequency scaling? i already have this running.

    i think perhaps you misunderstood my question. When my computer is in suspend to ram mode (minimal power to ram to keep it alive) it uses a lot of battery power (full power in 7 hours).

    i don't see how either of your suggestions would help. i think maybe you interpreted by question as asking how to reduce power consumption when the computer is on.

    am i right?

  6. #6
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    Can you provide a bit more details ?

    Which distribution do you use ?
    What about your laptop (output of lspci) ?
    Which program do you use to put it to S3 mode ?

    The problem here is probably that one module (or more) drains the power while in S3 mode. You would have to discover which one it is by experimenting.

    For example, my laptop was draining power like that when in suspend mode, until I discovered that the module sdhci was the problem. So I simply unload it before going in S3 (with the help of powersave).

    Perhaps you can find some hints here :
    http://wizah.blogspot.com/2007/01/de...anagement.html
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  7. #7
    Just Joined!
    Join Date
    Jan 2007
    Posts
    4
    ok. output of lspci is

    Code:
    00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
    00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
    00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
    00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
    00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
    00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
    00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
    00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
    00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
    00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
    00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
    00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03)
    00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
    00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
    01:03.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
    01:07.0 Network controller: Intel Corporation PRO/Wireless 2915ABG Network Connection (rev 05)
    01:0a.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
    01:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
    running gentoo with 2.6.18 kernel. both suspend to ram and suspend to disk work, it is just STR sucks a lot of battery.

    I am using the in-kernel suspend functionality (echo -n mem > /sys/power/state). i have a script stolen off the net (which works like a charm on another laptop, but very different laptop). basically, the script shuts down all network interfaces and unloads all modules via a line

    for i in $($AWK '{print $1}' /proc/modules |$GREP -v "snd" 2> /dev/null); do
    $MODPROBE -r $i 2> /dev/null

    if you need more info, just ask.

Posting Permissions

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