USB power source connected message

Michael 'Mickey' Lauer mickey at openmoko.org
Tue Mar 25 19:45:10 CET 2008


On Tuesday 25 March 2008 11:35:45 Emre Turkay wrote:
> Hi folks,
>
> Is there a dbus message or something similar triggered when the device is
> connected to a power source. What it does in the battery monitor applet, it
> queries the apm state periodically

No, please check the battery applet. neod sends a dbus signal to it when the 
power state changes. However this is just an ad-hoc API to get things done 
and not yet freesmartphone.org compliant.






More information about the openmoko-kernel mailing list