Re: Re: Smart Battery System driver

Antoni Villalonga
2005-09-09T21:59:55Z

2005/9/6, Antoni Villalonga:
> 2005/9/6, Antoni Villalonga:
> > I know about sbs-linux project in sourceforge, but I get a big delay
> > (about ~20 seconds) with my Acer TM 4001 when I try to read battery
> > status.
> >
> > There are any way to fix it?
> >
> > Thanks!!
>
> Thanks to Olaf and Yu!
>
> It doesn't work for me, I don't have more time today at weekend I'll retry. :-)
>
> THANKS!!

It works now.

The delay of `cat /proc/acpi/battery/BAT0/state` its nearly 0.170 seconds.

Read form this file block my pc while it is reading.I advise it if i'm
moving the mouse or typing, it stop for a moment.

$ while true; cat /proc/acpi/battery/BAT0/state > /dev/null; done
It block totally the computer <:D

Thanks to all!

PS: I use linux-2.6.13

--
$ sh ~/.bash_history

Antoni Villalonga i Noceras
#Web# ~> http://friki.org
#Bloc# ~> http://bloc.balearweb.net/friki
#Jabber# ~> friki-STYuutOhSz/k1uMJSBkQmQ@public.gmane.org

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf