Nick Hoffman ha scritto: > On 25/06/07, *Jon Grosshart* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > On 6/24/07, *Nick Hoffman* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > 30 minutes of battery time in GNU/Linux? wowzers, > that's...well....horrible. are you using Linux From Scratch, > or have you built your own OS another way? > -Nick > > > Yea, it's DIY Linux via pkgtools from Slackware. There's not too > much else to do. I use a new 2.6.21 kernel with all the acpi > trimmings. I've been using powertop on a regular basis. I've even > gotten my wake ups down in the 130 range but acpi still estimates > 32-33 watts of power. I wouldn't be surprised if I've been running > a faulty battery this whole time. Altho with the first MBP I had, > I don't remember it being any better. The real kicker is, that > when I deplete my battery, it takes hours and hours for it to > charge back up (when that worked). I also run both procs ondemand > at 1ghz all the time... > > I don't know. I'm just cursed with power gremlins I guess. To be > fair, maybe I get slightly more than 30 minutes under load, but > not much. It's definitely under an hour at load. Maybe an hour 15 > to an hour 30 at idle tops. But certainly no more. I suppose I > could try and get used to bumping the screen brightness down. > Maybe turning off automatic KB backlight in pommed.conf (cause > that doesn't work worth a crap anyway). > > This all boils down to Linux kernel implementation as far as I'm > aware. Again, like I said earlier (or on another thread), if your > not using an OS designed for this particular machine, it's a crap > shoot. Hopefully we'll see some advances linux side with acpi. > Hell, even getting suspend to work reliably would be nice. > > > > hi Jon. i've got my wakeups down about 130 as well running Debian Etch > on m 15" MBP C2D, but can't seem to get my power consumption lower > than 28-29W. that gives me about 80-100 minutes of battery power, > depending on whether or not i roll another kernel or just browse the > intertubes. other than learning, is there any other reason you use DIY > Linux rather than, say, Debian, Ubuntu, Fedora, etc? > > which Apple laptop do you have? > -Nick
I haven't followed this thread previously, but I suppose you use the Powertop program just as I. If not, take a look at it, it's excellent. When the WLAN is disabled I can get my Macbook to wake up only about 130 times. ACPI gives an estimate of 2.8 hours of battery life. With WLAN active, I get somewhat less (2,4 hours maybe). I've disabled bluetooth entirely, so that it doesn't consume battery unnecessarily. My power consumption with WLAN on is around 20 watts. So I guess your power consumption is about right (bigger screen, probably faster processors). I also noted that the "cpufreq_ondemand" governor was waking the processor up far too often. I found a fix, however: #!/bin/sh -e # /etc/rc.local # Various Intel powersaving features # Switch on "ondemand" CPUfreq governor # This is more reliable and faster than using userspace governor and # a userspace program to control CPU frequency echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor echo ondemand > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor # The "ondemand" governor in kernels prior to 2.6.22 something tend to # have a bit high sampling rate, so we will modify it according to # http://www.linuxpowertop.org/known.php cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate_max > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate cat /sys/devices/system/cpu/cpu1/cpufreq/ondemand/sampling_rate_max > /sys/devices/system/cpu/cpu1/cpufreq/ondemand/sampling_rate # Powersavings to CPU scheduler echo 1 > /sys/devices/system/cpu/sched_mc_power_savings --- Samuli ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Mactel-linux-users mailing list Mactel-linux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mactel-linux-users