[maemo-developers] Power management is going to drive me mad!
From: nick loeve trickie at gmail.comDate: Thu Jun 19 12:39:53 EEST 2008
- Previous message: Power management is going to drive me mad!
- Next message: Power management is going to drive me mad!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, On Thu, Jun 19, 2008 at 9:58 AM, George Nachman <maemodev at georgester.com> wrote: > Hi maemo-developers, > > Is it possible on the N800 to programatically shut down the wifi > interface and bring it back up? > > I have an application that very occasionally needs network > connectivity. If I leave my device connected to wifi, the battery dies > too quickly. I would like to have the software turn on the wifi > interface, do its thing, and then turn the interface off to conserve > energy. I've considered other solutions, but I think this is the > simplest answer. I can leave my device on (with wifi on and connected to my AP) for days at a time. I have a n800, with a pretty-close-to-stock install. There have been some threads on this list recently about certain AP's and/or ad-hoc mode causing excessive traffic and therefore not letting the device go into the appropriate power saving modes. Also if applications see (via libconic) that there is a connection maybe they are doing excessive or not needed work in the background. > > I thought at first that libconic could do this, but it appears not (at > least not in Python: see the comment here: > https://garage.maemo.org/svn/pymaemo/packages/python-conic/branches/chinook/tests/test_disconnect.py). > Is it possible? I saw a veiled reference to sending d-bus messages > (http://maemo.org/pipermail/maemo-developers/2007-April/009462.html), > but it wasn't specific enough to turn into code. > > I tried running /etc/init.d/wlancond stop, but that doesn't seem to > decrease power consumption. > > Is there a magical dbus message I can send? If I could trick it into > entering/exiting flight mode, that would work too. I've been > experimenting for hours with no luck. Try seeing what dbus message are floating around on the system bus when you go on/offline: dbus-monitor --system Cheers > > Thanks for your help, > George > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers > -- Nick Loeve
- Previous message: Power management is going to drive me mad!
- Next message: Power management is going to drive me mad!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]