1. Download our Official Android App: Forums for Android!

Tips Battery Tips SGS2

Discussion in 'Android Devices' started by steslatt, Aug 9, 2011.

  1. steslatt

    steslatt Android Expert
    Thread Starter
    Rank:
    None
    Points:
    163
    Posts:
    1,145
    Joined:
    Jul 20, 2010

    Jul 20, 2010
    1,145
    303
    163
    Male
    Design Engineer
    Manchester
    I know a lot of people complain about battery life on the SGS2 so here are some tips.

    First of all check your battery usage (menu>settings>about phone>battery usage). If there is anything obvious then it will be at the top hogging your battery :) If you cant see anything obvious or its android os then its time to take things further.
    Press the graph at the top and compare your awake stats to your screen on stats. If you have lots of awake time when the screen is off then your battery drain could be down to wakelocks.
    Wakelocks are apps triggering the phone to wake while it is sleeping and causing battery drain. To find out what is causing wakelocks download an app called Betterbatterystats from here:
    [APP] BetterBatteryStats adds battery history back to Gingerbread - xda-developers
    Once you have installed the app press menu, custom ref then close the app. Now leave the phone for a couple of hours to sleep or even better leave it over night if possible.
    After you have left the phone, when you come back to it open the the app again select "wakelocks" at the top then select "since custom ref" under wakelocks. This will give you a list of your wakelocks while your phone was sleeping. They are in order highest first.
    Now you need to work out what the wakelocks are. Some common ones here (more can be found in the link above):

    [android backup service]
    (What is Android Backup Service? - Google Projects for Android). It is a service that offers cloud backup/restore of your settings and offers an API for other apps to do the same (http://developer.android.com/guide/t...ta/backup.html).
    You can turn it off (but will lose the automatic backup) under Setting -> Privacy ->Back up my data.
    Backups are useful though but no need to do it in the cloud, I'd recommend scheduling a regular backup using titanium instead (that's my setting).

    [DataTracker-FD] is fast dormancy. Find the 'secret' codes for your device to turn FD off. *#*#9900#*#* on an SGSII. (contrib. by nobnut)

    [syncmanagerhandlesyncalarm] Is responsible for updating the accounts you have under Settings -> Accounts and Sync. High values may come from bad settings (sync too often, huge amounts of data) or poorly written providers.

    If you found it was a certain app causing the problem you can either uninstall or if you are rooted and want to keep the app you can stop it from autostarting. To do this install Gemini App Manager and when you open it, click on the menu button, click on 'Expert Mode' and find the app concerned. Then long press on the app and click 'Config "Autorun" (root)'. Then you just click on the 'On' switches and turn them 'Off'. What this does is to prevent the app from loading when it wants to but it still works normally when you start it.

    You can also find all the apps running by going into manage applications, running services then press the green bar in the bottom right corner. I found many apps running in there that I hardly ever use so I stopped them from autostarting.

    EDIT - Some more useful tips taken from here

    1. Always use the back arrow to exit an app instead of the Home button (if the back arrow doesn't work, kill the app manually after you have finished.
    2. DO NOT USE Task killers
    3. Always read the comments on Market before you buy or install an app
    4. Take control over the autostart feature that many apps have
    5. Use Google to learn new things rather than asking for help with the easy stuff
    6. DO NOT USE Juice Defender or any other 'battery saving' apps... they are not needed if you set your device up correctly and actually use more power than they save
    7. Decide whether you actually NEED or WANT that app (do you need a 'fart' app which uses location and data services? - Just make your own 'fart' sounds naturally )
    8. Regularly review which apps are running in the background and check your battery stats
    9. After installing new apps, check to see what they are doing behind your back
    10. When setting up sync schedules, use some common sense (do you need to update your weather app every 5 minutes?)
    11. How many email accounts do you need or want? For example, I have 6 accounts but I forward 4 of them into my Gmail account. Now I only need to sync one Gmail account and 1 Exchange account )
     

    Advertisement

    mikeybaby72, geekaren and heshanj like this.
  2. heshanj

    heshanj Android Expert
    Rank:
    None
    Points:
    143
    Posts:
    1,251
    Joined:
    Jun 7, 2011

    great post, thanks! installing as i write this. i didnt realize that the backup thing consumes battery.. titanium covers everything that this does, right? i should disable it. cheers
     
  3. steslatt

    steslatt Android Expert
    Thread Starter
    Rank:
    None
    Points:
    163
    Posts:
    1,145
    Joined:
    Jul 20, 2010

    Jul 20, 2010
    1,145
    303
    163
    Male
    Design Engineer
    Manchester
    I didn't realise either, I turned it off after I read about it. If you have time skim through the thread it helped me out. I had quite a few apps that needed autostart stopping.
     
  4. planetf1

    planetf1 Member
    Rank:
    None
    Points:
    16
    Posts:
    31
    Joined:
    Jul 18, 2011

    Jul 18, 2011
    31
    3
    16
    I've had very beneficial effects from
    - only using "push" apps for always on
    - includes ebuddy, official twitter, sgs/social hub email or gmail
    - gtalk

    Most other apps do not use push, so turn periodic updates off.

    Also try this https://market.android.com/details?id=cz.psencik.simple.autosync and change the frequency of most sync items to once or twice a day with the exception say of calendar entries and other critical items.

    I found I got around 50% extra without impacting usability at all, unlike the more intrusive power management tools.

    take care with "fast dormancy". Depending on usage, network and other factors it could go either way. For me it made battery life A LOT WORSE even in areas that do not support fast dormancy ...
     
  5. heshanj

    heshanj Android Expert
    Rank:
    None
    Points:
    143
    Posts:
    1,251
    Joined:
    Jun 7, 2011

    i noticed that some guys on the battery stats xda page talk about turning off latitude.. does this mean completely disabling it, or just turning off the auto location update setting? coz apart from that, i dont see how it should drain battery?
     
  6. Vegeto

    Vegeto Lurker
    Rank:
    None
    Points:
    6
    Posts:
    9
    Joined:
    Jul 29, 2011

    Jul 29, 2011
    9
    3
    6
    I have Better Battery Stats, which came with lite'ning Rom 5.0

    When I open the BBS app, click menu, I don't get an option for custom ref. I only get 'preferences' and 'about'. Neither menu option has custom ref as an option within them. Nor do I have an option to choose custom ref from the list under wakelocks.
     
  7. steslatt

    steslatt Android Expert
    Thread Starter
    Rank:
    None
    Points:
    163
    Posts:
    1,145
    Joined:
    Jul 20, 2010

    Jul 20, 2010
    1,145
    303
    163
    Male
    Design Engineer
    Manchester
    You may have an older version of the app, download the latest from the thread.

    It means sign out of latitude when you are not using it. It seems that it constantly asks for location while signed in causing battery drain. I am signed out and it cause me no problems.
     
  8. heshanj

    heshanj Android Expert
    Rank:
    None
    Points:
    143
    Posts:
    1,251
    Joined:
    Jun 7, 2011

    i see. yeah, i just ran the battery stats app n the highest was maps/location something like that.. definitely signing out of latitude

    another high one was Alarm Manager.. and SyncManagerSyncHandleAlarm.. i dont use an alarm on my phone if thats wat it is.. wats this about? i'll check on xda too but if anyone knows, plz let me know!

    EDIT: SyncManagerSyncHandleAlarm is to do with autosync, and seeing that i have it on most of the time, i shoudlnt be surprised...

    but alarm manager, im not sure.. the only thing i can think of after trying to google it, is that this is wat handles any notifications.. and seeing that most of my apps with sync have notifications on, maybe this is wat it is?
     
  9. steslatt

    steslatt Android Expert
    Thread Starter
    Rank:
    None
    Points:
    163
    Posts:
    1,145
    Joined:
    Jul 20, 2010

    Jul 20, 2010
    1,145
    303
    163
    Male
    Design Engineer
    Manchester
  10. DaveSyd

    DaveSyd Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    428
    Joined:
    Jul 19, 2011

    Jul 19, 2011
    428
    62
    53
    Australia
    One other area I have noticed that impacts the battery highly is Wifi. When I am at home and Wifi is on I am lucky to get 8 hrs before it hits less than 20%. I have noticed that with Wifi turned off and just using 3G data the battery last 12hrs and gets down to ~40% with the same kind of other use (call time SMS etc.)

    I have also found the "Android bug" (I have 2.3.3 XWKE7 at the moment). Even though I deliberatly turn wifi off - going into Settings, Applications, Running Services, it shows me that "Wifi Sharing" and "Wifi Sharing Manager" are still running. I manually stop these processes. It seems to be constantly looking for a Wifi signal even though I have turned it off - or they may have something to do with Wifi direct. Anyway stopping these 2 process does not affect the operation, even when wifi is turned on. So I constanly turn them off. In fact I have added shortcuts to the home page (Add shortcut, settings, then take your pick, to display battery and processes with one click. Of course Wifi is a lot faster so I do use it for downloading but when I turn it off I go back to stop these process again.

    I also have some bloatware from my provider (Optus) that are always running no matter how many times I stop them Mobile TV & Music Store, however I think I am right in having to put up with these restarting because I do not want to root the phone until out of warranty. Is this right - no way to stop AutoStart processes unless the phone is rooted? When I do this next year there are more than 20 apps stuck on the phone and I have not found a use for any of them.

    Happy tweaking...
    David
     
    mikeybaby72 likes this.
  11. steslatt

    steslatt Android Expert
    Thread Starter
    Rank:
    None
    Points:
    163
    Posts:
    1,145
    Joined:
    Jul 20, 2010

    Jul 20, 2010
    1,145
    303
    163
    Male
    Design Engineer
    Manchester
    You will find if you update your firmware the Android OS will be less and also some people have confirmed the wifi sharing app stops running itself. Wifi takes less battery than 3g so I think your problem is the wifi sharing app and not the wifi itself. Also if you root you can freeze or even uninstall any system apps that drain your battery. I have uninstalled wifi sharing because I have no use for it.
     
  12. Jigsy

    Jigsy Member
    Rank:
    None
    Points:
    16
    Posts:
    40
    Joined:
    Dec 16, 2009

    Dec 16, 2009
    40
    8
    16
    West Mids, UK
    What a great piece of information and what a blinding app BetterBatteryStats is. Currently I'm using XXKG6 so battery life had improved for me but I also use Green Power app to turn Wi-Fi and 3G off when I'm not using it. I ran BBS through the night to see what was eating away at the battery and to my surprise Gtalk was the highest culprit for me. I have since frozen it as I don’t use it at all. It didn't use up a lot of battery but it’s an improvement none the less. A big thank you to steslatt for bringing this info to our attention and even bigger thanks go to the author of the app over at XDA keep up the good work.
     
  13. heshanj

    heshanj Android Expert
    Rank:
    None
    Points:
    143
    Posts:
    1,251
    Joined:
    Jun 7, 2011

    thanks for that :) i found similar info on alarm manager somewhere but to be honest, its a bit like greek to me :D i assume by system alarms, it means all notifications.. anyway, it was a very small amount, even though it was high up on the wakelock list.. the biggest drain that i found was latitude, hopefully that helps! cheers
     
  14. steslatt

    steslatt Android Expert
    Thread Starter
    Rank:
    None
    Points:
    163
    Posts:
    1,145
    Joined:
    Jul 20, 2010

    Jul 20, 2010
    1,145
    303
    163
    Male
    Design Engineer
    Manchester
    Its hard to understand without knowing much about it but I think alarm manager is down to some apps scheduled to run at certain times (autostart). If your alarm manager is high, try looking at what apps are running that you have not launched yourself or apps that you have closed but then run again, then use the Gemini app to disable autostarts for that app.
    My alarm manager is the highest but only at 1min 18secs after 16hrs so this is not a problem.
     
  15. heshanj

    heshanj Android Expert
    Rank:
    None
    Points:
    143
    Posts:
    1,251
    Joined:
    Jun 7, 2011

    thanks, i wil check on that.. i have a few apps that are constantly running even though i dont open em (whatsapp, tango, viber all run in the background i think) but i'll look for any more.. i was wondering how to disable auto starting if i wanted to, thanks for the app tip.

    after about 16 hours too, my alarm manager was at around 4min.. i saw on the xda forum that some guys had some wakelocks or processes runnign for like 22min + so i guess this isnt really high.. but i'll keep a lookout n try to cut back even further. thanks again
     
  16. steslatt

    steslatt Android Expert
    Thread Starter
    Rank:
    None
    Points:
    163
    Posts:
    1,145
    Joined:
    Jul 20, 2010

    Jul 20, 2010
    1,145
    303
    163
    Male
    Design Engineer
    Manchester
    4mins is fine over 16hrs. Some apps do need to run all the time like IM apps and viber. I have pingchat and viber running all the time and they have never cause any serious batter drain and never wake the phone unless I get a message or call. Also I have noticed that even though you disable autostart some apps still do run without launching them.
     

Share This Page

Loading...