Re: Beagle indexing when running on batteries

"D Bera" <[email protected]>
Newsgroups gmane.comp.gnome.dashboard.devel
Message-ID <[email protected]>
> I see that in Beagle preferences there is an option to enable/disable
> indexing when running on batteries. Can someone tell me, how do Beagle
> know if the machine is on AC power or not? Does Beagle use HAL daemon
> to get this info? If yes, what exactly variables from lshal are used?

It does not use HAL. It uses the various /proc/acpi/ac_adapter/
entries. I know its stupid and there are plans to use HAL for that and
other information - but it is still in the big TODO list.

-- 
-----------------------------------------------------
Debajyoti Bera @ http://dtecht.blogspot.com
beagle / KDE fan
Mandriva / Inspiron-1100 user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.