BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 06-26-2008, 04:17 AM   #1
sunnan
Thumbs Must Hurt
 
Join Date: Nov 2007
Model: 8100
PIN: N/A
Carrier: vodafone
Posts: 61
Default BatteryDrain during Background application

Please Login to Remove!

hi there,
it may seem like a strange question. but i couldnt make it out the actual reason why?

I'm developing an application in which i implemented a systemlistener which starts when i set the application to Background ....as soon as i set the application to background my battery gets drained soon ....some one plz help me to fix my issue....
Offline  
Old 06-26-2008, 04:49 AM   #2
irlennard
Knows Where the Search Button Is
 
irlennard's Avatar
 
Join Date: Jan 2008
Location: Berlin
Model: 9000
Carrier: T-Mobile
Posts: 32
Default

Well, what events are you listening for? And what are you doing when you receive them? If you're doing a lot of processing then, sure, you battery will get drained. Maybe post your code?

-- Ian

Last edited by irlennard; 06-26-2008 at 04:53 AM..
Offline  
Old 06-26-2008, 05:00 AM   #3
sunnan
Thumbs Must Hurt
 
Join Date: Nov 2007
Model: 8100
PIN: N/A
Carrier: vodafone
Posts: 61
Default

well am listening mail from a particular contact and once i get i send an autoreply to particular contact through mail (background process)..everything works but the problem is my battery gets drained soon.....
Offline  
Old 06-26-2008, 05:57 AM   #4
simon.hain
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Default

do you just add a folderlistener and wait to be called? or do you do something else?
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 06-26-2008, 06:34 AM   #5
sunnan
Thumbs Must Hurt
 
Join Date: Nov 2007
Model: 8100
PIN: N/A
Carrier: vodafone
Posts: 61
Default

just added a folder listener for getting mail and implemented another infinity loop for getting incoming sms and am trying to lock my keypad using systemlistener....
Offline  
Old 06-26-2008, 06:41 AM   #6
Dawg
No longer Registered.
 
Dawg's Avatar
 
Join Date: Mar 2005
Location: Atlanta
Model: 8330
OS: 4.5.0.138
PIN: 31a6c9c9
Carrier: Verizon BIS
Posts: 13,962
Default

anything running in the background is going to drain your battery quickly. Especially if you have something like BBlight ruuning and have it set to have the light stay on during user activity. I get about 3/4 of a day out of my curve this is due to me forgetting to close stuff out or having stuff running in the back ground.
Offline  
Old 06-30-2008, 01:20 AM   #7
shraddha294
Thumbs Must Hurt
 
shraddha294's Avatar
 
Join Date: Oct 2007
Location: Hyderabad
Model: 8800
PIN: N/A
Carrier: TMobile
Posts: 111
Default

Are you also having the bluetooth on?
Offline  
Old 06-30-2008, 01:32 AM   #8
sunnan
Thumbs Must Hurt
 
Join Date: Nov 2007
Model: 8100
PIN: N/A
Carrier: vodafone
Posts: 61
Default

no..its off only
Offline  
Old 06-30-2008, 08:40 AM   #9
MBW
Talking BlackBerry Encyclopedia
 
MBW's Avatar
 
Join Date: May 2008
Model: 8110
PIN: N/A
Carrier: AT&T
Posts: 393
Default

What about less frequently polling the folder?
__________________
/\/\\/\/
Offline  
Old 07-08-2008, 06:05 AM   #10
shraddha294
Thumbs Must Hurt
 
shraddha294's Avatar
 
Join Date: Oct 2007
Location: Hyderabad
Model: 8800
PIN: N/A
Carrier: TMobile
Posts: 111
Default

Did u get this sorted out Sunnan? ?
It would be interesting know what was the problem ?
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


REPLACEMENT LCD FOR SAMSUNG DISPLAY UNIT DBM-091 PLEASE READ DESCRIPTION picture

REPLACEMENT LCD FOR SAMSUNG DISPLAY UNIT DBM-091 PLEASE READ DESCRIPTION

$479.97



Samsung MX55 Final Drive Motor.  MPN: 7115-15000 picture

Samsung MX55 Final Drive Motor. MPN: 7115-15000

$2100.00



SAMSUNG Mini ER7 Stainless Steel Biopsy Needle Guide, Warranty: 12months picture

SAMSUNG Mini ER7 Stainless Steel Biopsy Needle Guide, Warranty: 12months

$595.50



Genuine SAMSUNG Range Oven Relay Board DG92-01207D picture

Genuine SAMSUNG Range Oven Relay Board DG92-01207D

$99.95



Samsung, KM2816A-25, Integrated Circuit, New, Lot of 15 picture

Samsung, KM2816A-25, Integrated Circuit, New, Lot of 15

$225.00



Samsung, PT212ATP, Integrated Circuit, New, Lot of 13 picture

Samsung, PT212ATP, Integrated Circuit, New, Lot of 13

$195.00







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.