[APP] ShutUpBatterySaver -- APN/Autosync ctrl based on SignalStrength & Time - Nexus One Themes and Apps

Well guys,
It's been a long time since I realized my Nexus ONE was draining a lot of battery.
After some testing I figured out one of the most probable causes for that, Autosync.
So I started creating a proof of concept app in order to run autosync at a specified custom time.
On the other hand, I read some users in this forum talk about the possibility to monitor Signal Strength and disable APN if under a given threshold... so I did it (and added Autosync control on low signal too).
It is very useful when you work all day in low signal areas (as me).
Remember.. this is just a proof of concept... may fail a lot or never!
Search for it in the market!
Enjoy
IMPORTANT: Dont kill the app! Exclude it from memory savers (automatic tasks killer). And dont worry about memory or CPU use, it is negligible.
Update 23/08/2010
New Version 0.2. Hope you like it
You have to unistall the previous one (if not it won't install) because I lost my previous certificate . Sorry!!!
Go to:
https://sites.google.com/site/shutupbatterysaver/

Interesting...will be testing

What a great idea!
But does this app use a lot of battery monitoring the signal strength and adjusting for this?

will this work on other phones too or just nexus at this time?

First testing i was able to change settings but it seems to fc on me. Using htc hero cdma on darchdroid.

Jon.StatiK said:
First testing i was able to change settings but it seems to fc on me. Using htc hero cdma on darchdroid.
Click to expand...
Click to collapse
It works perfectly on HTC Hero GSM in Spain with the android 2.1.
So I don't know... I don't have an American Hero.
It should work on every android 2.1 and 2.2 phone...

Markdental said:
What a great idea!
But does this app use a lot of battery monitoring the signal strength and adjusting for this?
Click to expand...
Click to collapse
Dont worry for CPU(battery) drain.
When using Scheduled Autosync it just uses a few miliseconds of CPU for each Loop.
And for the Signal Strength monitoring, it checks it every 10 minutes and only uses (again) a few miliseconds.
If you have Spare Parts, you can check it yourself!

Wow! I instantly noticed a difference in drain even when monitoring it with adb. I'm impressed. What are you guys settings looking like? I am not sure how I should set it up. If I set the sync on for every 25 minutes, does that mean my phone will ONLY auto sync every 25 minutes? This app is long overdue! Thanks!

on my nexus if I leave the app and click on it again on the drawer, the app resets everything (settings, logs)

THATTON said:
Wow! I instantly noticed a difference in drain even when monitoring it with adb. I'm impressed. What are you guys settings looking like? I am not sure how I should set it up. If I set the sync on for every 25 minutes, does that mean my phone will ONLY auto sync every 25 minutes? This app is long overdue! Thanks!
Click to expand...
Click to collapse
Yeah, would love to hear some other users' settings that are working for them.
Like maybe the cutoff for the signal strength level.
also, am I suppose to leave sync off?

congratulations for your job. anyway i have an issue with my nexus one. the app semms to work for about 5sec then all the settings are reseting and apn and sync are switching on even if my signal is below my previous settings. do you have any idea?
thank you.
spyinzedark.

Woo! I'm glad my thread on turning off data when signal is low actually made it into something! I'll try this out soon...

Markdental said:
Yeah, would love to hear some other users' settings that are working for them.
Like maybe the cutoff for the signal strength level.
also, am I suppose to leave sync off?
Click to expand...
Click to collapse
I would also like to know if I should be leaving androids built in auto sync off or leave it on? So far, I have been getting great battery with this set to
Sync options:
30min off
2 min on
Signal options:
-104dBm
-104dBm
I can't wait to see where this is going!

I also can't get my settings to save.. just resets after I exit the app.

dessanct said:
I also can't get my settings to save.. just resets after I exit the app.
Click to expand...
Click to collapse
this ^
(10chars)

G1-evolve said:
this ^
(10chars)
Click to expand...
Click to collapse
Why are you reseting the app?
I mean, the app is meant to be always alive.
You should never kill it and exclude it from any memory saver task killer that you have. Otherwise it cannot work!!
Dont worry about leaving it alive as it only uses a very very small time of CPU.
Sooo... Dont Kill it!!
Just let me know your results

I am currently using:
- Autosync due to Timer 1h - 3m
- APN off if Signal less than -90dBm
It works nice!

Anyone think this would conflict badly with juicedefender?

r0adki111 said:
Anyone think this would conflict badly with juicedefender?
Click to expand...
Click to collapse
I'm not using JuiceDefender anymore because it just seems to mess too many things up. That's just my experience though.

wjax said:
I am currently using:
- Autosync due to Timer 1h - 3m
- APN off if Signal less than -90dBm
It works nice!
Click to expand...
Click to collapse
Should we be leaving the regular autosync on or off?

Related

actual battery management app that works

SuperPower (I got it on AppBrain) is an advanced power management app. It does cool stuff like allow you to schedule your phone to shut off data when the screen is off WHILE scheduling the data to come on for a couple minutes every hour to sync your email AND leave data on if your screen is off but you're downloading something. It didn't seem to play too nice with setcpu but has literally doubled my battery life without a noticeable change in performance. There's a thread on xda about it somewhere, but this is currently an unsupported beta so use at your own risk.
austontatious said:
SuperPower (I got it on AppBrain) is an advanced power management app. It does cool stuff like allow you to schedule your phone to shut off data when the screen is off WHILE scheduling the data to come on for a couple minutes every hour to sync your email AND leave data on if your screen is off but you're downloading something. It didn't seem to play too nice with setcpu but has literally doubled my battery life without a noticeable change in performance. There's a thread on xda about it somewhere, but this is currently an unsupported beta so use at your own risk.
Click to expand...
Click to collapse
of course it did it shut data off. any app that does that will extend batt life
So basically it is Juice Defender?
Sent from my PC36100 using XDA App
dsEVOlve said:
So basically it is Juice Defender?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
sounds like.
Ya, it's a similar concept to JuiceDefender. Less about task management and power profiles, though - isntead of setting up profiles you basically just enable levels of control over your phone for the app. And yes, 94tbird, I am aware that "of course it did it shut data off. any app that does that will extend batt life " but the impressive thing is that it didn't just turn data off, but it managed it so that I didn't notice it was off. If I wanted a phone with no data connection and great battery life, I'm sure I have an old nokia around here somewhere. The point was that it is a smart enough app to turn data off when I don't need it and on when I do, while still keeping my email box synced and all without me noticing a difference (besides the battery life). You could accomplish the same thing with the stock widget to turn your data connection on and off, but you would actually have to turn it on and off. This app does it for you, and seamlessly enough that you don't notice it working. But hey - do as you like. I don't have any connection to the developer(s) of this app, I just dl'd it and it worked really well, thought I would share.

[APP] Wireless Chief - save power and mobile data

Wireless Power Chief
Wireless Chief is an application designed to control the wifi and data radios in your device, as well as many related functions like background data and autosync.
It can be used to save power or minimize data usage, and works either by reading the screen state, the battery state or on a completely custom schedule.
All data and sync options require root access. There is no other may to manipulate the radios.
Features:
- Turn features on or off depending on screen state
- Disable wifi if no known network is available
- Change wifi scan intervals and scan attempts
- Schedule autosync and background data
- Force autosync on wifi only
- Disable wireless radio features according to battery level
- Watched active download state, disabling the service until a download completes
If you have any issues, please leave comments in this thread or better yet use the "Write to us" dialog in the application's settings.
Versions:
Locked: All Screen state options are free
Unlocked: Full functionality, including Battery and Scheduled profiles
Market link:
https://market.android.com/details?id=fahrbot.apps.wirechief
Screens:
I can't find the app in the market.
The market took forever to display it. Definitely there now!
ftgg99 said:
The market took forever to display it. Definitely there now!
Click to expand...
Click to collapse
Yep you're right!
So what do you think?
It's 24h trial only.
Thats not true! Read the description.
Bumpage... need more BUMPAGE!
ftgg99 said:
So what do you think?
Click to expand...
Click to collapse
I'm gonna test it tomorrow, I'll let you know, I think it's gonna be cool 'cos is quite similar a what I did when I was using my iPhone.
I'll let you know.
Stuff can be done with tasker too.
24 hour trial verified? kinda short time to test properly methinks.
Cool if it's free though.
Sent from my HTC Desire
Wish this had come out a few months ago. I have Juicedefender already
jdstrydom said:
Stuff can be done with tasker too.
24 hour trial verified? kinda short time to test properly methinks.
Cool if it's free though.
Sent from my HTC Desire
Click to expand...
Click to collapse
I would say its better than 15 minutes. A day is more than enough to test an application of this kind. If i made it a week, no one would ever buy it.
avgjoemomma said:
Wish this had come out a few months ago. I have Juicedefender already
Click to expand...
Click to collapse
Personally i think its better than juice defender. Certainly the wifi options are superior.
And we have plans to add lots of pertinent stuff (unlike a lot of the pointless rubbish in juice defender).
I know it sounds silly but can you explain what things are modified with autosync option?
The summaries already explain... you can enable/disable AS or schedule AS at intervals.
An interval of 2 hours will mean AS will be turned on every 2 hours, a duration of 2 minutes will mean every 2 hours, AS will be turned on for 2 minutes.
Wifi only means that AS will only be turned on if the schedule coincides with you being connected to a wifi network.
Simple.
Perfect, nice, very nice app.
ftgg99 said:
Personally i think its better than juice defender. Certainly the wifi options are superior.
And we have plans to add lots of pertinent stuff (unlike a lot of the pointless rubbish in juice defender).
Click to expand...
Click to collapse
Definitely will take it for a spin. If you could increase the trial to 48 hours it would be helpful for testing, but I understand if you can't. It's just easier to get stats on the battery for at least two charges. Thanks
avgjoemomma said:
Definitely will take it for a spin. If you could increase the trial to 48 hours it would be helpful for testing, but I understand if you can't. It's just easier to get stats on the battery for at least two charges. Thanks
Click to expand...
Click to collapse
That's why I went and bought it. I want test it in between at least 3 charges. And 2 USDs aren't even a coffee here.
93ae8074 said:
That's why I went and bought it. I want test it in between at least 3 charges. And 2 USDs aren't even a coffee here.
Click to expand...
Click to collapse
Yeah, I'll end up buying it anyway. Anything these guys make is pure gold
ftgg99 said:
Features:
- Turn features on or off depending on screen state
- Disable wifi if no known network is available
- Change wifi scan intervals and scan attempts
- Schedule autosync and background data
- Force autosync on wifi only
Click to expand...
Click to collapse
All these features are listed and pretty self-explanatory with toggles within the app, except for "Disable wifi if no known network is available." Is this feature automatic, or can I turn it off an on, and if so how do I do so? Thanks in advance.
Its automatic - the desired number of scan attempts will be performed and if no known network is found wifi will be switched off until the next screen state event.

Why is my battery life so bad?

ROM: CM9 latest nightly
Kernel: CM9's own
Radio: T-Mobile's UVLC8 (yes, I'm on T-Mobile)
Brightness: Auto (shown in screenshot)
Synced Gmail accounts: 3
Accounts in Email app: 0
My battery drops 20% in 42 minutes, which means it will be depleted in 3.5 hours. And this is mostly due to the screen. Why? I use the phone moderately and ALWAYS press the Power button to turn the screen off whenever I'm done replying to a text or doing anything with it.
Any suggestions?
Well judging from your notification bar you have bluetooth, WiFi, fb sync all on and you aren't even connected to a WiFi network or Bluetooth device. Try turning those off when they are not needed. Also go into the Facebook app and go to settings and change you sync time to a little longer than an hour (if you can stand it). Try that for now and see what happens
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Some info on screen on time would help, 3.5hrs screen on time is barely below average. I would expect that if FB is always syncing and blue tooth.
Also I would verify you don't have a wake lock going from charging. You can check with CPU Spy, better battery stats, as well as some others. Cpu spy is likely the easiest way.
Sent from my SGH-I727 using Tapatalk 2
Every once in a while I'll get a flash that does this, the battery just seems to be losing its will to live. I don't understand it myself but I restore my last nandroid backup, and then flash again. After that all goes back to normal.
ckck543 said:
Well judging from your notification bar you have bluetooth, WiFi, fb sync all on and you aren't even connected to a WiFi network or Bluetooth device. Try turning those off when they are not needed. Also go into the Facebook app and go to settings and change you sync time to a little longer than an hour (if you can stand it). Try that for now and see what happens
Click to expand...
Click to collapse
I always keep WiFi and Bluetooth on. I thought neither one of those really used a lot of power unless actually connected. I use BT only in my car and WiFi only at home (evenings). My FB refresh interval is set to 1h. I hardly think this is draining my battery.
lnfound said:
Some info on screen on time would help, 3.5hrs screen on time is barely below average. I would expect that if FB is always syncing and blue tooth.
Also I would verify you don't have a wake lock going from charging. You can check with CPU Spy, better battery stats, as well as some others. Cpu spy is likely the easiest way.
Click to expand...
Click to collapse
Better Battery Stats wasn't free, so I installed CPU Spy and Battery Spy, I am letting the phone charge to 100% and then, I'm going to unplug it and report after about 30 minutes.
meet2x4 said:
Every once in a while I'll get a flash that does this, the battery just seems to be losing its will to live. I don't understand it myself but I restore my last nandroid backup, and then flash again. After that all goes back to normal.
Click to expand...
Click to collapse
I will flash last night's CM9 nightly and see if I notice a difference.
Thank you all!
Razor1973 said:
I always keep WiFi and Bluetooth on. I thought neither one of those really used a lot of power unless actually connected. I use BT only in my car and WiFi only at home (evenings). My FB refresh interval is set to 1h. I hardly think this is draining my battery.
Click to expand...
Click to collapse
Might want to think of picking up some NFC tags and setting profiles so stuff like Bluetooth will automatically turn on when in your car, and off when you leave. And BT and Wifi do drain power when not connected because they are searching for connections.
Better Battery Stats wasn't free, so I installed CPU Spy and Battery Spy, I am letting the phone charge to 100% and then, I'm going to unplug it and report after about 30 minutes.
Click to expand...
Click to collapse
It's free to XDA members: http://forum.xda-developers.com/showthread.php?t=1179809
dakpluto said:
Might want to think of picking up some NFC tags and setting profiles so stuff like Bluetooth will automatically turn on when in your car, and off when you leave. And BT and Wifi do drain power when not connected because they are searching for connections.
It's free to XDA members: http://forum.xda-developers.com/showthread.php?t=1179809
Click to expand...
Click to collapse
But wouldn't WiFi and Bluetooth show in the battery usage screen with a high percentage? They would show by themselves or under radio and those aren't high at all. It's all on the screen. That's the problem, it seems. And what I explained earlier is that I don't use it much. I will get a text message, I'll reply and automatically turn the screen off before I set the phone down. I never forget this. I'm actually anal about it. LOL
I just installed Better Battery Stats (thanks for the tip!!!) and will test with all 3 apps as soon as I unplug my phone to go to lunch. I haven't been able to do this yet. Crazy day here at work.
Thanks again.
Razor1973 said:
But wouldn't WiFi and Bluetooth show in the battery usage screen with a high percentage? They would show by themselves or under radio and those aren't high at all. It's all on the screen. That's the problem, it seems. And what I explained earlier is that I don't use it much. I will get a text message, I'll reply and automatically turn the screen off before I set the phone down. I never forget this. I'm actually anal about it. LOL
I just installed Better Battery Stats (thanks for the tip!!!) and will test with all 3 apps as soon as I unplug my phone to go to lunch. I haven't been able to do this yet. Crazy day here at work.
Thanks again.
Click to expand...
Click to collapse
that's covered under android system I believe. Most important, it causes wake locks that keeps your phone from deep sleeping.
Flash Instigators Kernel with Smartass/Badass scripts (not a joke....)
It will help you tremendously. You must reflash with every nightly update you do.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
OK, so 4.5 hours and battery discharged 38%. I guess that's not terrible, but my screen was only on for 26 minutes of that time and the phone is reporting 55% of the battery drain came from screen use. I feel battery life could be a lot better just because of this.
What else do these screenshots tell you guys?
I noticed KIK Messenger and MailDroid there. They both sync a lot. I do have a couple of IMAP accounts on MailDroid that I forgot to mention in my OP. But, still, I go back to the fact that most of the drain comes from the screen. These aren't related.
onealvideo said:
Flash Instigators Kernel with Smartass/Badass scripts (not a joke....)
It will help you tremendously. You must reflash with every nightly update you do.
Click to expand...
Click to collapse
Oh, true!!! I flashed InstigatorX's kernel when I first started flashing the nightlies, but, since I flash them every 2-3 days, I completely forgot to reflash the kernel. OK, it's more like I didn't know it was getting overwritten and I had to reflash it. Thanks for the reminder!!! By the way, do you go with stable (4.0b) or the latest experimental (5.3.2)? Also, do you just flash the kernel? What are those scripts and what do you do with them? I did not understand his instructions. Maybe I should be asking there, but since I already have you here... LOL
Razor1973 said:
OK, so 4.5 hours and battery discharged 38%. I guess that's not terrible, but my screen was only on for 26 minutes of that time and the phone is reporting 55% of the battery drain came from screen use. I feel battery life could be a lot better just because of this.
What else do these screenshots tell you guys?
I noticed KIK Messenger and MailDroid there. They both sync a lot. I do have a couple of IMAP accounts on MailDroid that I forgot to mention in my OP. But, still, I go back to the fact that most of the drain comes from the screen. These aren't related.
Click to expand...
Click to collapse
For one, turn your screen brightness down. I use auto-brightness and never have a problem seeing it, and my battery drain is ok that way.
Two, you've got the AudioOut_1 wakelock. Turn off system sounds in the settings menu (keytones, touch sound, screen lock sound, vibrate on screen tap) and that will take care of that.
Any type of instant messenger service (Skype is well-known for doing this) will wakelock your phone while it searches for IMs. No way around it other than an uninstall. You can't control IMAP pushing, but you can control folder polling, which eats up a lot of battery. I'd set your MailDroid accounts to not poll folders automatically more than once a day.
And definitely turn Bluetooth off when you're not actively connected to something. You might as well be using your phone as a flashlight with how much power BT burns through.
I am currently on RC2. I went to the 21/22 nightly but was not liking how it was behaving so I went with the RC for now.
In INSTIGATORS forum you will see in the links to the kernel one that says <-------- works with RC2.
I used that one and I am happy. Sure you could do the newer ones but I am happy where I am at currently.
Just boot into recovery and install from zip.
(Assume u download the zip on your phone....)
Its easy as pie!
You can play with the settings if you want but the default settings work pretty freaking good!
I would for sure recommend going to that forum as Instigator himself can answer ALL your questions in depth.... I am merely a messenger and user of his kernel.... wish they would just merge it into the cm9....
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
T.J. Bender said:
For one, turn your screen brightness down. I use auto-brightness and never have a problem seeing it, and my battery drain is ok that way.
Two, you've got the AudioOut_1 wakelock. Turn off system sounds in the settings menu (keytones, touch sound, screen lock sound, vibrate on screen tap) and that will take care of that.
Any type of instant messenger service (Skype is well-known for doing this) will wakelock your phone while it searches for IMs. No way around it other than an uninstall. You can't control IMAP pushing, but you can control folder polling, which eats up a lot of battery. I'd set your MailDroid accounts to not poll folders automatically more than once a day.
And definitely turn Bluetooth off when you're not actively connected to something. You might as well be using your phone as a flashlight with how much power BT burns through.
Click to expand...
Click to collapse
Screen brightness: I use auto as well. It's in one of my first screenshots in this thread.
AudioOut_1 wakelock: Done. Thanks. I'm going to miss the touch and screen lock sounds. LOL I left dial pad touch tones and volume rocker music controls in that same secton checked, by the way.
MailDroid: I went through all the settings, both general and for the e-mail accounts and couldn't find a place to specify folder polling interval. Do you have it installed? If so, could you tell me exactly where to find this please?
Bluetooth: I'll try my best to turn it on only when I needed. I could also follow dakpluto's suggestion with the NFC tags. But then, I'd have to leave NFC on. Doesn't that drain battery too?
And you see, although all of these will help, don't you agree based on my screenshots that the biggest offender here is the screen and this is the area I should really be looking at?
onealvideo said:
I am currently on RC2. I went to the 21/22 nightly but was not liking how it was behaving so I went with the RC for now.
In INSTIGATORS forum you will see in the links to the kernel one that says <-------- works with RC2.
I used that one and I am happy. Sure you could do the newer ones but I am happy where I am at currently.
Just boot into recovery and install from zip.
(Assume u download the zip on your phone....)
Its easy as pie!
You can play with the settings if you want but the default settings work pretty freaking good!
I would for sure recommend going to that forum as Instigator himself can answer ALL your questions in depth.... I am merely a messenger and user of his kernel.... wish they would just merge it into the cm9....
Click to expand...
Click to collapse
Here's what I just did:
1) Installed latest (7/23) CM9 nightly.
2) Installed InstigatorX's 5.3.2 experimental kernel using CWM.
3) Installed InstigatorX's BadAss script using CWM on top of the kernel (I guess that's how you do it).
I will see how my battery behaves. It'll be difficult to know which of the many things I did is the one that yielded the biggest improvement, however. Oh well.
Thank you all!
I'm testing aokp w/ stock kernel ondemand 192/1512 and it actually is working decently for me so far. Streamed like 1 1/2 hr of video last night and 2hr of Pandora today at the gym. :good:
Sent from my SGH-I727 using Tapatalk 2
You see? Why can't I get HALF of that?
InstigatorX CM9/AOKP Kernel - Which One?
Razor1973 said:
... do you go with stable (4.0b) or the latest experimental (5.3.2)? Also, do you just flash the kernel? What are those scripts and what do you do with them? I did not understand his instructions. Maybe I should be asking there, but since I already have you here... LOL
Click to expand...
Click to collapse
That's what I'm trying to figure out:
Which version (e.g. 4.0b or latest)?
Which script(s)?
Anything else?
(There's tons of information in these forums, but finding it buried deep in threads is like looking for a needle in a haystack.)
From the looks of that screen shot. The phone is barely being used, see how the blue isn't solid for most of the running time?
Sent from my SAMSUNG-SGH-I727
kr3w1337 said:
From the looks of that screen shot. The phone is barely being used, see how the blue isn't solid for most of the running time?
Sent from my SAMSUNG-SGH-I727
Click to expand...
Click to collapse
Yep I have power saving stuff such as turn off wifi when idle, I dont have GPS on 24/7 and I dont have wakelocks, I also set mine to use 3G/4G rather than LTE. If it was a solid blue that means something will be constantly on draining the battery.
I'm testing aokp w/ stock kernel ondemand 192/1512 and it actually is working decently for me so far. Streamed like 1 1/2 hr of video last night and 2hr of Pandora today at the gym.
Click to expand...
Click to collapse
Those are the two lines from the front and the end. The blanks are deep sleep over night. Remember I said "testing aokp" "stock kernel"
If you want my "light" use then here it is lol.
Trinition said:
That's what I'm trying to figure out:
Which version (e.g. 4.0b or latest)?
Which script(s)?
Anything else?
(There's tons of information in these forums, but finding it buried deep in threads is like looking for a needle in a haystack.)
Click to expand...
Click to collapse
For performance I prefer smartassv2 for power saving I would go for badass governor. With badass it doesn't jump clocks to max but goes by phases thus not aggressive and doesn't eat a lot. Test them out read the change log to see if changes pertain to you :good:
Sent from my SGH-I727 using Tapatalk 2

Troubleshooting cpu usage

This great forum is full of information but for some reason whenever I tried searching the cat reading the book pops up and says its taking a long time so I figure I will try to ask here. is there a app that will basically keep track of which apps use the most cpu, ram or resources in general? I am trying to figure out which of my 100 or so apps installed is using the cpu the most so I can possibly find an alternative. I just installed the custom kernel from this page http://forum.xda-developers.com/showthread.php?t=2129218 and it did seem to make the phone faster but the battery usage is still the same. Another question I have is if it is really necessary to run antivirus software on the phone? Doesn't google have something to check for bad apps in google play?
DroidWall
Install DroidWall. Block network access to any app that does not require network access - cameras, video players, calendar, minibooks, text readers, galleries, soundboards, music players.
Lots of these apps like to wake themselves up (even if you don't use them), search your phone for data then transfer data over the internet. That all uses CPU and kills the battery. If they wake up and find no network connection they shut themselves down again. Block them and you are guaranteed 20% or better battery life.
EEngineer said:
Install DroidWall. Block network access to any app that does not require network access - cameras, video players, calendar, minibooks, text readers, galleries, soundboards, music players.
Lots of these apps like to wake themselves up (even if you don't use them), search your phone for data then transfer data over the internet. That all uses CPU and kills the battery. If they wake up and find no network connection they shut themselves down again. Block them and you are guaranteed 20% or better battery life.
Click to expand...
Click to collapse
Thanks but Droidwall does not list my camera in the list of apps. I just installed the latest Faux kernel and set spu limits to 213 -1015 or whatevere the exact numbers are. Will see what happens. I was using the Mazkrnl_0218GB.zip kernel just prior to this but that one was forcing me to pull the battery many times. And before I had the stock CM7 kernel from the 301 CM7 release.
sonicmixmaster said:
Thanks but Droidwall does not list my camera in the list of apps. I just installed the latest Faux kernel and set spu limits to 213 -1015 or whatevere the exact numbers are. Will see what happens. I was using the Mazkrnl_0218GB.zip kernel just prior to this but that one was forcing me to pull the battery many times. And before I had the stock CM7 kernel from the 301 CM7 release.
Click to expand...
Click to collapse
What is your camera? Can you post the Google Play link here?
Also, turn off Background Data, turn off Auto sync, and do not let your apps update automatically. That also drains the battery.
I can get 2½ days on standby on my G2X. I'm running the last CM7 nightly and Trinity T15-G2x-06022012 kernel.
I can get better battery life with Maz's kernels but I was getting overheating and SOD.
EEngineer said:
What is your camera? Can you post the Google Play link here?
Also, turn off Background Data, turn off Auto sync, and do not let your apps update automatically. That also drains the battery.
I can get 2½ days on standby on my G2X. I'm running the last CM7 nightly and Trinity T15-G2x-06022012 kernel.
I can get better battery life with Maz's kernels but I was getting overheating and SOD.
Click to expand...
Click to collapse
My camera is the one that came with CM7 and does not have a Play link. I would like to keep the auto sync on and data as I like to have some stuff updated like weather but would like to know how to stop the facebook app from doing updates because I really don't care about them and see that facebook seems to be a top cpu user for me. I installed an app called Battery Drain Analyser (play.google.com/store/apps/details?id=com.msd.battery.indicator&feature=search_result) and it seems to help me find out what is sucking up my battery. I would like to keep the facebook app but not have it fetch updates constantly. I know I can firewall it but that would require me to constantly edit the firewall rules every time I want to use the app. The same thing goes for some other apps that self update like twitter. If there was a way to turn off background updating of these apps like facebook and twitter and keep on the updating when i start the apps myself.
sonicmixmaster said:
My camera is the one that came with CM7 and does not have a Play link. I would like to keep the auto sync on and data as I like to have some stuff updated like weather but would like to know how to stop the facebook app from doing updates because I really don't care about them and see that facebook seems to be a top cpu user for me
Click to expand...
Click to collapse
Well, the camera that came with CM7 doesn't need network access.
But if you are keeping background data on and auto sync on, and you are running the Facebook app, put that all together and that's a battery **** sandwich. You are deliberately giving yourself poor battery life.
For me, I don't need to have the weather CONSTANTLY updated when I'm not looking at it, I just click the Weather app and I see the weather. I'm not that obsessed with the weather to have it update when I'm not looking at it.
My guess is if you took my advice you'd double your battery life, but there you have it.
EEngineer said:
Well, the camera that came with CM7 doesn't need network access.
But if you are keeping background data on and auto sync on, and you are running the Facebook app, put that all together and that's a battery **** sandwich. You are deliberately giving yourself poor battery life.
For me, I don't need to have the weather CONSTANTLY updated when I'm not looking at it, I just click the Weather app and I see the weather. I'm not that obsessed with the weather to have it update when I'm not looking at it.
My guess is if you took my advice you'd double your battery life, but there you have it.
Click to expand...
Click to collapse
I knew about turning data off and auto sync long time ago. Also bluetooth and wifi turning off will help.but the apps that are running all the time downloading data in the background are the real problem and cant be configured not to do that are complete crap. and the newest facebook app also without my permission tells me about missed phone calls! I already have a build in CM7 feature that does this! why would anyone need this? I am willing to bet that every android phone has some type of way to show you that you missed a call. I think its all about advertising. The little F shows up on the status bar on top now along side my missed call icon when I have a missed call. This crap started when they pushed the new version a few days ago.
sonicmixmaster said:
I knew about turning data off and auto sync long time ago. Also bluetooth and wifi turning off will help.but the apps that are running all the time downloading data in the background are the real problem and cant be configured not to do that are complete crap. and the newest facebook app also without my permission tells me about missed phone calls! I already have a build in CM7 feature that does this! why would anyone need this? I am willing to bet that every android phone has some type of way to show you that you missed a call. I think its all about advertising. The little F shows up on the status bar on top now along side my missed call icon when I have a missed call. This crap started when they pushed the new version a few days ago.
Click to expand...
Click to collapse
I use Auto3G. This little gem ensures I will have battery when I need it
-- The noob says:
This just in... my IQ has increased 50 points thanks to the g2x!
sonicmixmaster said:
I knew about turning data off and auto sync long time ago. Also bluetooth and wifi turning off will help.but the apps that are running all the time downloading data in the background are the real problem and cant be configured not to do that are complete crap. and the newest facebook app also without my permission tells me about missed phone calls!
Click to expand...
Click to collapse
Why oh why are you using the newest Facebook app? I know people still using the old facebook app and won't update. I have plenty of apps that I won't update because the latest app is crap.
I updated because there was an update I don't know if there was going to be any problems with it
Sent from my LG-P999 using xda app-developers app
jededbm Pij
mansa_noob said:
I use Auto3G. This little gem ensures I will have battery when I need it
-- The noob says:
This just in... my IQ has increased 50 points thanks to the g2x!
Click to expand...
Click to collapse
I will give this app a try. Seems like it makes sense. Thanks.

Nexus 5 battery life

Hi, I really did some research but I find alot of ROMs and Kernels and I always get lost. I just need a good safe way to better the battery life of my Nexus 5 and keep it's stability and all the functions it has. So I wanted to ask what you guys recommend as Kernels, apps and lastly (I dont want to change unless its worth it) ROMs.
Sorry, its been hard without a PC to do decent research.
Enviado do meu Nexus 5 através de Tapatalk
The ROM has very little to do with battery life. It's all about the kernel or the apps.
We can't recommend kernels (or roms) as this is against the rules. They will all pretty much help with battery life. Just try them all- yourself.
Apps:
Greenify
Better battery Stats
That's it. Anything else I would recommend is going through all your settings and turning off things you dont need like location reporting etc
if battery life is all you are looking for... the difference are ... not much
Just disable google apps that you do not use, then you are good to go.
Locations settings, always off, activate only when needed. uncheck all under Google Location Reporting.
Disable NFC if not needed.
If you don't have good LTE coverage, change it to 3G under mobile networks.
For maximum battery life, do NOT activate Google Now.
eg. (These are apps I've disabled)
Drive
Earth
Email
Exchange Services
Face Unlock
Gallery (I use QuickPic as alternative)
Gmail
Google Hindi input (These ones gets disabled once you uncheck them from input settings)
Google Play books
Google Play Games
Google Play Magazines
Google Play Movies & TV
Google Play Music (I use Poweramp *Paid)
Google+
Keep
Maps
News & weather
Quickoffice
Street View
Tags
TalkBack
Hangouts (I use HoverChat *Paid)
Check this thread mate...
http://forum.xda-developers.com/google-nexus-5/general/nexus-5-battery-results-t2509132/
CitizenLee said:
Check this thread mate...
http://forum.xda-developers.com/google-nexus-5/general/nexus-5-battery-results-t2509132/
Click to expand...
Click to collapse
What he said ^^^^
It doesn't matter what's on your phone....you should be able to get good battery life. Its all about setup and usage.
Just gotta troubleshoot issues occasionally.
Please check the thread linked above, and read read read. . (Start on last page and read back for a bit....a lot of good info)
On my phone it certainly seems to have something to do with signal quality. At home, I can put the phone next to the bed at night with it fully charged and wake up with it at about 95 or 96%.
At work a fully charged phone just sitting on my desk drops to about 90% in only a couple of hours.
The signal quality in my building at work is pretty poor, so I'm guessing the phone is using a lot of extra energy desperately searching for a better signal .
Claghorn said:
On my phone it certainly seems to have something to do with signal quality. At home, I can put the phone next to the bed at night with it fully charged and wake up with it at about 95 or 96%.
At work a fully charged phone just sitting on my desk drops to about 90% in only a couple of hours.
The signal quality in my building at work is pretty poor, so I'm guessing the phone is using a lot of extra energy desperately searching for a better signal .
Click to expand...
Click to collapse
Poor and searching for signal is probably the biggest battery drain there can be.
Get gsam. And after your at work a few hours, open and click on "phone radio". It will say how long your phone was actually searching for a signal. That's a huge battery killer.
The only cures, get on WiFi. Or go into airplane mode. Toggle off data might help, then you'd still get texts and phone calls.
kj2112 said:
The only cures, get on WiFi.
Click to expand...
Click to collapse
I do have wifi on in both locations, so the wifi part of this doesn't help. I suspect data isn't the issue, just the cell connection. My old phone used to randomly reboot inside this building when trying to get a signal . I guess I should install gsam just to verify, but the signal is really the only difference between work and home, so I'm pretty sure that is the issue.
Claghorn said:
I do have wifi on in both locations, so the wifi part of this doesn't help. I suspect data isn't the issue, just the cell connection. My old phone used to randomly reboot inside this building when trying to get a signal . I guess I should install gsam just to verify, but the signal is really the only difference between work and home, so I'm pretty sure that is the issue.
Click to expand...
Click to collapse
Usually battery drain from a low or bad signal is only a big issue while on data. On WiFi it doesn't affect the battery much , if any. Its from apps trying to sync through data on a bad or no signal. So on WiFi, that's not an issue.
At home I get fairly poor reception...sometimes only a bar...with some time spent searching for signal, but my battery times are at their best at home. On WiFi.
It could be a network issue. Some devices on networks can affect your device by spam polling your phone....might want to also get wakelock detector to see that. If the LAN is draining your battery, there will be wakelocks from it.
Try gsam and compare work results to home results. Especially good would be trying at least a few hours of total standby to see the difference at both locations. You'd have to reset gsam stats to start your standby test at all zeros though. A reboot will reset gsam.
Good luck!
Remove all google [email protected]%# ...
And disable autostart from programs like poweramp which start on boot...use romtoolbox and autostart manager
Of course, pay attention to what you're going to disable
If You will try and You have some doubt ask here
I use a lightweight aosp ROM, a minimal gapps package, stock kernel, disabled some programs from boot and run in background...and battery duration is good
Don't ask to us roms/kernel combo, please Questions like your are not allowed on xda
Always read the users feedback and make Your choice
And... My doubt..is it really needed to change the kernel ??
Give stock kernel a chance... That's all I can say...
And make sure to charge your phone the right way
Hi! Anyone knows if I can disable the processes that Viber starts every so often? Like the in-app processes, it keeps on running in the background consuming a huge chunk of my battery. I already emailed Viber about it but unfortunately they don't have a fix for it.
Sent from my Nexus 5 using Tapatalk
natadecocolococo said:
Hi! Anyone knows if I can disable the processes that Viber starts every so often? Like the in-app processes, it keeps on running in the background consuming a huge chunk of my battery. I already emailed Viber about it but unfortunately they don't have a fix for it.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Greenify?
rootSU said:
Greenify?
Click to expand...
Click to collapse
I'll try that. Thanks.
kj2112 said:
Try gsam and compare work results to home results. Especially good would be trying at least a few hours of total standby to see the difference at both locations. You'd have to reset gsam stats to start your standby test at all zeros though. A reboot will reset gsam.
Click to expand...
Click to collapse
OK, I turned the phone off, charged it to 100%, then pretty much let it sit doing nothing after rebooting. After sitting overnight at home (where the battery doesn't drain much) the "Phone" app was way down in the list:
GSam Labs - Battery Monitor - Export Data
Phone
Apr 30, 2014 9:55:45 AM
Usage Details
CPU Usage:2s
CPU Usage (Background Only):2s
Keep Awake:19s
Number of Wake Locks:177
Number of times waking device:2
App UID:1001
Wakelock Detail
RILJ8.8s(136)...
Did the same recharge with phone off at work, rebooted, then let it sit on my desk for just a couple of hours, and "Phone" is now the 2nd biggest culprit in the apps list:
GSam Labs - Battery Monitor - Export Data
Phone
May 1, 2014 10:35:57 AM
Usage Details
CPU Usage:3m 24s
CPU Usage (Background Only):3m 24s
Keep Awake:12m 1s
Number of Wake Locks:1167
Number of times waking device:141
App UID:1001
Wakelock Detail
RILJ11.9m(1031)...
Wifi was on in both locations (with a good signal), I even turned off location to prevent that overhead. It just hates the environment at work .
Claghorn said:
OK, I turned the phone off, charged it to 100%, then pretty much let it sit doing nothing after rebooting. After sitting overnight at home (where the battery doesn't drain much) the "Phone" app was way down in the list:
GSam Labs - Battery Monitor - Export Data
Phone
Apr 30, 2014 9:55:45 AM
Usage Details
CPU Usage:2s
CPU Usage (Background Only):2s
Keep Awake:19s
Number of Wake Locks:177
Number of times waking device:2
App UID:1001
Wakelock Detail
RILJ8.8s(136)...
Did the same recharge with phone off at work, rebooted, then let it sit on my desk for just a couple of hours, and "Phone" is now the 2nd biggest culprit in the apps list:
GSam Labs - Battery Monitor - Export Data
Phone
May 1, 2014 10:35:57 AM
Usage Details
CPU Usage:3m 24s
CPU Usage (Background Only):3m 24s
Keep Awake:12m 1s
Number of Wake Locks:1167
Number of times waking device:141
App UID:1001
Wakelock Detail
RILJ11.9m(1031)...
Wifi was on in both locations (with a good signal), I even turned off location to prevent that overhead. It just hates the environment at work .
Click to expand...
Click to collapse
I think that is just the difference in signal quality. It seems to be pretty common to get degraded signal at work places due to larger structure sizes as well as more users per cell tower.
Phone Idle is from the voice network, Cell Standby is from the data connection.
Is it normal for Google Play Services to be running in the background always? The gcm and the location service is always on.
Sent from my Nexus 5 using Tapatalk
natadecocolococo said:
Is it normal for Google Play Services to be running in the background always? The gcm and the location service is always on.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Yup
And its worse with location on for sure....battery wise anyway.

Categories

Resources