App Battery Drain Question - General Questions and Answers

So I have an app where when I press the home button of the phone, it drains battery in the background even without being used or even if the phone is locked. It doesn't cause wake locks, instead it seems to be accessing the GPS constantly in the background. Any ideas where I would look for the issue of the app to fix it?

Related

An app to log GPS usage?

I used to like keeping gps on even if I'm not using it, so that in case my phone gets lost or stolen, I can track it down. But sometimes I check my home screen and see that gps is active (the icon in the notification bar) although I'm not running any apps (even in the background) that would require a gps fix.
So my question is, is there an app out there (or is it possible to develop such an app) that would keep logs of what apps or services are using the gps, so that I can track down the app using it?
It would also be useful to find out if there are any apps 'calling home' without my knowledge, and draining my battery in the process.
So..any suggestions???
Just a shameless bump...come on, no one has heard of such an app or thinks it would be useful??

[Q] How do you make the battery life better on this

I have to charge my phone 2 or 3 times a day any recommendations on how to make my battery life longer that are simple and easy
Jawdude said:
I have to charge my phone 2 or 3 times a day any recommendations on how to make my battery life longer that are simple and easy
Click to expand...
Click to collapse
I'm a truck driver and I'm a heavy user.
I did too before I made the changes below. These all work with the Stock Rom.
1. Installed No Lock (so that I don't have to swipe the screen to unlock, just push the power button)
2. Set screen to turn off in 30 seconds.
3. Installed Brightness Widget (allows changing the brightness from the home screen
4. Installed Screen Filter (lets me really darken my screen at night.
Try those and see how you do.
5. I then flashed the Infused Rom (I now get up to 10-14 hours)
Jawdude said:
I have to charge my phone 2 or 3 times a day any recommendations on how to make my battery life longer that are simple and easy
Click to expand...
Click to collapse
Custom kernal and rom
Running refused and infusion 1.8 rom and I get 14 hours with heavy data use
Sent from my SAMSUNG-SGH-I997 using XDA Premium App
Also, Turn off GPS and Wifi when you're not using them.
Battery
After much experimenting and monitoring of battery use I find that the biggest drain is the screen display, so go to settings-->display-->brightness and lower the screen brightness as low as you comfortably can. Also when you you are not using the phone make sure the screen is off, I have trained myself to automatically hit the power button every time I put down the phone. If you listen to music through your phone make sure the settings on your music players allow the phone to play when the screen is off and turn the screen off while it plays.
GPS also drains the battery, so I keep it turned off when I don't use the Nav. When I use the Nav I know the battery will drain at a rapid pace, nothing you can do there, even if I have the phone plugged in to car power while using Nav it still drains the battery! Drains slower than unplugged navigating but still drains.
If your watching videos then your S.O.L. there's really nothing you can do that will increase battery life enough to make a difference during video playback.
I get 10-12 hours with regular use and stock rom. Worst was 8 hours best was 24.
Thanks for all the advice this has really helped my battery
Truckerglenn said:
I'm a truck driver and I'm a heavy user.
3. Installed Brightness Widget (allows changing the brightness from the home screen
There was a recent post that showed a shortcut for changing the screen brightness from the homescreen without any additional software. First, turn off auto brightness. Second, tap and hold the menu bar at the top. Third, slide left to reduce the screen brightness and right to increase screen brightness.
Click to expand...
Click to collapse
menzoom said:
After much experimenting and monitoring of battery use I find that the biggest drain is the screen display, so go to settings-->display-->brightness and lower the screen brightness as low as you comfortably can. Also when you you are not using the phone make sure the screen is off, I have trained myself to automatically hit the power button every time I put down the phone. If you listen to music through your phone make sure the settings on your music players allow the phone to play when the screen is off and turn the screen off while it plays.
GPS also drains the battery, so I keep it turned off when I don't use the Nav. When I use the Nav I know the battery will drain at a rapid pace, nothing you can do there, even if I have the phone plugged in to car power while using Nav it still drains the battery! Drains slower than unplugged navigating but still drains.
If your watching videos then your S.O.L. there's really nothing you can do that will increase battery life enough to make a difference during video playback.
I get 10-12 hours with regular use and stock rom. Worst was 8 hours best was 24.
Click to expand...
Click to collapse
How does it drain your battery when its plugged into the car? I have never seen that on any cell phone. That my friend is messed up if true.
reissy said:
How does it drain your battery when its plugged into the car? I have never seen that on any cell phone. That my friend is messed up if true.
Click to expand...
Click to collapse
It seems that Samsung ****ed up and included phone CPU/screen/etc usage when measuring battery charge current.
This means that the 600 mA stock battery charge current limit isn't just going to the battery, it's split between battery/screen/CPU. If screen/CPU/etc go above 600 mA (Navigation at full brightness seems to be the most common way), battery starts draining.
It also means that unless there's something I'm missing (which I could be since the MAX8998 datasheet is super-ultra-secret), our phone isn't going to be able to do proper charge termination - if the screen is on/CPU is running, it will cause a falsely high battery charge current reading, which will cause charging to fail to terminate.
Juice defender
I found that juice defender helped my battery and i just use the free version it's a great app
I used Iphone 3g 3gs 4. None of them drain battery like this one. First time use Android phone and getting a bit disappointed of this phone. It's draining 2% every 5 mins and im using stock Rom.
Sent from my SAMSUNG-SGH-I997 using XDA App
Install a ROM. Infused v2 nearly doubled my screen-on battery life and tripled my screen-off battery life.
sweetboy02125 said:
I used Iphone 3g 3gs 4. None of them drain battery like this one. First time use Android phone and getting a bit disappointed of this phone. It's draining 2% every 5 mins and im using stock Rom.
Sent from my SAMSUNG-SGH-I997 using XDA App
Click to expand...
Click to collapse
That's excessive... Rogue app maybe?
ptgptg said:
Truckerglenn said:
I'm a truck driver and I'm a heavy user.
3. Installed Brightness Widget (allows changing the brightness from the home screen
There was a recent post that showed a shortcut for changing the screen brightness from the homescreen without any additional software. First, turn off auto brightness. Second, tap and hold the menu bar at the top. Third, slide left to reduce the screen brightness and right to increase screen brightness.
Click to expand...
Click to collapse
Thanks I never new that
Sent from my SAMSUNG-SGH-I997R using XDA Premium App
Click to expand...
Click to collapse
look in about phone battery use to identify the biggest battery user, it should be the screen. anything else and there is a problem.
the cell standby may go high on froyo rom, turning on flight mode and turning it off will correct that, it's an android bug.
on gingerbread the android os or android system may hog battery occasionally. some think it is the wifi sleep policy but it pops up on me without setting the sleep policy. the fix for that is to pull the battery for a couple minutes and put it back in and restart the phone.
next manage the screen brightness
install a custom rom, there are issues with certain firmware keeping sensors active wen they shouldn't be.
turn off unneeded sync options (i find that auto fetching my email uses a lot especially with my gmail already set to sync),
use wifi when you use the internet if possible, turn it off when out and about.
monitor cpu useage of apps that are cached in the task manager
kill apps that use cpu
if needed turn the max cpu clock down to 800mhz
set "use wireless networks" for location when possible for general location (limited to city level at times)
Dani897 said:
look in about phone battery use to identify the biggest battery user, it should be the screen. anything else and there is a problem.
the cell standby may go high on froyo rom, turning on flight mode and turning it off will correct that, it's an android bug.
on gingerbread the android os or android system may hog battery occasionally. some think it is the wifi sleep policy but it pops up on me without setting the sleep policy. the fix for that is to pull the battery for a couple minutes and put it back in and restart the phone.
next manage the screen brightness
install a custom rom, there are issues with certain firmware keeping sensors active wen they shouldn't be.
turn off unneeded sync options (i find that auto fetching my email uses a lot especially with my gmail already set to sync),
use wifi when you use the internet if possible, turn it off when out and about.
monitor cpu useage of apps that are cached in the task manager
kill apps that use cpu
if needed turn the max cpu clock down to 800mhz
set "use wireless networks" for location when possible for general location (limited to city level at times)
Click to expand...
Click to collapse
Actually, high cell standby is OK if the phone is screen-off often.
Cell standby is always my top user - but my phone is sitting on my desk with the screen off frequently, in a location with weak signal. Weak signal makes cell standby usage go WAY up.
Syncwifi application is awesome for extending sync settings to gain more battery
Sent from my SAMSUNG-SGH-I997 using XDA Premium App
Using titanium backup I froze drm content 2.2.1 and this significantly increased my battery life.
Sent from my Infuse. It is what it isn't.
JuiceDefender!!
I agree JuiceDefender works!! I had to charge in the middle of the day. Now with moderate use it will last all day Im on stock Rom.
I easily get 2 days out of my Infuse, no idea how some of you are managing to only get 8 hours. After rooting my phone and freezing the bloat i easily get twice the battery life of my prior iPhone 3GS.

[Q] Android System = 49% of overall usage?

Just yesterday I noticed that my battery was draining crazy quick while it was in sleep mode. I don't have any background syncing going on other than auto-update for a weather widget once an hour along with the core Google things like contacts, email, calendar, etc.
Usually the screen has been the largest contributor to draining of the battery and via betterbatterystats, there's no abnormal wakes going on.
I did a reset of the phone and I've now disabled 'Data Network Mode' as I'm primarily on Wifi right now. It seems to have fixed itself so far but I'll know better tonight.
Is this a conflict within the OS itself (rooted on Infused V2.1.0) or something from having 4G enabled when I'm in an area where I typically only get 1 bar? Either way, it's a huge draw on my battery...
From what I've heard/read this is a random bug caused by gb, not common at all but ocassionaly android os will go nuts and suck down your battery. Resolutions I've seen posted have just been power off, remove battery, re-insert battery, power up = issues reoslved.
Kadin said:
Just yesterday I noticed that my battery was draining crazy quick while it was in sleep mode. I don't have any background syncing going on other than auto-update for a weather widget once an hour along with the core Google things like contacts, email, calendar, etc.
Usually the screen has been the largest contributor to draining of the battery and via betterbatterystats, there's no abnormal wakes going on.
I did a reset of the phone and I've now disabled 'Data Network Mode' as I'm primarily on Wifi right now. It seems to have fixed itself so far but I'll know better tonight.
Is this a conflict within the OS itself (rooted on Infused V2.1.0) or something from having 4G enabled when I'm in an area where I typically only get 1 bar? Either way, it's a huge draw on my battery...
Click to expand...
Click to collapse
Hmm, I would say try the battery-pull method first. If that doesn't fix it, maybe try flashing back to stock via ODIN and then re-flash Infused? Just an idea.

"Best" battery saver program?

Been trying to squeeze out some battery life on my S4 running goldfinger kitkat ROM. No matter what I do, I seem to get a bunch of wakelocks, radio/wifi turning on, etc. What I would like is to be able to totally disable everything when the screen is off (with the exception of incoming calls/texts) and then sync when I wake the device up. I'd also like to have a whitelist for apps like slacker/pandora/music. I've tried wakelock detector, greenify, and DS battery saver (these are the ones I've found most useful). Of the three, DS battery saver seems to be the best at shutting everything down, but doesn't have a whitelist feature, and requires a reboot to toggle. Greenify and wakelock detector require you to know which apps are waking your device. This is OK for the big culprits on my device (FB, google play, exchange services), but I still get random wifi/gps/other wakeups. This is likely just the result of having a bunch of apps that want to phone home, even if each of them does it rarely. Again, it would be nice if they could all do it at once. Any solutions?
you can use greenify, it can turn off apps when your phone is off.
Please let me know if you find such app. For now I'm using Greenify, Wakelock Detector and for some time a new Xposed module: Unbounce.
A little more experimenting. Seems that DS battery saver is the best for what I want, which is a sleeping phone except when I'm using it. All the other apps require that I put a certain app to sleep, rather than have everything asleep by default. My phone then gets random wakes, even though there isn't any one single misbehaving app that I can find. DS saver can be turned off temporarily through the notification bar for when I'm using music services in the background without rebooting. Using DS battery saver on "aggressive", I average about 0.6% drop/hour, with 3 minutes awake time/hour. I think that's OK, but not sure if I can do better (like no awake time/hour). I'm wondering if the awake time is just due to cellular traffic. Hmm, maybe I'll see what it looks like in airplane mode.

[Q] How to fix battery life on nexus 4!?

My battery life is so bad, my battery drains in 6 hours even if im not using it. is there any way to fix this? i currently do all the following: use low screen brightness
turn off google now
turn off gps location
only sync stuff you really use, turn other syncs off (i have just gmail,contacts,browser synced)
turn off nfc if not using
make sure to use the open recent apps button and swipe away all apps when putting the phone down for a while
ive even tried calibrating my phone by using apps and letting it die completely and turning it back on when fully charged. Someone please help !!!!
vinesh789 said:
My battery life is so bad, my battery drains in 6 hours even if im not using it. is there any way to fix this? i currently do all the following: use low screen brightness
turn off google now
turn off gps location
only sync stuff you really use, turn other syncs off (i have just gmail,contacts,browser synced)
turn off nfc if not using
make sure to use the open recent apps button and swipe away all apps when putting the phone down for a while
ive even tried calibrating my phone by using apps and letting it die completely and turning it back on when fully charged. Someone please help !!!!
Click to expand...
Click to collapse
Factory reset as it sounds like a bad background app (It may not show up under task managers)

Categories

Resources