Benoît,<br>Like I said, messy and complicated ;)<br>Agreed though, the profiles for different device actions in different states should be configurable.<br><br>Gary<br><br><div class="gmail_quote">On Thu, Jun 19, 2008 at 10:48 AM, Benoît HERVIER &lt;<a href="mailto:khertan@khertan.net">khertan@khertan.net</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2008/6/19 gary liquid &lt;<a href="mailto:liquid@gmail.com">liquid@gmail.com</a>&gt;:<br>
<div><div></div><div class="Wj3C7c">&gt; George,<br>
&gt;<br>
&gt; I have a problem with my wifi at home which means when connected it will<br>
&gt; drain very rapidly.<br>
&gt; I use an ad-hoc connection which I believe prevents idling so drains my<br>
&gt; battery quickly.<br>
&gt; Other users report staying connected to their Infrastructure based wifi for<br>
&gt; days at a time.<br>
&gt;<br>
&gt; I personally wouldn&#39;t like my n810 programmatically deciding when to connect<br>
&gt; under normal situations, however I think it would be beneficial to allow the<br>
&gt; wifi to disconnect with the Lock slider switch.<br>
&gt; This all gets messy and complicated though if you want to restore the<br>
&gt; connection when it is unlocked since some people have roaming charges or<br>
&gt; other considerations.<br>
&gt;<br>
&gt; One other thing, I find lowering the screen brightness a couple of notches<br>
&gt; improves battery life by literally hours, might be an idea.<br>
&gt;<br>
&gt; Gary (lcuk on #maemo)<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Jun 19, 2008 at 10:20 AM, Benoît HERVIER &lt;<a href="mailto:khertan@khertan.net">khertan@khertan.net</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; 2008/6/19 George Nachman &lt;<a href="mailto:maemodev@georgester.com">maemodev@georgester.com</a>&gt;:<br>
&gt;&gt; &gt; Hi maemo-developers,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Is it possible on the N800 to programatically shut down the wifi<br>
&gt;&gt; &gt; interface and bring it back up?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I have an application that very occasionally needs network<br>
&gt;&gt; &gt; connectivity. If I leave my device connected to wifi, the battery dies<br>
&gt;&gt; &gt; too quickly. I would like to have the software turn on the wifi<br>
&gt;&gt; &gt; interface, do its thing, and then turn the interface off to conserve<br>
&gt;&gt; &gt; energy. I&#39;ve considered other solutions, but I think this is the<br>
&gt;&gt; &gt; simplest answer.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I thought at first that libconic could do this, but it appears not (at<br>
&gt;&gt; &gt; least not in Python: see the comment here:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; <a href="https://garage.maemo.org/svn/pymaemo/packages/python-conic/branches/chinook/tests/test_disconnect.py" target="_blank">https://garage.maemo.org/svn/pymaemo/packages/python-conic/branches/chinook/tests/test_disconnect.py</a>).<br>

&gt;&gt; &gt; Is it possible? I saw a veiled reference to sending d-bus messages<br>
&gt;&gt; &gt; (<a href="http://maemo.org/pipermail/maemo-developers/2007-April/009462.html" target="_blank">http://maemo.org/pipermail/maemo-developers/2007-April/009462.html</a>),<br>
&gt;&gt; &gt; but it wasn&#39;t specific enough to turn into code.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I tried running /etc/init.d/wlancond stop, but that doesn&#39;t seem to<br>
&gt;&gt; &gt; decrease power consumption.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Is there a magical dbus message I can send? If I could trick it into<br>
&gt;&gt; &gt; entering/exiting flight mode, that would work too. I&#39;ve been<br>
&gt;&gt; &gt; experimenting for hours with no luck.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thanks for your help,<br>
&gt;&gt; &gt; George<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; maemo-developers mailing list<br>
&gt;&gt; &gt; <a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
&gt;&gt; &gt; <a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; This is strange, are you sure that there isn&#39;t a process that don&#39;t<br>
&gt;&gt; let the nit going into sleep mode ?<br>
&gt;&gt;<br>
&gt;&gt; As i keep always my wifi on and never manage it from my apps that need<br>
&gt;&gt; to be connected, and i don&#39;t have any battery performance problem.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Benoît HERVIER - <a href="http://khertan.net/" target="_blank">http://khertan.net/</a><br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; maemo-developers mailing list<br>
&gt;&gt; <a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
&gt;&gt; <a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
&gt;<br>
&gt;<br>
<br>
&gt;however I think it would be beneficial to allow the wifi to disconnect with the Lock slider switch.<br>
</div></div>This should be an option in wifi parameters, as i like that wifi stay<br>
connected when i lock it. :)<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="Wj3C7c">Benoît HERVIER - <a href="http://khertan.net/" target="_blank">http://khertan.net/</a><br>
</div></div></blockquote></div><br>