<div dir="ltr">If you extract the deb file, a python application that uses dbus to see the charge can be found here: <a href="http://www.nitapps.com/">http://www.nitapps.com/</a><br>kcbatt which is in C and reads its values directly from the power management chip can be found here : <a href="http://mrrau.dyndns.org:23280/n800/kcbatt/">http://mrrau.dyndns.org:23280/n800/kcbatt/</a><br>
<br>Look into the maemo mplayer sources, that uses a dbus command to turn off the screensaver.<br><br>I&#39;ve just given examples, maybe someone can give you a better answer.<br><br><div class="gmail_quote">2008/8/9 dumganhar <span dir="ltr">&lt;<a class="linkification-ext" href="mailto:dumganhar@163.com" title="Linkification: mailto:dumganhar@163.com">dumganhar@163.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">





<div style="font-size: 10pt; font-family: verdana;">
<div style="text-indent: 2em;"><font size="2" face="Verdana">How to <font color="#000000">use C programming language to check the battery status(include 
whether it&#39;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!</font></font></div>
<div>&nbsp;</div>
<div><font size="2" face="Verdana"></font>&nbsp;</div>
<div align="left"><font color="#c0c0c0" size="2" face="Verdana">2008-08-09 
</font></div><font size="2" face="Verdana">
<hr style="width: 122px; height: 2px;" align="left" size="2">

<div><font color="#c0c0c0" size="2" face="Verdana"><span>dumganhar</span> 
</font></div></font></div>
<br>_______________________________________________<br>
maemo-developers mailing list<br>
<a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
<a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
<br></blockquote></div><br></div>