[maemo-developers] Power management is going to drive me mad!

From: gary liquid liquid at gmail.com
Date: Thu Jun 19 12:35:51 EEST 2008
George,

I have a problem with my wifi at home which means when connected it will
drain very rapidly.
I use an ad-hoc connection which I believe prevents idling so drains my
battery quickly.
Other users report staying connected to their Infrastructure based wifi for
days at a time.

I personally wouldn't like my n810 programmatically deciding when to connect
under normal situations, however I think it would be beneficial to allow the
wifi to disconnect with the Lock slider switch.
This all gets messy and complicated though if you want to restore the
connection when it is unlocked since some people have roaming charges or
other considerations.

One other thing, I find lowering the screen brightness a couple of notches
improves battery life by literally hours, might be an idea.

Gary (lcuk on #maemo)


On Thu, Jun 19, 2008 at 10:20 AM, Benoît HERVIER <khertan at khertan.net>
wrote:

> 2008/6/19 George Nachman <maemodev at georgester.com>:
> > 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 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.
> >
> > Thanks for your help,
> > George
> > _______________________________________________
> > maemo-developers mailing list
> > maemo-developers at maemo.org
> > https://lists.maemo.org/mailman/listinfo/maemo-developers
> >
>
> Hi,
>
> This is strange, are you sure that there isn't a process that don't
> let the nit going into sleep mode ?
>
> As i keep always my wifi on and never manage it from my apps that need
> to be connected, and i don't have any battery performance problem.
>
>
> --
> Benoît HERVIER - http://khertan.net/
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20080619/cdfaa37a/attachment.htm 
More information about the maemo-developers mailing list