Re: beagle on laptop



Hi,

On Fri, 2006-03-17 at 05:42 +0800, Ray Tsang wrote:
> Joe, where does beagle check if its on battery?  Is there a DBus call
> back somewhere?
> Maybe I can help out making some changes.  Thanks.

Way more low-tech than that. :)

It looks in /proc/acpi/ac_adapter/AC/state for the "on-line" string.

Joe




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]