Brainstorming: how to completely disable DataTracker-FD and Fast Dormancy - Optimus One, P500, V General

Being fed up with the random wakelocks that Dialer produced on my Gingerbread P500, I spent a while searching for the cause. It turned out to be DataTracker-FD (found out using the amazing BetterBatteryStats app - http://www.cri.ch/sven/doku.php/computing/android/betterbatterystats ), which deals with Fast Dormancy (http://www.computerworld.com/s/article/9191759/Fast_dormancy_to_improve_smartphone_networking_and_battery_performance_ ).
Now, in theory, Fast Dormancy should be a great feature! But, if your network does not support it, DataTracker-FD will still drain a lot of battery through the wakelock. The SGSII secret code for deactivating it doesn't work on the P500, and neither does the nwk_info.db method. Luckily, you can deactivate (or change its timeout) through the LG hidden menu...
1. Dial 3845#*500#.
2. Go to Modem Setting > PDP Setting > [0] Set Fast Dormancy
3. Select your desired timeout (or "Disabled"). You should now be done! (will look at Battery Usage in a little bit, to see if a reboot/Dialer FC is also needed)
Optional step 4. If you still see no difference, set your desired timeout (or "Disabled") a few more times.
Hope it helps.
/* Edit: It doesn't seem to help, we might be back to square one. Does anyone have any idea on how to completely disable Fast Dormancy? We might need a dev to look at the source code of Dialer and make some modifications... Right now, if your phone stays awake after using Data, the only current workaround is FCing Dialer from Applications. */
EDIT 2: A SECOND TEST, USING THE ABOVE METHOD TO DISABLE FAST DORMANCY, YIELDS POSITIVE RESULTS! THE WAKELOCK IS NOT THERE ANYMORE, EVEN AFTER SEVERAL RECONNECTIONS TO HSDPA!
It needs way more testing though, I will reconnect to data and leave the phone idle (screen off), then see what happens, and I will reboot the phone to see if the setting persists.
EDIT 3: Yes, the setting persists, and the wakelock is still not running! The final test will be done after it has completely charged, because there still is a small possibility that the wakelock is so far not active just because the phone was charging.
Edit 4: Straight after unplugging the phone, DataTracker-FD started running, without being connected to HSDPA (I was in a phonecall). In 17 minutes (of mostly talking on the phone) it drained 1% of the battery - so, it should last for about 29 hours with the same usage. Now I have started HSDPA and left the phone idle for 10 minutes, to see how much it drains and how much it drains after I turn data off. It just might be that, while the phone is still awake, it doesn't drain a large amount of battery. If it actually still drains a lot, this tweak definitely only /seems/ to work while charging (maybe BetterBatteryStats was reporting false data or FD just doesnt' work when charging).
Edit 5: Here's a pleasant surprise. Right after connecting to HSDPA and putting the phone to sleep, the Awake bar in Battery Usage faded out. In 5 minutes of idling with data activated, the phone drained another 1% battery - not sure how well that is, since it amounts to 8 hours of data on a full charge, but it's better than 12 hours of idling with no data on a full charge. Currently repeating the test. Just got an email on Yahoo pushed, I'll get to see the influence on awake time of that as well.
Edit 6: After 10 minutes of idling with data ON, a bit over 1% of the battery is gone. This is a fantastic value, and the Awake bar is only dotted in this period of time. DataTracker-FD seems to be running a bit in the background during the data connection, but stopped once I turned it off. It might just be me, though, because aLogCat still can't find any entries for Fast Dormancy. Now leaving the phone idle with no data for a while to look at the evolution of Awake time.
Edit 7: After about 45 minutes of complete idling, the battery went down 2%. This would mean the battery would last for about a day and a half, which is meh, considering I OC'd the phone to 730 and don't really use a task manager.
The conclusion: YES, disabling Fast Dormancy does work using the above method, and it does help battery life!
Edit 8: After another unrelated reboot, DataTracker-FD is once again awake after using data, but this time it draws significantly less battery. The Battery Usage graph shows no difference between sleep times and awake-because-of-FD times.
Edit 9: During the night, the phone drained 30% battery, once again because of some random action of DataTracker-FD. This is still not a definite fix.

"Connection problem or invalid MMI code" when I dial that number..
I remember that long ago I dialed the number and everything was fine.

Well you shouldn't literally call it, just type it in Dialer and it should open the hidden menu.

metalboy94 said:
Well you shouldn't literally call it, just type it in Dialer and it should open the hidden menu.
Click to expand...
Click to collapse
When I just type it in dialer, nothing happens.

