funksft / mobbler

Automatically exported from code.google.com/p/mobbler
0 stars 0 forks source link

Does Mobbler have to keep the connection up all the time? #259

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Does Mobbler have to keep the phone's packet data connection up all the
time, when it is just scrobbling (not playing last.fm radio) or while idle,
when nothing is playing at all?

The problem is, that phones sometimes complain that they can't receive a
waiting MMS message, as long as Mobbler is connected and keeping the packet
data connection occupied.

Another problem is that, afaik, the phone needs more battery power while
travelling, because it has to resynchronize the packet data connection
every time it is changing to another BTS (network base station).

I probably could use Mobbler in offline mode and switch online manually,
every now and then for a few seconds to transfer queued tracks, but that
aint fancy.

Can mobbler (in online mode) close the packet data connection when not
using it, maybe after approx. 30 or 60 seconds, and automatically reopen it
when needed?

Original issue reported on code.google.com by gregorw....@gmail.com on 3 Feb 2009 at 6:37

GoogleCodeExporter commented 8 years ago
Thanks for raising the issue.

I looked into the power usage thing a while ago with an app that showed a graph 
of
how much power you are using (can't remeber what it was called now).  I think it
varies from phone to phone how well this works, but I saw that the power usage 
went
back down to an idle level after a few seconds of using it which made me 
conclude
that there is some clever timing out of the actual connection underneath and
therefore there was nothing to be done with Mobbler for that.

The 'not being able to recieve MMS messages' thing is an interesting issue and 
not
somthing I had thought of before.  I have been working on refacting a lot of how
Mobbler deals with its data connection and it should now not be too difficult to
timeout and disconnect after a number of seconds and reconnect whenever the
connection is needed again.

There are a few issues with doing this, but it is something I will keep in mind.

Original comment by eartle@gmail.com on 3 Feb 2009 at 6:57

GoogleCodeExporter commented 8 years ago
Nokia Energy Profiler is the app you're thinking of:

http://www.forum.nokia.com/info/sw.nokia.com/id/324866e9-0460-4fa4-ac53-01f0c392
d40f/
Nokia_Energy_Profiler.html

http://www.forum.nokia.com/Resources_and_Information/Explore/
Development_Process_and_User_Experience/Power_Management/
Nokia_Energy_Profiler_Quick_Start.xhtml

Some more power tips:

http://www.forum.nokia.com/Resources_and_Information/Explore/
Development_Process_and_User_Experience/Power_Management/

Original comment by hugovk@gmail.com on 3 Feb 2009 at 10:44

GoogleCodeExporter commented 8 years ago
Great, I'm looking forward for the next version, when the data connection 
routines
are improved.

In fact today I observed that it is not exactly the case, that MMS can't get 
trough
at all. I have been receiving a MMS while Mobbler was online and scrobbling. 
But when
I later tried to open the Internet browser (Mobbler still online), I got this 
error
message from the phone:
"Too many active data connections. Close a connection to continue."
(Next was an error message from the browser: "Unable to open data connection" or
likewise.)

Meaning that S60 phones are very well able to have multiple open data 
connections,
but the number is limited, and programs must use data connections sparingly.

Original comment by gregorw....@gmail.com on 5 Feb 2009 at 1:30

GoogleCodeExporter commented 8 years ago
Update: Mobbler 0.4.5 still can occupy all data connection capabilities on my 
phone. 
(Samsung i550, S60 3rd Edition)

Once again, the phone asked me if I would like to close an open internet 
connction 
to receive a waiting MMS. When I say "yes", a list of open connections is 
displayed, 
and it was only one connection by Mobbler. (I was using Mobbler for scrobbling 
only 
at that time.)

I guess, this issue is rather wicked, because Mobbler does not always clog the 
data 
connections. As I mentioned, I also have received MMS, and I also have used 
other 
programs accessing the internet _while_ Mobbler was online.

Original comment by gregorw....@gmail.com on 1 May 2009 at 10:54

GoogleCodeExporter commented 8 years ago

Original comment by hugovk@gmail.com on 20 Jul 2009 at 1:02

GoogleCodeExporter commented 8 years ago
Another idea on the same topic: mobbler could make a schedule for scrobbling... 
Like queue songs and then scrobble when 5 or 10 items are queued.
Would save more battery than opening a connection each 4 minutes (for each song 
listened).

Original comment by igorsant...@gmail.com on 4 Oct 2010 at 2:36