11-10-2010 12:11 PM
I've been working on a very power hungry Radio-Over-IP (RoIP) BB app for nearly a year now:
We are well aware that the app can burn through a full battery in less than 12 hours.
We joke that it makes for a good pocket warmer in cold climates!
The battery drains regardless of any audio activity, mostly we think because of the current design that holds open a constant TCP socket (we are working on that).
One of my co-workers mentioned to me the other day that his BB runs for *days* w/ the app running.
At first we thought he was crazy, but then we found out that he holsters his BB most of the time.
Last night we ran an experiment and started the app and holstered the BB and let it sit over night.
While in the holster the app receives and plays audio activity as we want.
This morning the device was still at nearly 100% battery!
Better yet, it was still able to receive and play the audio activity.
That's amazing! I could swear I used to manually standby my phone and would still only get ~12 hours of runtime. Why does standby mode in the holster make such a big difference?
*Requiring* our customers to use a holster to reasonable battery life seems a little silly, and surely many customers would forget to holster their devices and still complain about battery life.
Is there a software API that can be called (ex: after a certain period of idle time) to induce the holstered standby mode?
Windows Mobile devices have excessively granular power management APIs that can be used to put the device's peripherals in various off/low/full/etc power states:
Is there a similar concept of granular levels of power management in the BB?
11-11-2010 01:41 AM
Unfortunately no, you can get alerted to it being holstered.
The "keep TCP socket open" would be the cause. I can watch multiple videos, listen to music, play games, etc. and still have 90+ % of my battery life but the instant I go to make a phone call, txt, email, or run an app with networking capability the life can drop by as much as 10%.
It would be interesting to hear what could cause the battery to stay charged (I'm making the assumption that the holster doesn't charge the battery) because it could be a viable way to keep some apps from killing battery life.
11-13-2010 01:02 PM
Thanks for the replies.
The holster doesn't charge the device, it is just the leather pouch that came w/ the device w/ the magnet embedded that puts the device in to a sleep mode when inserted.
When the device is put in the holster it actively runs for days (going on nearly 72 hours) with the TCP socket open, connected, and maintaining a PING every 30 seconds.
When the device is not holstered, but locked with the screen off, the same app dies in 12 hours.
No, I don't think the screen is the issue because the screen *looks* to be turned off even when unholstered but locked.
It is possible there is a huge power difference between the screen being dimmed in locked mode and perhaps being completely powered down when holstered...that's just a theory.
I also don't buy that it is the TCP socket being open, because the device has proven that in holster mode that it can hold a TCP socket open for 72+ hours.
My company is an alliance partner w/ RIM, so we are also pinging the big-dogs there asking for some more insight in to our recent battery life observation.
11-14-2010 10:38 AM
Over the air (3G) is a battery kill. My VoIP can run on days on standby over wifi. The VoIP protocal needs to be changed a bit for true mobile and it is not difficult.
11-14-2010 10:41 AM