Re: The Problem of Battery Status, UUID and Screensaver!

2008-08-10 Thread Andrew Zabolotny
From Sat, 9 Aug 2008 16:30:42 +0800
"dumganhar" <[EMAIL PROTECTED]> wrote:

> How to get the UUID of N810?
I don't know if such a thing exists, at least 'cat /proc/cpuinfo' shows
a serial number of 0.

> And how to make
> an application to ignore screensaver! I am doing a GPS
Read the Maemo Platform Development tutorial, especially this chapter:

http://maemo.org/maemo_training_material/maemo4.x/html/maemo_Platform_Development/Chapter_02_LibOSSO.html

-- 
Andrew


signature.asc
Description: PGP signature
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: The Problem of Battery Status, UUID and Screensaver!

2008-08-09 Thread Faheem Pervez
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
> maemo-developers@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
>
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


The Problem of Battery Status, UUID and Screensaver!

2008-08-09 Thread dumganhar
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
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Battery status

2008-08-07 Thread Andrew Barr
On Thu, 2008-08-07 at 17:57 +0300, Harry Petas wrote:
> Hi!
> I would like to get the battery status of my device. Is there any way
> to get it from the terminal?

Look at the code for Kagu[0]. There is some Python code in there that
can be reused to create a simple script that will report the battery
status from bme.

[0] http://kagumedia.com/projects/kagu/browser/trunk/src/kagu/maemo.py

> Thank you very much,
> Harry
> 
> 
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
-- 
Andrew Barr
[EMAIL PROTECTED]

(614) 581-3537 (Verizon Wireless)
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Battery status

2008-08-07 Thread Harry Petas
Hi!
I would like to get the battery status of my device. Is there any way to get
it from the terminal?

Thank you very much,
Harry
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] battery status in /proc ???

2006-02-13 Thread Mischa Molhoek
is there some proc value that i can cat (in xterm :) to see the state of
the battery?
how full is it?
how does the toolbar battery icon get his info?

grtz, Mischa

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers