public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Florian Philipp <lists@f_philipp.fastmail.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] MacBook: How many hours on battery with Gentoo?
Date: Tue, 19 Feb 2008 20:27:04 +0100	[thread overview]
Message-ID: <1203449224.10427.12.camel@NOTE_GENTOO64.PHHEIMNETZ> (raw)
In-Reply-To: <47BB28FF.8050101@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2791 bytes --]


On Tue, 2008-02-19 at 20:07 +0100, b.n. wrote:
> Ritesh Kumar ha scritto:
> > On Feb 19, 2008 12:09 PM, Florian Philipp <lists@f_philipp.fastmail.net>
> > wrote:
> > 
> > 
> >     On Tue, 2008-02-19 at 11:28 +0100, b.n. wrote:
> >     > Lowe Schmidt ha scritto:
> >     > > Hi.
> >     > >
> >     > > I'm planning on buying myself a MacBook and I'm just wondering
> >     if anyone
> >     > > knows how many hours I will get out of it if I run Gentoo. I
> >     mainly use
> >     > > a bunch
> >     > > of terminals, gvim and some lightweigth gtk app so nothing heavy
> >     going on.
> >     > >
> >     > > All input appreciated
> >     >
> >     > My Macbook Pro with light, normal usage lasts about three hours (OS X
> >     > lasts at least one hour more).
> >     >
> >     > m.
> > 
> >     Have you found any reason for this discrepancy? I'd suspect them to be
> >     on par with the right tuning.
> > 
> > 
> > Are you doing any kind of CPU frequency scaling? In the kernel (I use
> > gentoo sources) configuration enable
> 
> Yes, I do frequency scaling (the ondemand governor is used when the
> laptop is unplugged). I also use laptop-mode for the hd and pommed to
> tune screen brightness.
> 
> I think the problems are the wireless and the video drivers. The new
> Macbook Pro wireless drivers (I bought my machine in late October 2007,
> just when Leopard came out -although, well, I found myself almost never
> using it) required SVN version of madwifi (dunno if now the stable
> version works, will check when upgrading kernel), and so far attempting
> to set power saving on my wireless card fails.
> 
> The Macbook Pro also has a nvidia video card. The nvidia drivers work
> quite well (apart from some issues with external dvi resolution), but as
> far as I know, on it the "Powermizer" feature is somehow disabled. :(
> 
> I guess both things combined can explain at least a significant quantity
> of the power drain. Suggestions are much welcome, I hate the reduced
> battery power.
> 
> m.


1. Use laptop-mode if you don't do it by now. Really nice even without
its delayed disk write feature.

2. Displays are by far the biggest energy consumers. Lower its
brightness as far as possible. Some laptops even allow you to switch its
backlight off - very nice if you are outdoor.

3. Use the powersave-governor. If you really need the additional power
ondemand offers, try the conservative-governor. It increases the clock
rate slower than ondemand and might stop it from jumping too fast too
high.

4. Try sys-power/powertop. It shows you processes creating a lot up
wakeups for the CPU. It also gives you tips on your kernel config.

5. Sometimes a BIOS update helps...

Hope this helps. 

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2008-02-19 19:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-15  8:22 [gentoo-user] MacBook: How many hours on battery with Gentoo? Lowe Schmidt
2008-02-19 10:28 ` b.n.
2008-02-19 17:09   ` Florian Philipp
2008-02-19 17:52     ` Ritesh Kumar
2008-02-19 19:07       ` b.n.
2008-02-19 19:27         ` Florian Philipp [this message]
2008-02-19 20:26           ` b.n.
2008-02-19 20:20             ` Alan McKinnon
2008-02-19 23:12               ` b.n.
2008-02-19 22:49                 ` Alan McKinnon
2008-02-20 10:21             ` Etaoin Shrdlu
2008-02-20 19:30               ` b.n.
2008-02-21 10:42                 ` Etaoin Shrdlu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1203449224.10427.12.camel@NOTE_GENTOO64.PHHEIMNETZ \
    --to=lists@f_philipp.fastmail.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox