Android System keeping phone awake? - Nexus S Q&A, Help & Troubleshooting

This is what I have under Android System (awake for 1 hr today and phone has been on for 11 hrs):
Google Backup Transport (I disabled the G backup/restore)
Android System
Settings Storage
CyanogenMod settings
VPN Services
Settings
Theme Chooser
Status Bar
Account and Sync Settings
How do I get rid of this wake time? I have a CPU foreground of 57s but Keep awake of 1h 0m 7s. My dialer is was also awake for 45 minutes as others have reported.
Someone help!

What is your display on time?o usually the android system counts as awake when screen is on.

RogerPodacter said:
What is your display on time?o usually the android system counts as awake when screen is on.
Click to expand...
Click to collapse
Pretty sure that is not accurate. Screen wasn't on for an hour anyway.

Does your phone stand-by on WiFi and WiFi sleep policy = NEVER?
Because I got same issue with Dialer is awake:
http://forum.xda-developers.com/showpost.php?p=11015261&postcount=12
Last night it was awake for more than 3 hours!
And I did not use my phone for calling, only sending couple of SMS.
hah2110 said:
Pretty sure that is not accurate. Screen wasn't on for an hour anyway.
Click to expand...
Click to collapse

Related

[Q] Nexus S stock 2.3.4 and how to check keep-awake culprits

Hey guys,
N00b here.
I've read the n00b guide and also searched around in the forum. I did find a thread similar to mine however I couldn't really get any useful info out of it and maybe since then new tools are available to help me track my problem, so I post my question.
So... on to it...
My Nexus S is suddenly having high keep-awake times. About phone tells me a battery usage of 32% android system, followed by 21% Display. Android system has a keep awake time of 3h 51m and a CPU total of 7m 52s. All this over the course of 19 hours. I don't have a screenshot with me but it's clear that the phone is awake a lot when the screen is off.
Automatic updates are off.
Some days ago everything was fine. My google acount is only synching contacts and calendar and even that is turned off when I'm not at home. Even so, I saw a high usage of the keep-awake bar even when the screen was off.
I've installed some weather widgets and battery info widgets and the update cycles of weather applications are around 45 mins so I wouldn't see a reason for such a high period of keep-awake cycles.
Anyway, each phone is a phone, is there an application that can tell you what is keeping the phone awake ? I have installed Watchdog lite but it doesn't show anything abnormal. I've installed Spare Parts Plus but it can't show me the battery usage history because apparently stock 2.3.4 Gingerbread doesn't support it.
So now I'm stick with trying to disabled notifications on one app, remove its widget and see if it helps. If it doesn't.. go to the next. This is quite tedious work really.
Still the battery life is ok I guess... 50% after 19 hours however I haven't played around with it much but I would be happier to have a low keep-awake cycle for the Android System like I had some days ago.. makes me feel like everything is fine
Thanks for any hints guys!
Having the same issue as well.. I have my widgets and such to only check every 4-6 hours, but the awake time in the battery stats is nearly on all the time.
Keep awake time is 4 hours and 22 min, out of 12 hours of battery. I'm left with 42 % battery with only 1 hr 15 min on screen time (texts and such, no games).
Hmmm a memory drain of 60% in 1 hour is quite a bit heavy. I would suggest you to download Watchdog lite from the app store and use it's real time CPU analyzer to try and see what's consuming the most.
Once I had weatherbug going rogue. But then it showed up in the battery usage list with a high CPU usage and clicking on the item I could see a high awake time so I uninstalled it.
At the moment I've removed some of my widgets and so far it seems to be OK. However tonight I had some weird awake times again. I uninstalled Battery Info widget from the phone and I'll see if it all goes well tonight. Then I'll start to activate the other widgets I had deactivated before to see what happens.
Also I downloaded aCatLog from the app store. Pretty interesting tool... you can see what's going on in the logs. I see a few Java exceptions every now and then.. never a good sign as they might not be handled properly by the application code that threw them. I see evernote synch problems, a data traffic counter throwing exceptions and K-9 to have problems with idle connection reset by peer. And I often see the garbage collector working. But I assume all this is normal. Switching to the event log it's too much information to absorve. Nevertheless I haven't seen in any of those logs an explicit request or grant of a system wake lock.
mindwalkr said:
My Nexus S is suddenly having high keep-awake times.
Click to expand...
Click to collapse
Did you recently enable Latitude, by any chance?
Try top -m 5 -n 1 in terminal
fallenguru said:
Did you recently enable Latitude, by any chance?
Click to expand...
Click to collapse
No Latitude enabled
snandlal said:
Try top -m 5 -n 1 in terminal
Click to expand...
Click to collapse
Do I need to download Terminal Emulator from the market to do this ? Or do I need to download the Android SDK and connect to the device via USB ? I need to check out to do this, never done it before and this is my first android phone.. only a week old
Again this morning my awake time was on for quite a bit (I guess 1 hour). I got an extract of the main log...
Some things are curious, the following occurs more or less each half hour. I am signed out of gtalk why was the service trying to keep alive ?
06-08 06:10:03.656 W/GTalkService( 189): [GTalkConnection.18] doConnect: caught XMPPError connecting to mtalk.google.com:5228.: (502)
06-08 06:10:03.656 W/GTalkService( 189): -- caused by: java.net.SocketTimeoutException: Connection timed out
06-08 06:10:03.660 D/GTalkService( 189): [GTalkConnection.18] connectionClosed: connId=0, error=CONNECTION FAILED
This is also giving me trouble, I might uninstall my Traffic Counter app
06-08 06:42:30.710 W/System.err( 4015): java.io.FileNotFoundException: /data/data/com.carl.trafficcounter/app_pref_bytes_last/0_0_bytes_last (No such file or directory)
Evernote seems to have some issues as well sometimes
06-08 06:44:36.371 I/com.evernote.android.edam.TAndroidHttpClient( 5320): 25: Response received in: 126718ms
06-08 06:44:36.398 E/com.evernote.client.SyncService( 5320): Sync failed
06-08 06:44:36.398 E/com.evernote.client.SyncService( 5320): org.apache.thrift.transport.TTransportException: java.net.UnknownHostException: www.evernote.com
And that's all I could see. Everything else seems to be garbage collection WiFi activities and what not..
It seems that I've narrowed down Go Weather as what's making my Android System stay awake. I couldn't see anything really useful on logcat about this but empiric observations seem to confirm it.
If I remove the Go Weather widget and turn off it's background updates (hourly), then restart the phone... I see the Android System incrementing some 3-4 mins keep awake time per hour. If I set the widget again and turn on Go Weather's background updates, after an hour the Android System keep awake time goes up like 15-20 mins or so. If at this point I remove the Go Weather widget and turn off it's background updates, the Android System keep awake will still go up at the same rate as if the Widget was there. If I restart the phone without the widget, then the Android System keep awake seems to increase back to regular 3-4 mins per hour.
The funny thing is that according to Permission Dog, Go Weather doesn't even use the WAKE permission so I would rule it out as what was keeping Android System awake.
Android System was driving me crazy too. I figured out that when my WiFi was enabled, it would continually keep the phone awake when the screen was off. So I just toggle the wifi off when I'm not using it, and android system behaves now.
I'm curious as to what changed though, because when I was using stock 2.3.4 and CM7.0.3 I would leave wifi on all day, and android system didn't cause any battery issues.

12 hr idle = 50% battery drain!

Hi guys. The idle battery drain is ridiculous in my transformer. I charged it over night and left it home idle for 12 hours. And there's only 52% battery left. I checked the battery usage and it says 34% are from wifi, but I setted it to wifi off when screen is off. Beautiful Widgets consume 15%, tablet idle 11%, android os 10%, screen 10%. My tablet is almost a week old and I'm running prime v 1.7 with default settings. And is there any free Widgets that lets you toggle wifi,bt, auto sync, and etc....?
Sent from my Transformer TF101 using Tapatalk
I'm running the same rom and i don't have that kinda drain. May be some app running in the background? May be wipe and start with clean slate?
Beautifulwidgets come with all the toggle widgets you need.
Turn of background sync and put in airplane mode and see if this helps, i turn mine off when i am not using it for a extended time.
thebigham said:
Hi guys. The idle battery drain is ridiculous in my transformer. I charged it over night and left it home idle for 12 hours. And there's only 52% battery left. I checked the battery usage and it says 34% are from wifi, but I setted it to wifi off when screen is off. Beautiful Widgets consume 15%, tablet idle 11%, android os 10%, screen 10%. My tablet is almost a week old and I'm running prime v 1.7 with default settings. And is there any free Widgets that lets you toggle wifi,bt, auto sync, and etc....?
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
Obviously something is taking wakelock. That's the only way you can get drain like that. Start uninstalling apps and widgets until it goes away. I would start with Beautiful Widgets, because it's on the Consuming Power list. Widgetsoid is free, and has alot more function.
I had this same problem.
I had the same problem, and you can check the responses over at this thread if you like: http://forum.xda-developers.com/showthread.php?t=1222410
Basically, for me I had the tablet charged to 100% and it would drop to ~50% after 15 hours of being idle and not touching the thing once. I had WiFi set to turn off when the screen turns off, and all other settings adjusted to try and save battery life. Google Maps was the biggest user of battery while the tablet should have been sleeping.
For me, the problem turned out to be Latitude. Latitude was waking my tablet, turning on WiFI and updating the location while the tablet should have been sleeping. I had to sign out of Latitude completely. This fixed all the battery issues I was having. Now if I need to use Latitude, I will sign back it, update, then sign back out. Kind of annoying, but it is what it is.
Hope this helps...
Grab "Auto Airplane Mode" widget from the market - it turns off all wireless radios, WiFi and BT when they screen turns off

[Q] WiFi Sleep Policy

My WiFI Sleep Policy is set to default (After 15 min) however the WiFi is always on. The icon is there when I turn my screen on. Checked the battery usage graph also, and WiFi is always on (as long as I don't turn if off manually).
I have a stock ROM, the latest European stock ROM.
Is this a bug? What does 'After 15 min' actually mean?
I believe it means the wifi will turn off 15 minutes after the screen goes off, and then back on with screen on.
I thought so too, but mine isn't doint that.
teomor said:
I thought so too, but mine isn't doint that.
Click to expand...
Click to collapse
I know there was a recommendation to set "Never" as the sleep policy. I can't find that post unfortunately. I know on my Desire with CM7 it resulted in better battery life, counter intuitive but......
I know. I've had it set to Never on my Desire. But now I'm seeing longer standby with the current setting (After 15 min) on my Sensation compared to the Desire. Although I suspect it isn't working and it's actually never turning off.
teomor said:
I know. I've had it set to Never on my Desire. But now I'm seeing longer standby with the current setting (After 15 min) on my Sensation compared to the Desire. Although I suspect it isn't working and it's actually never turning off.
Click to expand...
Click to collapse
Lol, same upgrade here. TBH I've left it at Never and not tried the other policies.
I use WiFi when at home, I'm on a 3G data plan ( I'm guessing WiFi sleeping means I wouldn't get updated Gmail. Or does it revert back to 3G ?
WiFi sleeping means going back to 3G, yes.
teomor said:
WiFi sleeping means going back to 3G, yes.
Click to expand...
Click to collapse
Thanks, might just try it and see.
Does anyone think that instead of going to sleep after 15 minutes of the screen being turned off (regardless of whether there are background apps that have active internet connections), the WiFi actually starts sleeping after 15 minutes of idle time? I think this would be a better efficiency algorithm, so, as long as you have apps that constantly use the internet, keep WiFi connected, but when no apps are doing auto-sync or any background data, only turn on WiFi when manually using the apps..
Applications can be programmed to call for a WiFi lock. If any active application does so, WiFi won't shut off when the phone is asleep.
gol_n_dal said:
I know there was a recommendation to set "Never" as the sleep policy. I can't find that post unfortunately. I know on my Desire with CM7 it resulted in better battery life, counter intuitive but......
Click to expand...
Click to collapse
I remember that old tips thread. It was set your wifi sleep policy to never. Install spare parts+ or pro and set end button behaviour to sleep. And something to do with Market app. Settings->notifications-> uncheck the box. For some reason market notifications were not allowing your phone to go to sleep properly or some garbage like that. Its worth a shot.

If you experience high standby drain, try this

I was experiencing very high standby battery drain when moving but when I am home it was quite good... In a 12 hour day I would get 6 hours SOT if I was at home and less than 2 if I was out for most of the day and the phone would die while I am out...
So I did a number of things and I dont know what exactly was the reason for the improvement but it definitely has something to do with background location checks...
Disable Google location history
Go into Accounts settings and disable sync for all Samsung services
Open powersaving mode and disable all the optimizatioms except for "Background Data Usage" and this will automatically disable background location checks
Maybe cellular reception or GPS signal in my country is bad I am not entirely sure but these modification made a huge improvement in standby for me... Now I finished an 11 hour day with 2 hours of SOT... And I have 50% left...
My settings are: AOD on, Sync on, Location: High Accuracy, Bluetooth on, 4g on when screen on, Screen Resolution set to WQHD+...
Note: this will probably kill Google Now notifications because it can't get your location until you open it

New Phone Battery Problem

I bought Poco X3 Indian version yesterday but battery life is horrible.
It dropped by 3% overnight with wifi and data on.(other settings r at default)
In normal usage also (just using whatsapp) it dropped from 86% to 70% in around 5 hours.
Is this normal or should I get it replaced?
Everything is updated to latest available version including MIUI.
Thank you.
Shubham0779 said:
I bought Poco X3 Indian version yesterday but battery life is horrible.
It dropped by 3% overnight with wifi and data on.(other settings r at default)
In normal usage also (just using whatsapp) it dropped from 86% to 70% in around 5 hours.
Is this normal or should I get it replaced?
Everything is updated to latest available version including MIUI.
Thank you.
Click to expand...
Click to collapse
You are not very clear about the settings you use, display refresh rate, auto sync, authorization, wake screen for notifications etc. You also have no mentioned the apps you use nor the additional apps you have installed or their settings.
My poco X3 Indian Variant gets 13.8 hours screen on time. Take some time to understand the hidden settings and optimize the settings that determine your battery accordingly.
Here are my top recommendations.
1: Refresh rate 60.
2: Sync Off.
3: Unauthorize system apps.
4: Turn off recommendations in all system apps.
5: Set region to USA.
6: Turn off haptics.
7: Do not use buiit in apps, always use third party for browser, launcher, video etc.
8: Turn off WiFi scanning (separate option from WiFi) and turn off GPS.
9: Turn off wake screen for notifications.
10: Remove any pre installed bloat.
I lose 1% battery overnight from 10pm to 8am. WhatsApp usage is around from 100% to 92% in five hours. So your values are normal and it is not a defect. Just adjust your settings one by one and you should be fine.
Alrich said:
You are not very clear about the settings you use, display refresh rate, auto sync, authorization, wake screen for notifications etc. You also have no mentioned the apps you use nor the additional apps you have installed or their settings.
My poco X3 Indian Variant gets 13.8 hours screen on time. Take some time to understand the hidden settings and optimize the settings that determine your battery accordingly.
Here are my top recommendations.
1: Refresh rate 60.
2: Sync Off.
3: Unauthorize system apps.
4: Turn off recommendations in all system apps.
5: Set region to USA.
6: Turn off haptics.
7: Do not use buiit in apps, always use third party for browser, launcher, video etc.
8: Turn off WiFi scanning (separate option from WiFi) and turn off GPS.
9: Turn off wake screen for notifications.
10: Remove any pre installed bloat.
I lose 1% battery overnight from 10pm to 8am. WhatsApp usage is around from 100% to 92% in five hours. So your values are normal and it is not a defect. Just adjust your settings one by one and you should be fine.
Click to expand...
Click to collapse
Thanks for the reply
Display is at 120hz
Sync is on
GPS is off
Bloatware is removed except for the system apps
Wake up on notification is on
Wifi scanning was on but it was connected to the wifi all night
haptics are turned off
I am using 3rd party apps only
**What do you mean by unauthorize system apps?
Go to Authorization And Revocation in settings and remove authorization of all apps except Security + System Apps Updater + Updater.
Also make sure you turn of "Receive Recommendations" in every MIUI app. These settings are hidden throughout the system and there is no universal toggle to turn them all off at once.
As far as your settings which you use, the battery drain you are seeing is normal.
3% Overnight = Normal
15% Over 5 Hours = Normal.
Enjoy Poco X3

Categories

Resources