List Info

Thread: Trying to retrieve battery info on N800




Trying to retrieve battery info on N800
user name
2007-04-18 05:44:52

Hi,

I've been trying to find a way to retrieve battery information for a N800. I am not able to isolate the function call used in getting this information. I tried listening to D-BUS messages, but this only works when the user manually launches the battery applet (on the top status bar).

I am not able to find any HAL libraries on the device either, so am not sure whether HAL exists for the device or not.

Could you give me any information on how this data can be retrieved?


Thanks and Regards,
T Chaitanya

Re: Trying to retrieve battery info on N800
user name
2007-04-18 06:15:32
On ons, 2007-04-18 at 13:06 +0200, ext Laurent GUERBY
wrote:
> There seem to be a DBUS request/reply used by
> the battery applet to request current level, see here:
> 
> http://maemo.org/pipermail/maemo-developers/20
07-March/009300.html
> 
> Plus messages sent when the level changes.
> 
> However my question:
> 
> "I couldn't find documentation on the maemo site
for these bme/mce
> messages, is the protocol I described considered stable
(eg: supported
> for new releases)? Did I miss obvious messages or got
wrong semantics?"

We cannot make any firm commitments about the interfaces,
since they aer
designed for internal use, but they will only be changed if
there's a
real need for it.  As for documentation for the mce D-Bus
interfaces,
you can install mce-dev and read the documentation in the
*.h files.


Regards: David
_______________________________________________
maemo-developers mailing list
maemo-developersmaemo.org
h
ttps://maemo.org/mailman/listinfo/maemo-developers

Re: Trying to retrieve battery info on N800
country flaguser name
France
2007-04-18 06:06:02
There seem to be a DBUS request/reply used by
the battery applet to request current level, see here:

http://maemo.org/pipermail/maemo-developers/20
07-March/009300.html

Plus messages sent when the level changes.

However my question:

"I couldn't find documentation on the maemo site for
these bme/mce
messages, is the protocol I described considered stable (eg:
supported
for new releases)? Did I miss obvious messages or got wrong
semantics?"

Went unanswered, may be I should open a bugzilla for more
visibility?

Laurent

On Wed, 2007-04-18 at 16:14 +0530,
ext-chaitanya.chaitanyanokia.com
wrote:
> 
> Hi,
> 
> I've been trying to find a way to retrieve battery
information for a
> N800. I am not able to isolate the function call used
in getting this
> information. I tried listening to D-BUS messages, but
this only works
> when the user manually launches the battery applet (on
the top status
> bar). 
> 
> I am not able to find any HAL libraries on the device
either, so am
> not sure whether HAL exists for the device or not.
> 
> Could you give me any information on how this data can
be retrieved?
> 
> 
> Thanks and Regards, 
> T Chaitanya
> 
> _______________________________________________
> maemo-developers mailing list
> maemo-developersmaemo.org
> h
ttps://maemo.org/mailman/listinfo/maemo-developers

_______________________________________________
maemo-developers mailing list
maemo-developersmaemo.org
h
ttps://maemo.org/mailman/listinfo/maemo-developers

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )