Weird Android OS problem - Xperia Z3 Q&A, Help & Troubleshooting

Hello guys,
I have a problem with my Z3 for about 3 weeks now. After approx. 3 days without reboot, Android OS would just start to keep my phone awake equal to the time that the screen is off. So if for example Android OS is at Keep awake for 26m 35s and I turn my screen of and on after 5 minutes it would be at 31m 35s if you get what I mean. The phone is constantly active and does not go into deepsleep. Wakelock detector just came up with the Kernel doing **** in the background which doesn't really help... I've already done a factory reset which helped for ~ a week.
The funny thing about this is, that if I reboot the phone, Android OS keep awake changes to 0 seconds and stays there until I charge my phone again... This seems really odd to me...
Jumping from 6 hours or so to 0s just because of rebooting isn't normal..
Anyone can help ??

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.

Battery Problems

I'm using a Nexus 5, its my first Android device, and so my first time rooting.
I rooted yesterday using the Android SDK, and installed TWRP.
The root worked perfectly, and I have tested it. All I have done since rooting (unlocked boot loader at the same time, so I'm clean on stock), is install a few Play Apps like Twitter, WhatsApp and then BusyBox and dSploit.
I haven't added any customisations or anything, and my battery is now awful!
i.imgur/AkdAKjW.jpg (Can't post links yet)
My screen has been on for 50 minutes...
I have brightness on the lowest setting, have turned off vibrate on touch, turned off Wi-Fi, turned off Location, set to use 3G not 4G, set display to turn off after 15 seconds...
Im sure it can't be anything to do with the root, but I don't really know too much about it. Is there a problem with 4.4.2 and battery life?
What else can I do to improve it?
Ideally I'd like to be able to have a max of 3-4 hours screen time, and the device to last for 14-15 hours.
I was easily getting 14 hours before I rooted/updated, but now my battery life has just screwed up.
Why is the OS using up so much?
7ewis said:
I'm using a Nexus 5, its my first Android device, and so my first time rooting.
I rooted yesterday using the Android SDK, and installed TWRP.
The root worked perfectly, and I have tested it. All I have done since rooting (unlocked boot loader at the same time, so I'm clean on stock), is install a few Play Apps like Twitter, WhatsApp and then BusyBox and dSploit.
I haven't added any customisations or anything, and my battery is now awful!
i.imgur/AkdAKjW.jpg (Can't post links yet)
My screen has been on for 50 minutes...
I have brightness on the lowest setting, have turned off vibrate on touch, turned off Wi-Fi, turned off Location, set to use 3G not 4G, set display to turn off after 15 seconds...
Im sure it can't be anything to do with the root, but I don't really know too much about it. Is there a problem with 4.4.2 and battery life?
What else can I do to improve it?
Ideally I'd like to be able to have a max of 3-4 hours screen time, and the device to last for 14-15 hours.
I was easily getting 14 hours before I rooted/updated, but now my battery life has just screwed up.
Why is the OS using up so much?
Click to expand...
Click to collapse
Is this not the first charge since you first saw the problem? The Android OS bug occurs sometimes. I would reboot and see how it is on the next full cycle.
sreen may be turning in coz some apps might be asking for root access.
I think you try greenify app and hybernate useless apps, m sure this will help you.

Display standby time changes automatically

Hi,
I have my OP7pro since 3 months and overall I like it, but there are some things that f*** me up.
One of these things is that the device seem to change the display standby time (time until the display turns off) by itself every few minutes. Default is 15 seconds but I want to set it to 1 minute. I don't know how often I've changed again from 15 seconds to 1 minute again and I don't know what could cause this behavior. Until now my OP7pro is not rooted and I run Oxygen OS 9.5.11 with no modifications.
I have turned off every battery optimization features and RAM booster options I could find but the device keeps changing the settings.
Does anyone know what I could check? Is this OP related or Android 9? This is my first OP phone and also my first phone with Android 9. It is very annoying. There are some other annoying things but this would be another topic.
I would appreciate if some could help.
Thanks.
GP
You could possibly go to the official OnePlus web site and register a bug complaint...which doesn't fix your immediate issue.
You can also try the painful factory reset to see if that helps. Drastic...yes...but sometimes this will clear out many cobwebs in the system and help smooth things out. Otherwise this is the first time I've heard of this issue.
General-Pain-666 said:
Hi,
I have my OP7pro since 3 months and overall I like it, but there are some things that f*** me up.
One of these things is that the device seem to change the display standby time (time until the display turns off) by itself every few minutes. Default is 15 seconds but I want to set it to 1 minute. I don't know how often I've changed again from 15 seconds to 1 minute again and I don't know what could cause this behavior. Until now my OP7pro is not rooted and I run Oxygen OS 9.5.11 with no modifications.
I have turned off every battery optimization features and RAM booster options I could find but the device keeps changing the settings.
Does anyone know what I could check? Is this OP related or Android 9? This is my first OP phone and also my first phone with Android 9. It is very annoying. There are some other annoying things but this would be another topic.
I would appreciate if some could help.
Thanks.
GP
Click to expand...
Click to collapse
Hmm.. do you have any Tasker profiles which might be doing that? I have set it to 30 secs and don't have any issue

(HELP) Zenfone 6 Screen on Time drop after update to Android 11

Hello my dear old friends.
It's been a while since i don't write on XDA but i have a problem that i can't solve.
I have a Zenfone 6 since 2 years, i have been allways super happy with this phone: good camera, good perfromance, good battery and, best of all, 7:30 hours of Screen on time with 2 days of use per single charge...
Since the last update to android 11 my screen on time dropped badly ...i can barely reach 6 hours... tipical resoult is 5:30 hours...
This means i have "magically" lost 2 hours of screen on time...
Searching the web i have found some advice that i tried:
-disable facebook services
-disalbe some functions...
- factory reset
- back to android 10
- back again to android 11
- another factory reset...
none of theese have worked so far...
Can you please help me?
What am i missing?
What am i doing wrong?
Basically i can't use the phone as i was doing before...
I post a screnshot of the battery screen
please help...
Turn off Wifi, Location, Bluetooth,NFC scanning.
Turn off "Knock twice to retract camera"
Use Greenify to kill unused apps.

Does your V10 keep the Display timeout setting after a reboot?

Hi, I am currently on bit of a witchhunt with my V10 (H960A, running V30C-EUR-XX). For some reason the standby drain on this phone, which I bought used 2 years ago, is extremely high - about 60% in 12h. At the same time the on screen time is quite good with high brightness while watching videos I get around 6h SoT. Really bizzare.
One thing I noticed which is really strange is that when I change the display timeout in the settings to for example to "15 minutes" and I reboot the phone it always resets to the default setting which is "2 minutes".
So I would be really be thankful if someone could try this on their V10 and post the results.
Also I tried every trick in the book with this battery issue, from resetting the phone multiple times to running it in safe mode or flashing the Software with LG UP. Nothing yielded results. My theory is that something with the settings is messed up and keeps the phone in a "running" state while the screen is off.

Categories

Resources