Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jul 2009 10:56:17 +0200 (CEST)
From:      "Rene Schickbauer" <cavac@magicbooks.org>
To:        "Gergely CZUCZY" <gergely.czuczy@harmless.hu>
Cc:        freebsd-current@freebsd.org
Subject:   Re: RFC: powerd Patch & proposed future changes
Message-ID:  <12908.213.150.228.38.1246870577.squirrel@mail.magicbooks.org>
In-Reply-To: <20090706100602.00003969@unknown>
References:  <18510.213.150.228.38.1246864978.squirrel@mail.magicbooks.org> <20090706100602.00003969@unknown>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

> I think this is a very nice idea, especially the TFT backlight part. It
> also might be useful to adjust the WiFi transmit power level according
> to battery state. That can also save some power, especially on
> portables.

Yes, changing the transmit power would be possible. Although adjusting the
transmit power via script on a *mobile* computer is likely to get the user
offline rather quickly.

On the other hand, powerd would just run a script. This script could start a
user-written daemon to continually adjust power level.. and when ac is
plugged in again, the script kills that daemon. I sincerely doubt that would
save you any amount of power worth mentioning, though but may give you
additional troubles. But maybe you could restrict an a/b/g card to b/g or a
and thus save some power.

Some laptops let you power down the normal (cabled) network adapter. When
your out of reach for AC power, you're very unlikely lugging a network cable
around the building. Also, you may power down/unload inbuild audio, webcam,
bluetooth, modem, serial port etc. If you're desperate, disallowing CDROM 
and SWAP operation may save you a ton of power, too.

As i said, with user scripting triggered by powerd state changes, you could
get *really* creative (like temporarly halting any mencoder and ffmpeg
process while on battery power ;-).

LLAP & LG
Rene Schickbauer
-- 
Hackerkey: http://tinyurl.com/pof37z




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12908.213.150.228.38.1246870577.squirrel>