Android : Minimize Battery Drain In A Heavy Service
Jan 5, 2010
I will create a service to do something when some hot situation occurs.
By hot situation I mean:
the GPS/cell coordinates are in known zone;
known Bluetooth device detected;
known Wi-Fi network detected;
weather info has change;
considerable movement speed change detected: eg. from walking to travel by car.
As you see these tasks are heavy, and will be run frequently. 15 mins, but sometimes even more, when I have to detect the movement speed of the device.
The question I have, will this drain the battery heavily?
If so, what recommendations do you have to minimize battery drain with the above tasks?
View 2 Replies
Sep 16, 2013
What is weird to me is that on the closeup line graph the second half plummets much faster than the first half. But at the same time, the second half doesn't nearly have as many wakelocks (as indicated by the "Awake" bar being basically completely empty during that time.
What the mobile network colours represent but I never had this problem previously with it on all the time so this shouldn't be an issue. GPS is always on. Again, this was never an issue until supposedly now so this also shouldn't be an issue.
Now, the four big drainers are Cell Standby, Android System, Google Services, and Android OS. Cell Standby I know is due to a missplaced decimal point in the framework, so I know that's just false battery recording. Android System I don't have a clue what the problem is, I read somewhere it might have to deal with wakelocks. But it won't tell me what process exactly is causing battery drain. Google Services are well, google services. I don't know what are classified as google services exactly (like this was never a problem before..), and finally Android OS. Again, the battery statistics thing isn't nearly specific enough.
View 4 Replies
View Related
Jun 7, 2010
I started a new job today, the training room somehow manages to get no service. My phone died in about 7 hours, I used it for about 10 mins total.
All weekend I got much better results, with it coming in and out of service do you think it's draining it faster? Only thing I had turned on was gps location. I would like to keep it on so I don't have to power it up on breaks and wait for any missed messages to come through.
View 6 Replies
View Related
Sep 28, 2010
According to a forum post on Android Central, the Sprint Epic 4G has been experiencing battery drain due to a DRM service running in the background that the Captivate also has. They say, kill the service, save your battery:
View 4 Replies
View Related
Aug 25, 2010
I've had an ongoing struggle with my X's battery life, from day 1 with 2 different standard batteries to try until now with the extended battery.
I've tried it all and thensome and nothing has majorly improved my battery life. I won't go into number of hours I get or usage details or anything, but I have a question I cannot seem to find any solution to.
I noticed after I updated to leaked 2.2 Froyo that very often the 3g up and download arrows are both lit up and basically never turn off. After a few days of trying to figure out what it was (and using Juice Defender in the meantime to shut data off except for 15 min intervals), I think I've figured out what is causing the 3g data to often constantly be transmitting.
I went into the Battery History screen, left it set to "Since last unplugged" and went to "Network usage". In here, the bar for "UID 10012" is very high, almost all blue. Every time I exit the menu and go back into to re-check those data numbers, they are always increased after only seconds while the 3g data symbol is active.
Inside of the details for that are several built-in system app names. I tried stopping a few of these through the Applications menu of the phone where you can stop services/apps.
I finally have force stopped one (has worked several times now) that has stopped the 3g data instantly every time.
This one is "Social Messaging Service".
Every time I click the "Force stop" button within that app's info page in the Application settings of the phone, the 3g data arrows stop lighting up instantly.
Is this app related only to the Social Networking built-in app (which I don't use/need)? Is it tied to other things? Is there a downside to me stopping this?
I can't seem to keep it stopped and it seems to cause this 3g data issue every day at some time (multiple times usually - seems to happen again a few hours after I've stopped it). I think it is attributing to my sometimes bad battery life.
How can I stop this ongoing Social Messaging "bug" battery drain?
View 9 Replies
View Related
Aug 3, 2010
Is there any way to disable this app and keep it from restarting?? It is a serious battery killer. I go into the "running apps" menu and kill it, but it soon starts back up. Can I uninstall this? Or isit one that came with the telephone and can't be removedunless rooted?
PHP Code:
View 1 Replies
View Related
Mar 5, 2010
Hope this hasn't been asked already, but here goes. When I had my G1 occasionally i would find a few apps running in the background needlessly, and would close them down. With the Nexus One every time i check, there is at least 15-20 apps running that dont need to be. Is there a way to minimize this to conserve battery?
View 2 Replies
View Related
May 7, 2010
I have a Motorola Milestone with Android 2.1. I'd like an app which shows the battery level in the notification bar. Nothing fancy, no estimation of remaining battery life nor fancy eye candy. If it can show a more precise reading than the Milestone built-in one, which only decreases in 10% intervals, fine, but only if this isn't a drain on the battery. I know there are several such apps, but which do you think is the best for my needs? There are so many it's hard to try them all and choose. I just want something basic and simple which doesn't drain the battery. I tried "battery indicator" and "battery status pro"; they both do what I need, but I'm afraid they might be an additional drain on the battery.
View 18 Replies
View Related
Sep 24, 2010
Many of us have experienced some battery life fall out since the last update. I mentioned this in the battery life thread but I thought it deserved it own topic. I have an app that I downloaded called battery status. it has a battery history. and it says time without sleeping 7h 10m 25s ago. Thats exactally when I unplugged my phone. This explains why I am seeing 2-3% per hour loss while not using the phone and while in airplane mode. Before the update I could keep the phone in airplane mode, not usre it, and leave work with over 94% battery life. So this proves that somehow the phone is not going into sleep mode... I can guarantee that everyone else in that is experiencing battery drain since the sept 16th update is due to this reason. The question is... why the hell is this happening and why won't the phone go into sleep mode?
View 8 Replies
View Related
Oct 14, 2010
Has anyone noticed an increase in battey drain while using the Lookout Mobile Security app? I noticed my battery drain was a little higher than usual today. I also have an app called battery indicator installed and was wondering if those apps cause higher battery drain also?
View 2 Replies
View Related
Nov 13, 2010
Rooted Droid 1, running LFY 1.9 with it's 1ghz kernel, SPRecovery. Had a weird issue recently; the phone displayed that my battery life was at 40%, then probably ~30 minutes later it was down to 20%. I wasn't using it during that time, I just unlocked the screen to check something. Anyway, I opened my browser and within a minute or two I got the "15% battery life remaining" message, prompting me to connect my charger. I decided I would allow the phone to just die and shut itself down. So I waited ~45 minutes and it went down to 10%, then almost immediately to 5%. I turned on the GPS just to make it drain faster... I watched a one-hour television show and when it was over, I glanced over to the phone to see if it had died - nope, still on. I turned the LED light on, leaving the GPS running for ~25 minutes and it finally powered down. Then I plugged it in to charge and left the room. Came back in about 2.5 hours later and picked up the phone - it was very hot. Unlocked the screen and checked SetCPU and it was running ~135?F but it immediately started cooling down. It was fully charged, however so I unplugged it. I went to bed shortly thereafter and the battery life displayed 90% as I set the alarm to wake me up the next morning. I happened to wake up shortly before the alarm was set to go off and I picked up the phone to disable the alarm and noticed the red 'charge me' light blinking - unlocked the screen to see 5% and just then it powered itself down.
TL;DR -- Phone only got hot that one time, phone hasn't gone dead in stand-by mode again like it did that night. Battery drains at a seemingly normal rate based on my regular use from 100% down to 40%, then it rapidly drains after that, always skipping 30% and when it gets down to 5% it stays alive for quite a long time under heavy load. Is there a way to 'teach' the phone how to check and calculate actual and remaining battery % and to display it correctly? Is it kernel-related? I heard somewhere about doing a 'battery wipe' but I am unsure what that entails and searches are proving fruitless for me so far.
View 9 Replies
View Related
Aug 12, 2010
does battery status pro drain your battery life?
View 2 Replies
View Related
Jul 21, 2010
I've read conflicting reports on what eBuddy does to your battery. Some people say it has very minimal battery drain, and others say it's a battery hog.?
View 4 Replies
View Related
Aug 27, 2010
after i applied the one click galaxy s lag fix on my phone it is much faster and i my quadrant score jumped from 800 to 2200 but now there is a noticeable battery drain on my captivate as it now doesnt make it through the day without dying after a full nights charge. does this happen to anyone else and is there anything i can do to prevent this?
View 1 Replies
View Related
Aug 12, 2010
Ive currently installed 3g watchdog and droid stats. Im worried one of them is draining my battery but they are essential to me. Ive also seen there are a few more:
Stats
Tariff Watcher
Call Meter NG
What do you guys recommend out of the 5 i have mentioned? Are you using any and extremely happy? Has anyone else experienced battery drain with any of them
View 6 Replies
View Related
Dec 13, 2013
My Nexus 5 crapped out on me today. I was using it when it suddenly restarted and began an infinite loop of load screen, saying its updating, than stating "Unfortunatly the process com.google.process.gapps has stopped."
I attempted a wipe/system reset several times but it shows the same "failed to mount" error each time.
Can I flash it via my pc?
See error messages:
View 24 Replies
View Related
Jul 9, 2010
Has anyone installed/used "Tweetcaster"? Does it seem to drain the battery faster than normal? I had a blackberry and found that ubertwitter just killed the battery life, i was wondering if tweetcaster did the same. i loaded it this morning and it appears to be a battery drain, just curious
View 1 Replies
View Related
Jun 9, 2010
What apps actually drain battery life?Im curious about the gmail and regular mail, and ECOBUZZ app?What's the best app I can download that will tell how much power an app is using?
View 5 Replies
View Related
Nov 8, 2010
I just purchased an HTC Desire Z a few days ago and one of the first apps that I have downloaded is MSNTalk since I do a lot of messaging on MSN Messenger. I leave this app on all the time and I feel that it drains my battery considerably.
I've gone through the basic "conserve your battery" steps that many people have mentioned (i.e. no wi-fi, low backlight, increase email sync time, download only headers, kill running apps that are doing nothing, etc, etc.). However, my battery does not last more than 22-23 hours.
This 22-23 hours is with extreme minimal usage since I wanted to test the idle life on the phone. 22-23 hours of battery life without much use is quite bad imo, especially with the steps taken above to try and conserve more battery. The only thing I haven't tried yet is completely turning off MSNTalk and then testing how long the battery lasts. As we speak, my phone is charging and when it is at full battery life I will see if MSNTalk was indeed the culprit here.
Also, with MSNTalk on during the 22-23 hours the amount of data usage was around 8-9 MB/day. I think this is fairly high as well. This means the 3G was being used constantly.
I'd just like to know if anyone else has used MSNTalk and found the same issues with the battery life.
If it is indeed MSNTalk, does anyone have any suggestions on a good MSN IM app that is very good on the battery (i.e. BeeJive, EBuddy, etc)? For example, my friend uses BeeJive on his iPhone and it doesn't have the same battery issues as I do (he can easily go over a day).
View 1 Replies
View Related
Jan 12, 2013
does Android Firewall [URL] .....
has any battery drain ? I would like to block access to internet to some of my apps, but i read somewhere that LBE and other firewall like that is draining battery ..
View 7 Replies
View Related
Jun 5, 2010
I want to make (yet another) news widget. Initially I thought it was enough to: 1. Download all the news articles 2. Update the widget every 5 seconds to change the currently displayed article using Alarm Manager (Alarm Manager.RTC) 3. Update the widget every 30-60 minutes to get new articles. This worked great on the first try but battery was quickly drained. I checked the logs and it turned out that the widget did the 5 second updates even if the screen was off. This was a surprise to me since the docs states: "..set an alarm with an Intent that your AppWidgetProvider receives, using the Alarm Manager. Set the alarm type to either ELAPSED_REAL TIME or RTC, which will only deliver the alarm when the device is awake. " I guess the device is considered "awake" even if screen is off? I found the same issue here: http://groups.google.com/group/android-developers/browse_thread/threa. I then checked the standard news widget and the other news widgets most popular on the Android Market and I see that they have services running all the time. Maybe because they want to handle the broadcast event when the screen is turned off? So is this really the best solution to have a service running in the background? So if someone downloads 10 different news widgets from different companies they end up with a list of 10 services in the "Running services" list?
View 6 Replies
View Related
Jan 17, 2014
Battery is draining quickly on galaxy s4 when idle. On battery usage it shows android os using 33%. I don't know how to show a pic on my phone so I cant show the graph.
View 2 Replies
View Related
May 10, 2013
Does having sync on for calender drain a lot of battery android ?
GT-I9505
View 2 Replies
View Related
Jul 26, 2013
For the last 5 days I am experiencing extreme battery drainage(Android OS nearly 100% Battery Usage ). Back when it began I did not install anything suspicious or battery consuming software. I never go full screen brightness, and all unnecessary apps are either deleted or disabled. I have tried Factory Resetting, Wiping all possible caches, systems, internal/external SD cards. I even tried manually deleting all folders from my PC. I have tried installing custom kernels, roots and even stock ROM. Right now I'm with stock ROM with CF root.
Phone state: Model number- GT-i9100; Android 4.0.3; Baseband v. i9100XXLPS, Kernel v. 3.0.15-i9100XXLPQ-CL223505 se,infra@SEP-94 #3; Built number IML74K.XWLP7. And here is what I get from the battery report :
i41.tinypic(dot)com/1j9nae.png
I have tried full discharge and charge to 100% and calibration. Even cleared the battery stats It just doesn't work. I am using Nova Launcher. Even after going back to TwLauncher I am still getting 98% Android OS usage. I don't use Data Mode and Wi-Fi isn't always on. When charged and calibrated at 100% at 21:00pm, in the morning at 9:00am phone battery is completely empty and shut down.
I'd like to use the stock ROM, with a nice battery stable kernel & still with Nova Launcher. NOTE: This is still happening with a NEW battery.
View 1 Replies
View Related
Jan 11, 2013
I'm having problem with my Nexus 7. I have Android 4.2.1 on it. I've been using it for about a week now and every night i would turn it off, but in the last few nights, i decided to leave it on sleep mode to see how the battery life was.
On the google site, it says that the Nexus 7 should have 300 hours of standby. Is that the same as 300 hours of sleep? Because when I left my Nexus 7 on overnight, it drained from 55% to 33% in about 8 hours. That doesnt seem like 300 hours to me.
Also, I've tested it again, started at 100%, no wifi, no gps, no apps running in background, no syncing, in sleep mode, and it's draining at about 2% and hour. I've read on this forum that people have been getting like 2% every 8 hours on sleep, or even overnight. I've never used 4.1.1 so I dont have anything to compare it too. Does the 300 hour standby time mean powered off Nexus?
View 2 Replies
View Related
Sep 27, 2013
There is a known issue on Android 4.2.2 with excessive battery drain with Google Services when Wi-Fi & mobile network location is enabled. Does Android 4.3 resolves this? I can't believe that Google will not use Standalone GPS services if Wi-Fi & mobile network location is disabled. So, the only way to use Maps is to put the phone in excessive battery drain mode.
View 6 Replies
View Related
Oct 18, 2013
on my Nexus 4, it seems like the location is checked quite frequently by the phone, even if I'm not using an app that needs location, and even if the screen is off.
I don't want to turn off the Location Services, I just want my location to be obtained when I use Maps.
Anyway I can do that? I have already turned off location for Facebook and other annoying apps using App Ops. I basically don't want my location to be obtained when the screen is off.
View 2 Replies
View Related
Feb 13, 2014
Ok so for some reason my battery just started going dead faster than normal. This is a slow days use but look at the attached pic
View 8 Replies
View Related
Dec 15, 2012
I had a Samsung Nexus S which started to have this strange Android OS battery drain some weeks before the OTA ICS came in. I read thousands of forum posts to try tons of stuff to solve the problem without any success.
I then decided three weeks ago that it's obviously time to get a new phone so that I bought the Galaxy SIII (int). Strangely I still have great problems with my battery life which brought me here to ask some pros now.
Phone: Samsung Galaxy SIII (int)
ROM: StockROM (4.1.1) and CM10 Nightly
Carrier: German E-Plus
What is the most noticeable about the battery drain is, that it appears in standby (over night) in both ROMs, Stock and CM10 likewise with some minor differences. In 10h standby (Wifi on, Bluetooth, GPS, NFC all off, only few widgets, AquaMail on push) battery goes down from 100% to 70%.
After all, I tested both ROMs in the same situation over night and the bettery drain is pretty comparable (see the screenshots).
What I already tried (in both ROMs):
- disable all Google Maps autostarts and disable all location services
- disable apps like Gtalk, G+ etc.
- uninstall AquaMail
without any effect on the standby battery drain...
View 9 Replies
View Related
Jul 16, 2010
On a road trip rght now from buffalo to dc will using a car charger with my evo ruin my battery life I know my old phone did
View 20 Replies
View Related