[maemo-developers] Low Battery signal N800/N810
From: Kees Jongenburger kees.jongenburger at gmail.comDate: Sun May 4 22:26:08 EEST 2008
- Previous message: Is it possible to port Maemo to other ARM devices?
- Next message: Low Battery signal N800/N810
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <kumar.lomash at gmail.com> 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 at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers > >
- Previous message: Is it possible to port Maemo to other ARM devices?
- Next message: Low Battery signal N800/N810
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]