laptop mode?
Satish Balay
balay at fastmail.fm
Wed Oct 20 17:51:39 UTC 2004
On Wed, 20 Oct 2004, Michal Jaegermann wrote:
> On Wed, Oct 20, 2004 at 09:15:10AM -0400, William Hooper wrote:
> >
> > >
> > > Well (on FC2) that file is indeed there but its value never changes from
> > > 0 regardless of whether the power lead is plugged in or I'm on batteries.
> >
> > To quote the FC1 release notes:
> >
> > To enable laptop mode, issue the following command:
> >
> > echo 1 > /proc/sys/vm/laptop_mode
> >
> > To disable laptop mode, issue the following command:
> >
> > echo 0 > /proc/sys/vm/laptop_mode
>
> It seems that putting a corresponding entry in /etc/sysctl.conf
> would be a healthier practice.
>
> Maybe it should exist in a "virgin" installed sysctl.conf with
> a default value of 0?
Hmm with APM (on both FC1/FC3rawhide) - the flag gets toggled
automatically whenever the AC cord is connected/disconnected.
Satish
More information about the fedora-test-list
mailing list