I see. It might not work on CM.

Updated the OP a couple of times, you might want to read it.

Considering I am still on Froyo v2.2.2, could this be of interest for me too? There's no abnormal battery drain on my phone, but if I can improve the battery life by tweaking this setting, I'd gladly do it.

masteryx said:
Considering I am still on Froyo v2.2.2, could this be of interest for me too? There's no abnormal battery drain on my phone, but if I can improve the battery life by tweaking this setting, I'd gladly do it.
Click to expand...
Click to collapse
I didn't have such problems on Froyo either. It MIGHT help, but as you can see from the numerous edits to the OP, it's not a clear win yet.

So it need to be disabled twice to stop working?
I've been looking for this service since using that Battery App but theres not much information of that in the web.

I'm not sure just how many times, but it took about 3-4 times for me until I was completely sure the wakelock stopped running and the phone went into deep sleep each time I locked it.

Yeah I think I got it doing it twice, FC phone and rebooting, btw maybe you can check system/etc/flex/flex.db and flex.xml there are fast dormancy settings there

@metalboy94 I mailed LG regarding Fast Dormancy and the reply i got was that P500 does not support fast dormancy. My phone does not switch from H to 3G. I tried enabling it many times using secret menu but it does not work.
I asked him if GB ROM/Baseband supports fast dormancy, he replied saying GB hasn't been released for India

Roqu3 said:
Yeah I think I got it doing it twice, FC phone and rebooting, btw maybe you can check system/etc/flex/flex.db and flex.xml there are fast dormancy settings there
Click to expand...
Click to collapse
There are? Thanks a bunch, gonna try those methods as well!
@atulalvenkar: Well, it still draws power from the battery, so at least they could have done something to the Dialer if it's not supported at all.
Edited the OP once again.

Are you guys checking on GB or Froyo ROM ? I can't see flex.db or flex.xml in froyo ? Stock or CM7

atulalvenkar said:
Are you guys checking on GB or Froyo ROM ? I can't see flex.db or flex.xml in froyo ? Stock or CM7
Click to expand...
Click to collapse
Stock GB. I found it, but you have to fill in the info for your operator if it's not on that list. Guess which is my situation.

metalboy94 said:
Stock GB. I found it, but you have to fill in the info for your operator if it's not on that list. Guess which is my situation.
Click to expand...
Click to collapse
Yeah my operator isn´t there also (I´m on a custom V20g ROM and I´m not from Romania) but i got the flex files from the Froyo stock so im going to try using that information to replace one of the V20g operators.
Also tried putting the Froyo ones on GB but get a lot of FC

Updated the OP again...

I tried to change the FD settings in the hidden menu, but the setting does not "stick", so I don't know if it's actually OFF or not.
However, I found that DataTracker-FD only keeps the phone awake when Wifi is on. If I'm always on 3G, FD seems to work and keep the phone asleep. Overnight with wifi off and 3G on, it only drained 2% battery.
I'm on official GB2.3.3 with PaoloM's kernel v5.
Strange.

hey maybe let´s try this:
Code:
ro.ril.disable.fd.plmn.prefix=23402,23410,23411,
have to put that on the build.prop then restart, the values must be changed to your carriers code, you can get that code from adb typing
Code:
adb shell
getprop gsm.operator.numeric
Then the system should show the number

tsuda said:
I tried to change the FD settings in the hidden menu, but the setting does not "stick", so I don't know if it's actually OFF or not.
However, I found that DataTracker-FD only keeps the phone awake when Wifi is on. If I'm always on 3G, FD seems to work and keep the phone asleep. Overnight with wifi off and 3G on, it only drained 2% battery.
I'm on official GB2.3.3 with PaoloM's kernel v5.
Strange.
Click to expand...
Click to collapse
But did you see how many MBs the phone used? Cause if it's too much, people will definitely prefer just turning the phone off.
@Roqu3: I think I tried that before and it didn't seem to make a difference.
Worth a shot tho.
I'll try both of your methods if I still have the issue when I get my phone back from the service center.
Sent from a crappy rebranded Huawei using my hands

Related

[Q] SGS2 wifi constantly scanning

