On Sun, 2006-03-26 at 00:25 +0800, Ray Tsang wrote: > interesting, i'm also using ubuntu dapper, i have > /proc/acpi/ac_adapter/AC0/state
This may then be something laptop-brand specific. Mine is a Sony Vaio SZ1XP, Albert. > > On 3/25/06, Albert Vilella <[EMAIL PROTECTED]> wrote: > > /proc/acpi/ac_adapter/AC/state > > > > isn't there in my system (Ubuntu Dapper). Instead, I have: > > > > /proc/acpi/ac_adapter/ACAD/state > > > > Could this other filepath be added for checking? > > > > Albert. > > > > > > On Thu, 2006-03-16 at 16:49 -0500, Joe Shaw wrote: > > > 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 > > > > > > _______________________________________________ > > > Dashboard-hackers mailing list > > > [email protected] > > > http://mail.gnome.org/mailman/listinfo/dashboard-hackers > > > > _______________________________________________ Dashboard-hackers mailing list [email protected] http://mail.gnome.org/mailman/listinfo/dashboard-hackers
