unknown ([EMAIL PROTECTED]) wrote:
> If you want to read it directly from the hardware, ADC #3 of retu chip
> gives this information.
Depending on your application it might be easier to monitor the dbus
signals that happen when the charger gets inserted or removed.
I don't have sample code available right now, but the signals are
clearly visible when looking at the output of "dbus-monitor --system".
Hope this helps,
Simon
--
[EMAIL PROTECTED] http://simon.budig.de/
[EMAIL PROTECTED] http://www.kernelconcepts.de/
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers