/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

Reply via email to