[maemo-developers] Charger connected State

From: Simon Budig simon at budig.de
Date: Tue Sep 16 23:58:48 EEST 2008
unknown (matan at svgalib.org) 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

-- 
              simon at budig.de              http://simon.budig.de/
       simon.budig at kernelconcepts.de      http://www.kernelconcepts.de/

More information about the maemo-developers mailing list