Hi

I am fairly new to dbus but if you run dbus-monitor --system from a console
and hover over the battery monitor applet you will see what calls are used to
get this information.

Nokia-N810-50-2:~# dbus-monitor --system
signal sender=org.freedesktop.DBus -> dest=:1.67
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus;
member=NameAcquired
   string ":1.67"
signal sender=:1.20 -> dest=(null destination)
path=/com/nokia/bme/request; interface=com.nokia.bme.request;
member=timeleft_info_req
signal sender=:1.9 -> dest=(null destination)
path=/com/nokia/bme/signal; interface=com.nokia.bme.signal;
member=battery_timeleft
   uint32 5280
   uint32 120


Hope this helps greetings


On Mon, Apr 28, 2008 at 8:26 AM, kumar lomash <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have been trying to get a signal when battery status (time left, etc)
> changes. I understand that I will have to use lib osso APIs for this, but I
> am unable to find a service prvider (e.g. com.nokia.battery ???) to connect
> to.
>  Is this documented somewhere? I could not find anything on this.
>
> Can someone please send details of which service/interface to connect to?
>
> Thanks a lot,
> Lomash
>
> _______________________________________________
>  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

Reply via email to