Hi all,
The Wifi on my SGSII is constantly scanning even though it is connected to my home wifi network (a WPA/WPA2 PSK secured connection on a G band router). The signal strength is "excellent" and I have the phone sitting right next to the router. Further, I have network notification turned off ( unchecked) and under advanced settings, my Wifi sleep Policy is set to "never".
Sprint users have reported exactly the same problem on the Epic Touch 4G" (http://forum.xda-developers.com/showthread.php?t=1272226 ). Has anyone else been experiencing the same issue on their ATT SGS2 ? I would be very grateful if someone could post a solution for this issue.
Thanks in advance
J
PS: My wifi setting screen looks like this genteman's ( except i have network notification turned off)
(http://keithandlaura.smugmug.com/Other/test/i-sMwh6bj/0/L/SC20110921-212528-L.png)
jwlkr said:
Hi all,
The Wifi on my SGSII is constantly scanning even though it is connected to my home wifi network (a WPA/WPA2 PSK secured connection on a G band router). The signal strength is "excellent" and I have the phone sitting right next to the router. Further, I have network notification turned off ( unchecked) and under advanced settings, my Wifi sleep Policy is set to "never".
Sprint users have reported exactly the same problem on the Epic Touch 4G" (http://forum.xda-developers.com/showthread.php?t=1272226 ). Has anyone else been experiencing the same issue on their ATT SGS2 ? I would be very grateful if someone could post a solution for this issue.
Thanks in advance
J
PS: My wifi setting screen looks like this genteman's ( except i have network notification turned off)
(http://keithandlaura.smugmug.com/Other/test/i-sMwh6bj/0/L/SC20110921-212528-L.png)
Click to expand...
Click to collapse
Scan rate is bumped up significantly when you're in the settings menu.
Have you confirmed via logcat that it's scanning frequently outside of the settings menu? It shouldn't be in that case - but without logcat it's almost impossible to tell.
Entropy512 said:
Scan rate is bumped up significantly when you're in the settings menu.
Have you confirmed via logcat that it's scanning frequently outside of the settings menu? It shouldn't be in that case - but without logcat it's almost impossible to tell.
Click to expand...
Click to collapse
Entropy,
What should I be looking for in logcat? I have Betterbattery stats installed and according to that, Wifi scan time is 8+ hours even though Wifi on time is only 2+ hours. That doesn't seem to make sense, but what do I know.
I am running UnNamed 1.3.1.
johny_i said:
Entropy,
What should I be looking for in logcat? I have Betterbattery stats installed and according to that, Wifi scan time is 8+ hours even though Wifi on time is only 2+ hours. That doesn't seem to make sense, but what do I know.
I am running UnNamed 1.3.1.
Click to expand...
Click to collapse
I believe BBS is reporting scan time improperly. I've seen that in a few threads.
Sent from my GT-P7510 using Tapatalk
You're probably right, except now scan time doesn't even show.
I have also observed this on my phone.
I have a Samsung Galaxy IIs, using a Sony Ericsson MW600 BT handsfree as well as a Pioneer car Bluetooth handsfree system.
I have not measured anything yet, but I notice that when the Wi-Fi scanning is going on, I get significant disturbances on both of my Bluetooth hands-free sets. Listening to music is without a hitch, but talking on the phone (Norwegian GSM - operator Telenor) is terrible.
i also noted this after installing the OTA update to 2.3.6 today. I just rooted mine yesterday after reading 54+ pages to make sure i understood everything. i had a cappy and loved installing new roms but have not taken the plunge yet on the sgs ii. I haven't noticed a huge difference in battery yet, but it has only been a couple of hours since the update.
What ROM are you running? You can edit the build.prop to change how often it looks for networks. It is the line "wifi.supplicant_scan_interval=xx". I set mine to 180 which is 3 minutes, some ROM's set it really low. Also the scan rate is bumped up significantly when you're in the settings menu like Entrophy said.
Hi,
I had the same problem where my WIFI was fluctuating.... I dont know if this is the problem/ solution but this is what happened...
My SGS 2 is already rooted and unlocked. I had flashed the Entrophy DD 12/23 first then I had flashed Unnamed Custom ROM. After rebooting the phone, I saw the Wifi was not stable. So I again did a "Wipe Factory Data Reset" and "Wipe Cache Partition" and then installed the Unnamed Custom ROM from the SD Card. My Wifi is pretty stable now.
I am not sure if you guys had this issue when flashing a ROM but this seemed to fix it.
Wifi Scan - Milliwatts
ktoonsez said:
What ROM are you running? You can edit the build.prop to change how often it looks for networks. It is the line "wifi.supplicant_scan_interval=xx". I set mine to 180 which is 3 minutes, some ROM's set it really low. Also the scan rate is bumped up significantly when you're in the settings menu like Entrophy said.
Click to expand...
Click to collapse
I have written about this wifi-battery drain a while back here in XDA.
When I used to have my Nokia symbian cell phone I used to flash custom roms
and there were a lot of nice new features after flashing.
A couple of the really nice battery saving mods were:
#1: added option to change the amount of wifi milliwatt output from 18 milliwatts (default) to 3 milliwatts
which is more than enough if the phone is no more than 20-25 feet from the wireless router.
(the mod gave the option of 3mw,6mw,12mw & 18mw)
Saves a lot of battery life.
Don't know why none of the DEVS have addressed this issue yet.
#2: added a mod so once the wifi establishes a connection it no longer scans
at all unless the connection is disconnected or lost.
So in other words, the phone only scans for wifi until it connects.
Right now I am connected to wifi with my phone and yet in settings it displays "scanning"
non-stop-constantly even though in wifi settings it displays "connected".
Why should the phone be scanning for wifi if it's already connected? (I have no idea).
Don't know why none of the DEVS have addressed this issue yet either.
Both of these mods really made a noticable difference in battery life
for for me since I do use the wifi feature in my phone a lot.
Hopefully one of the DEVS can look into these issues soon.
Now someone mentioned wifi constant scan, I noticed mine is doing the same thing. I leave the wifi setting screen on, it re-scans every 3 seconds!
Misterjunky said:
I have written about this wifi-battery drain a while back here in XDA.
When I used to have my Nokia symbian cell phone I used to flash custom roms
and there were a lot of nice new features after flashing.
A couple of the really nice battery saving mods were:
#1: added option to change the amount of wifi milliwatt output from 18 milliwatts (default) to 3 milliwatts
which is more than enough if the phone is no more than 20-25 feet from the wireless router.
(the mod gave the option of 3mw,6mw,12mw & 18mw)
Saves a lot of battery life.
Don't know why none of the DEVS have addressed this issue yet.
#2: added a mod so once the wifi establishes a connection it no longer scans
at all unless the connection is disconnected or lost.
So in other words, the phone only scans for wifi until it connects.
Right now I am connected to wifi with my phone and yet in settings it displays "scanning"
non-stop-constantly even though in wifi settings it displays "connected".
Why should the phone be scanning for wifi if it's already connected? (I have no idea).
Don't know why none of the DEVS have addressed this issue yet either.
Both of these mods really made a noticable difference in battery life
for for me since I do use the wifi feature in my phone a lot.
Hopefully one of the DEVS can look into these issues soon.
Click to expand...
Click to collapse
Power control - Not likely, unless there is some documented power control already in the driver it's not going to happen. We're in a bad enough state as it is trying to make the chip not fire interrupts at 1 Hz on the Infuse.
Broadcom is one of the least open source friendly chipset manufacturers on the planet - their drivers have NO comments or documentation whatsoever, and datasheets are not available.
The rescan stuff is probably only addressable on Cyanogenmod, messing with it would require source code for the userland wifi management stuff.
mickey4mice said:
Now someone mentioned wifi constant scan, I noticed mine is doing the same thing. I leave the wifi setting screen on, it re-scans every 3 seconds!
Click to expand...
Click to collapse
As stated earlier in this thread - this is by design. It is assumed that if you're in the settings screen you want to change networks and have an up-to-date list.
I also am having this problem. I am running the rooted UKK6 from entropy512. After turning on my wifi, my battery drained from 90% to 70% in 5 hours with no use. My android OS is running at 80-90%. I don't have any extra apps except for 3g watchdog and CPUSpy and BBS. I do have Go launcher and GoSMS installed. As soon as I turn wifi off, i can see my battery level off under settings. I have searched for the last 2 days for a "fix". no luck.
Battery Drain
hatgirl223 said:
I also am having this problem. I am running the rooted UKK6 from entropy512. After turning on my wifi, my battery drained from 90% to 70% in 5 hours with no use. My android OS is running at 80-90%. I don't have any extra apps except for 3g watchdog and CPUSpy and BBS. I do have Go launcher and GoSMS installed. As soon as I turn wifi off, i can see my battery level off under settings. I have searched for the last 2 days for a "fix". no luck.
Click to expand...
Click to collapse
Try doing a clean flash using "wipe data/factory reset" in CWM
recovery and then see if the phone has normal battery drainage.
(which it will if you flash the UnNamed v2.2.1 custom rom)
Then install one app at a time so you can find out exactly which
app is the culprit that causes your excessive battery drain.
This is the best way to trouble shoot battery drainage issues.
You will see that your battery drainage issue is not caused by
the custom rom, but it is caused by a few apps which are just
not very battery friendly.
The UnNamed v2.2.1 rom is the best custom rom currently
available for our i777 phones and it has outstanding battery life.
Good Luck!
hatgirl223 said:
I also am having this problem. I am running the rooted UKK6 from entropy512. After turning on my wifi, my battery drained from 90% to 70% in 5 hours with no use. My android OS is running at 80-90%. I don't have any extra apps except for 3g watchdog and CPUSpy and BBS. I do have Go launcher and GoSMS installed. As soon as I turn wifi off, i can see my battery level off under settings. I have searched for the last 2 days for a "fix". no luck.
Click to expand...
Click to collapse
This has nothing to do with this thread - This thread is talking about wifi scanning.
Drain problems - read my known battery drainers thread. A lot of people are having problems, there is no fix, and there won't be until all the people complaining start actually collecting some data.

[Q] ICS Passion 9.2 battery life

I just registered, so I can't ask this directly to the developer, but hopefully someone can help me out. I flashed the ICS *Passion* 9.2 beta after reading up on it and seeing all the rave reviews about it. It has been a couple days with a few charge cycles completed and my battery life is still in the hole. Does anybody have any idea why my battery life is so bad? I hardly use it, just to text a bit and browse the internet occasionally. I saw quite a few posts in it with people achieving 12-17 hours battery life with moderate use, and yet I can only manage 6 with light use. The battery menu shows the screen using quite a bit of battery, which is strange, because I have the screen off with the exception of a quick text. Help?
imageshack.us/photo/my-images/607/screenshotgn.png
I have similar battery use issues. I believe you have to have it fully charged then wipe your battery stats in the Clockwork Rom Manager menu under advanced. Fully charge again and repeat the process several times. You are probably aware but if dataswitch or wi-fi is running while not using, it will drain bigtime.
T959 Vibrant
ICS Passion v9.2
jpatt said:
I have similar battery use issues. I believe you have to have it fully charged then wipe your battery stats in the Clockwork Rom Manager menu under advanced. Fully charge again and repeat the process several times. You are probably aware but if dataswitch or wi-fi is running while not using, it will drain bigtime.
T959 Vibrant
ICS Passion v9.2
Click to expand...
Click to collapse
Wrong about last part.
I run wifi 24/7 and get 20+ hours light use of course.
I'll give you some of my settings I did to make it like this when I get to a computer I don't like typing long things on phone.
Sent from my SGH-T959 using xda premium
There are some apps and explanations for download in my Battery Guide, post 3, that may help with this too.
Listen to Rider though. He's been on ICS since the beginning. Send some if those settings my way and ill put them in the guide if you want/don't mind.
HNY buddy.
Ok, i will list a few things I ALWAYS do on ICS right after flashing.
Settings> Display > Brightness to lowest ( i don't like the high brightness it hurts my eyes if i need it i turn it up) My Screen display time is set to 2 minutes (i don't think it matters unless if you just turn your screen on and leave it there)
Accounts and Sync > Sync everything right after flash and then disable syncing of Google Photos and Calendar (unless if absolutely necessary)
Also if you sync things like Gmail and what not, try to set the sync time 1 hour + mines set at a hour.
I also use Titanium Backup PRO to freeze DRM protect- , Email, and email exchange ( i only use GMAIL so i don't need another app taking any space) if you don't use gmail, freeze it.
I don't like using GPS because I know the places I go to. I know the roads near me etc. GPS shouldn't be THAT big of a problem if you remember to turn it off after using.
Settings> Location> all of mine are unchecked, if you do use GPS frequently then check the ones necessary. I don't like Google knowing where I live, it does no good just wastes a little bit more battery.
I use SETCPU(paid) you can use Voltage Control (free) and change your frequencies to minimum: 100 max: 1000 and then menu > set on boot or something similar. If you don't set it on boot, right after a reboot its going to change.
Thats basically all the things i do at a fresh rom flash. I might update this post if I miss something.

[Q][View] Battery/Screen Question

Hello, everybody. Newb here (only have had the HTC Evo View 4G for a couple of days now). I have a question about the battery and screen. Is it regular for the screen to use up about ~60 percent of the battery? (According the usage stats). I find that the screen is bright, even on the lowest setting.
Also, I have a question about the battery. It seems to be draining a little quick (I am using lowest brightness and WiFi only). Could some people share how long their battery usually lasts for regular usage? I don't think it's a hardware issue. Like I've said, I've only had it for 2 days, so I don't know if I still need to wait a little.
Thanks!
The screen is one of the biggest battery drainers (if not the biggest) on tablets. So if you are using the tablet a lot, and the screen is on for long periods of time, then 60% seems normal. I don't have my Flyer with me right now to check what my % for screen is.
Battery drain is going to depend a bunch on how much you are using your View, and for what. With moderate usage, I can get around 2 days on a charge. I'd say that is about average for me. But if you are downloading big files and gaming, and/or have the screen on a lot, it can be significantly less.
redpoint73 said:
The screen is one of the biggest battery drainers (if not the biggest) on tablets. So if you are using the tablet a lot, and the screen is on for long periods of time, then 60% seems normal. I don't have my Flyer with me right now to check what my % for screen is.
Battery drain is going to depend a bunch on how much you are using your View, and for what. With moderate usage, I can get around 2 days on a charge. I'd say that is about average for me. But if you are downloading big files and gaming, and/or have the screen on a lot, it can be significantly less.
Click to expand...
Click to collapse
Okay, that makes sense. The battery life seems to be getting better. One more question. I want WiFi to turn off after a certain amount of time once the screen timeouts. Is there any way to do this in the settings or with an app? The settings (official 3.2) has a WiFi timeout policy that gives three options:
Switch from WiFi to mobile data when screen is off
Never switch WiFi off
Never switch WiFi off when plugged in
I live in Canada and don't have a plan. Would using the first option drain more battery because it is looking for a connection? Or should I use the third option?
Thanks again.
Hmm, not sure. I have the WiFi only version of the Flyer, and on mine the first choice is just "When screen turns off". The first choice on your View is weird. Mobile data always uses more power than WiFi, if both are available. I don't see why you would ever want that.
BTW, I'm at home and have access to my Flyer now. Battery usage for screen is 52% for me. So I'd say 60% you mentioned is pretty normal.
You should also take into account, unless you've taken steps to turn it off/remove it, Cell standby might also be causing your battery life to take a hit. Since the View is set up to also be able to receive text messages, out of the box it's constantly trying to connect to Sprint's cellular network, even if you have mobile data turned off. This thread discusses ways to deal with it. Cell standby used to be one of the biggest users of my battery. Now, it's no longer a problem and I've seen a major increase in battery life.
As for the WiFi issue, the first choice in the settings actually says "When screen turns off (uses more mobile data)." That doesn't mean that it automatically switches mobile data on if you've turned it off in the settings by selecting that option. It's worded that way because the View is designed to be used on Sprint's network, so under normal circumstances it is assumed that if you turn WiFi off, you'll have a data plan and automatically connect to the mobile data network. If you don't have an account with mobile data from Sprint, and you've turned off mobile data in the settings, it won't be an issue because you have nothing to connect to.
bsweetness said:
As for the WiFi issue, the first choice in the settings actually says "When screen turns off (uses more mobile data)."
Click to expand...
Click to collapse
That makes much more sense.
Okay, thanks everybody. I really appreciate it. With heavy usage (basically using it all the time) I'd get about 6 hours and 10 minutes. Is that normal for everybody else?
Also, I have a couple of more questions, if you guys don't mind.
First of all, could rooting my device boost my battery life? Would it give me more access to settings like screen brightness?
And, do apps running in the background use battery life or are they 'frozen' until active? This sort of leads me into my next question. Is having 400-500MB of RAM always being used normal? Is the OS using all of it?
And I notice that when I put my tablet in airplane mode (to kill the 4G radio) I lose access to Bluetooth. Is this normal and will turning off airplane mode for a minute be a battery drain?
Thanks again, guys.
nubyw00tz said:
Okay, thanks everybody. I really appreciate it. With heavy usage (basically using it all the time) I'd get about 6 hours and 10 minutes. Is that normal for everybody else?
Also, I have a couple of more questions, if you guys don't mind.
First of all, could rooting my device boost my battery life? Would it give me more access to settings like screen brightness?
And, do apps running in the background use battery life or are they 'frozen' until active? This sort of leads me into my next question. Is having 400-500MB of RAM always being used normal? Is the OS using all of it?
And I notice that when I put my tablet in airplane mode (to kill the 4G radio) I lose access to Bluetooth. Is this normal and will turning off airplane mode for a minute be a battery drain?
.
Click to expand...
Click to collapse
Answers:
Rooting won't necessarily boost battery life, but does give you ways to access more system items if you want using apps that take advantage of root.
Android attempts to keep non-rumming apps in memory so that it can load them faster in the future (Ram is much faster than SD memory). 80% Ram full is typical.
Airplane mode turns off all radios, BT, Wifi, GPS, 3g.
There are apps in the market that can turn various things on / off based on your environment / time / conditions
nubyw00tz said:
First of all, could rooting my device boost my battery life? Would it give me more access to settings like screen brightness?
Click to expand...
Click to collapse
You don't need root access to adjust screen brightness. Settings -> Screen -> Brightness.
nubyw00tz said:
And I notice that when I put my tablet in airplane mode (to kill the 4G radio) I lose access to Bluetooth. Is this normal and will turning off airplane mode for a minute be a battery drain?
Click to expand...
Click to collapse
DigitalMD said:
Airplane mode turns off all radios, BT, Wifi, GPS, 3g.
Click to expand...
Click to collapse
Airplane mode turns off all radios initially, but then you can turn almost all of them right back on (except for the cellular radios). I run mine in airplane mode all the time to keep the cellular radio completely inactive, but I still use WiFi, GPS, and Bluetooth when I need/want them, and they all work great. Are you running Gingerbread or Honeycomb? I do seem to remember some mentions of not being able to use Bluetooth in airplane mode on Gingerbread. It works perfectly fine on Honeycomb.
And you can turn off the 4G radio and all data service without turning on airplane mode (Settings -> Wireless & networks -> Mobile network). Doing this turns off all radios that receive data from the cellular network, but it doesn't turn all cellular functions off since the View is also set up to receive text messages. That's what airplane mode or any of these options address.
What I meant by adjusting the screen brightness was being able to control its range more than I can right now (I feel that even the lowest setting can be too much). But it seems that rooting/installing a custom ROM wouldn't do too much for the battery.
But my issue with airplane mode is that I can't turn on Bluetooth with it (Bluetooth is 'grayed out'). I am running official Honeycomb.
nubyw00tz said:
But my issue with airplane mode is that I can't turn on Bluetooth with it (Bluetooth is 'grayed out'). I am running official Honeycomb.
Click to expand...
Click to collapse
Did you try tapping on the box for Bluetooth in the settings even though it looks like you can't, and did you try using a widget to turn it on? I'm using stock OTA Honeycomb, and Bluetooth works perfectly fine for me while in airplane mode. I can turn it on in the settings (the box does look a little "grayed out," but you can still select it) or via a homescreen widget. If you can't turn it on with either of those, then it would seem that you've got some other type of problem. It works fine for me. I just tested it out again.
bsweetness said:
Did you try tapping on the box for Bluetooth in the settings even though it looks like you can't, and did you try using a widget to turn it on? I'm using stock OTA Honeycomb, and Bluetooth works perfectly fine for me while in airplane mode. I can turn it on in the settings (the box does look a little "grayed out," but you can still select it) or via a homescreen widget. If you can't turn it on with either of those, then it would seem that you've got some other type of problem. It works fine for me. I just tested it out again.
Click to expand...
Click to collapse
I just tried it. It seems to not be working for me, but it doesn't seem like a glitch but something built into the OS (I tried with a widget and it did a little 'no' animation). It's alright, I rarely use Bluetooth anyway.
Thanks for all of your help (plus everybody else, too)!
nubyw00tz said:
I just tried it. It seems to not be working for me, but it doesn't seem like a glitch but something built into the OS (I tried with a widget and it did a little 'no' animation). It's alright, I rarely use Bluetooth anyway.
Thanks for all of your help (plus everybody else, too)!
Click to expand...
Click to collapse
I'd venture to say it's not something built into the OS. If it is built into the OS, then there's a glitch that allows me to use it under the same circumstances, and glitches rarely enable functionality. They almost always cause a device to lose functionality like you're experiencing. I'd be curious to know if anyone else is having the same issue you're having.
Last time I have ran battery test on my Flyer I ran it for almost 11 days on one charge. Yeap, 11 days. I mostly used Flyer as a notepad, checked orders on website couple of times a day, read emails. One day I played a game for about 20 minutes. At the end I set up and tested Plex and Google Music. I stopped the test at 11% charge. Overall screen was on for a bit over 4 hours (40%). Wi-fi on for 16 hours (only 4% ??) according to stats. That's pretty much it. Tablet idle 43%. Fairly light usage, but I mostly was testing how much of useable time I can get out of it. 11 days is a pleasing result.

[Q][Solved] How to debug "Android-System" power consumption

Hi everyone,
I've done very much try and erroring to find out which app is draining my battery and if it's really neccessary.
As you can see on the attachment, it looks really nice already. The only thing which drives me crazy are those long and often "Aktiv" (Awake) parts. I couldn't find any information on the SDK pages.
My Phone seems to be very often Awake while in standby. I can't understand why it has to wake up that often. Am I right, that this "Awake" means, that the cpu is running (not in sleep mode)?
Is there any way to log which software is waking the device up?
Greetings
Chris
Yep, "awake" means that cpu is running. Try Badass Battery Monitor, it has a list called AppSucker, that lists the apps by battery consumption
Thanks. That is exacly what I was looking for.
Now I'm still sure, that there is somethink wrong with the battery consumtion. As you can see on the attachment, "Android-System" takes 2 hours(!) for some stupid things.
These are the datas for one night (it was a short one ) The phone wasn't used at all. Is that normal? I mean, thats nearly 30% of the time. Okay, the total capacity loss seems okey, but the phone hast absolutly nothing to do. Except for some interrupts of from the baseband and some cronjobs maybe. But that doesn't need 2 hours.
Any suggestions what courses these long awake times? Or another way to debug this?
Thanks
Chris
Android-system, huh? Seems like you have a wrong config, or a service is keeping awake the CPU...
Sorry, I dunno other way to debug it, but you already tried to calibrate your battery? (let that your battery runs out, charge it fully and, without unplug the charger, go to Recovery >Advanced >wipe battery stats. Unplug and reboot).
Yep, that was the first ding I did.
I'm running IceColdSandwich - 7.4 - AOKP STRIPPER EDITION. Maybe this is some kind of bug.
Maybe someone have another idea how I can debug this. Nevertheless thanks for helping.
You should check to see if Sync is turned on. This will cause the phone to wake up to contact any accounts you have set up to sync... I would suggest setting sync to off unless wifi is available.
On my rom (Gingerbread base) the wifi is turned of when the screen is off, which will make sure that google will never try to sync while the phone is idle.. The downside you will have to wake the phone in order to receive emails and stuff via wifi, and if not on wifi you will have to check your email manually.
I think I found it. Badass Battery Monitor showed that "Google Backup Transport" is part of Android-System, so I removed it. I didn't use it anyway.
My phone is not crashing, I still runs smoothly. The keep-awake time shrinked to 30m during 7h (including short uses). That seems totally legit for me.
Thanks for helping
Chris

Need help in debugging/finding battery drain reason

Hello forum,
background info:
I have a rare Pansonic Android 5.0.2 phone (DMC-CM1) with an excellent camera, what is the reason why I want to keep this device.
There are NO custom roms available and no info about key combinations on how to get into stock recovery mode. I can go there with adb of course.
I found a key combination to get into fastboot, but Wiping cache/data to reset the device apparently did nothing, even if wating for hours. It seems as well as if Panasonic tampered with the stock bootloader :/ This is why I had to send it to service (adb was not enabled before).
They reflashed the device with 4.4.4 and I installed the updates to 5.0.2 OTA. Everything seemed fine until...
present problem:
...now I have a strange battery drain. Bevor I sent it it, I had about 2-3 days usage time with average usage, a little messageing, a few fotos. I do not use the phone much.
Now I get a maximum of around 16-20 hours out of it while it is just resting on the table. It also gets warm.
what have I done so far:
- I rooted the device and installed better battery stats from the forum here. It shows around 8-10% usage per hour. Before the problem showed, I had 1-2% usage.
- I uninstalled EVERY own installed app and even booted into safe mode -> same problem
- I disabled all google app packages -> same problem, but improved it a little
When I check the battery via android settings, it is telling me that "android-system" is using >20% of the battery. In active apps I can see this app is running the fast dormancy service. When I kill this service and force the complete app to stop, it gets _a little_ better, around 5-6% usage.
I recently killed forced stop on all services that where not qualcom or seemed essential to me and disables wifi and bluetooth and over night usage dropped to <1%/h, which seemed the problem could lie somewhere with services.
However using adb shell and pulling "top" info, I dont see a process using much CPU.
What else have I noticed, which might be unrelated:
-After charging I see a 100% wakelock from qpnp-charger, that disappears only after rebooting. Might indicate that something with qualcom is "wrong".
-I set wifi to be _never_ be running in sleep mode. Better battery stats is telling me, that wifi is 100% of the time running, even if I can see the symbol for wifi is not showing and comes up a few seconds after I wake the phone
You can see, I might need help on how to identify the problem here.
Any hints, tips, advice?
Please excuse my "messy" english, it is not my native language.
regards
Stefan

Categories

Resources