If you extract the deb file, a python application that uses dbus to see the
charge can be found here: http://www.nitapps.com/
kcbatt which is in C and reads its values directly from the power management
chip can be found here : http://mrrau.dyndns.org:23280/n800/kcbatt/

Look into the maemo mplayer sources, that uses a dbus command to turn off
the screensaver.

I've just given examples, maybe someone can give you a better answer.

2008/8/9 dumganhar <[EMAIL PROTECTED]>

>  How to use C programming language to check the battery status(include
> whether it's in charge)? How to get the UUID of N810?And how to make an
> application to ignore screensaver! I am doing a GPS application!^_^Hope your
> help!
>
>
> 2008-08-09
> ------------------------------
> dumganhar
>
> _______________________________________________
> maemo-developers mailing list
> [email protected]
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
>
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to