[KLUG Members] Laptop Linux users
Buist Justin
members@kalamazoolinux.org
Fri, 18 Oct 2002 11:15:23 -0400
While we're talking about increasing battery life... I've got my laptop set to spin down the hard drive when it hasn't been hit for 5 minutes. Works great in console mode -- but something when I'm running gnome or kde keeps insisting it needs to touch the filesystem and I have no idea how one would go about tracking down such a program.
If I can find 'em I'd very much like to try and cleanup the code so that it's not hitting the disk when not necessary. One thing I learned when doing the ACPI stuff was that doing an open() call on /proc/acpi/battery/0/status or whatever would cause a disk hit even though /proc is a non-disk directory. Keeping the fd open though dup()ing it and seek()ing back to the beginning would let you re-read the file though w/out that disk hit. Little tricks like that scattered about the core gnome apps might do a lot to keep the battery running a lot longer.
So, anybody know how I can ask my OS what in the world is touching my disk?
Thanks,
Justin Buist
> -----Original Message-----
> From: adam@morrison-ind.com [mailto:adam@morrison-ind.com]
> Sent: Friday, October 18, 2002 9:47 AM
> To: members@kalamazoolinux.org
> Subject: RE: [KLUG Members] Laptop Linux users
>
>
> >If anybody's interested I did some work about 9-10 months ago making
> >battery_applet use ACPI in the event that APM support wasn't
> available. I
> >have no idea if my patch ever made it into the real gnome
> distribution or
> >not. I could dig it up if anybody's interested in trying it out.
>
> Thats great, nice to see KLUG members supporting the
> community. And I've heard
> lots of people whine about the sad state of ACPI support.
>
> What would be wonderful would be a presentation on APM/ACPI.
> Everyone wants to
> increase their battery life.
> _______________________________________________
> Members mailing list
> Members@kalamazoolinux.org
>
>