Wakelock issue Google/Sony etc. didn't solve since 2009 - Xperia Z Q&A, Help & Troubleshooting

What I want:
Save battery by turning wifi off during screen off.
Issue:
By trying to save battery like this I get a hugh battery drain by a wakelock called
wifi state machine (YOU WILL ALSO GET IT, TRUST ME. AND HELP ME).
No app ...not Tasker (different scripts tested, tested also one of my own),
not 2-3 Battery saving apps,... nothing I tried could prevent that this wakelock
wifistatemachine starts after some hours (after boot) and drains 40% of my battery
and reduces my screen on time (minus 1,5h).
So I searched again for a solution:
What I found is ridiculous... This is a structural android issue dating back to 2009
(http://lwn.net/Articles/318611/) and wasn't solved yet by google ...
There are dozens of threads of people suffering from the same issue
since 2009, 2010, 2011, 2012, ... (even in the sony forums).
Just to mention some threads:
http://talk.sonymobile.com/thread/49771?start=10&tstart=0
http://androidforums.com/captivate-...-android-system-process-draining-battery.html
They all want only one thing: wifi off during screen off to save battery, but
instead this wakelock reduces battery life ( in my case: minus 1,5 h screen on time).
So I tried to fix it by myself, because I thought maybe somehow it might get solved:
Tried all kinds of apps as I said (tasker,...), tried several fw-versions (currently latest .253) for my xperia Z,
tried rooted and unrooted, before removing bloatware/after removing bloatware, tried deleting fastdormancy.apk and .odex,
tried with stock kernel and doomkernel, Stamina On / Off, Battery save mode On / Off, ....
well I don't know what I could do else... nothing helped to kick this wakelock in the aaa.
Any help ?! I'm getting crazy and I want to fffffff solve this in 2013
IDEAS ?

You are complicating things for yourself.
Keep the wifi on during sleep should be at always, and don't worry you can keep wifi on even if you are not using it cause there is a power saving system specified for wifi so it wont consume lot of battery when it's idling.
Sent from my C6603 using xda premium

sorry for awakening an old thread, but I see the same thing on my Xperia T.
Just to summarise the problem, the wifistatemachine wakelock occurs when wifi is left ON.
This wakelock causes the device to spend a shorter period of time (though still over 50% in an hour) in deep sleep when the screen is off.

icstm said:
sorry for awakening an old thread, but I see the same thing on my Xperia T.
Just to summarise the problem, the wifistatemachine wakelock occurs when wifi is left ON.
This wakelock causes the device to spend a shorter period of time (though still over 50% in an hour) in deep sleep when the screen is off.
Click to expand...
Click to collapse
Get yourself a BatteryGuru and 10.3.1.A.0.244 4.2.2FW latest installed. 253 and 307 of 4.1.2 kinda crappy updates. Mine here works fine left 70% for 3days wifi auto On-off using BatteryGuru. But not said all devices got their wakelock unfixed. SamsungGT7500 ICS got them fixed and slept like dormant baby.
Whitefang
Sent from my GT-P7500 using xda app-developers app

got it fixed by freezing application called location base wifi (a sony one)..4.2.2 xzr

great! will look into that! might help mebimprove battery life even further
//////////////////////////////////
My thread about optimizing the battery life of Sony's Xperia Z: http://forum.xda-developers.com/showthread.php?t=2382712

Related

Big battery drain and Partial Wakelocks from Keypad and its SMSDispatecher service.

Hello. I updated my T to a JellyBean a week ago. My bootloader is unlocked and I have stock kernel with TWRP.
My problem is whenever I boot my phone soon or later I get massive amounts of Partial Wakelock time from keypad and SMSDispatcher.
I have root and I installed better battery stats. Yesterday it showed me about 9h of total time, about 7h of deep sleep and... about 4h of partial wakelocks which was mainly caused (about 95% of total partial wakelocks time) by SMSDispatcher. I provided some earlier screenshots from BBS and Settings. It shows only 30 minutes of SMSDispatcher time but it's still quite big amount of time in comparison with ICS where this problem never occured. On the secons BBS screen there is huge Alarm Manager time but it does not matter, below there is still SMSDispatcher messing with my phone.
This is what I already tried:
1. I did a fresh, perfectly clean flash, I did not reatore ANY data from ICS at all. Nothing has changed.
2. I did not remove any system apks and there was no effect.
3. I removed the same apks I removed on ICS (I don't use most of them) and there was no effect.
4. I flashed .195 FW ICS baseband (because I had problems with low signal) and there was no effect.
5. I tried to wait as many users say after such big update we must give our phone somw time to optimize everything. I waited a week and guess what... there was no effect.
6. I wiped Dialer/SMS/Keypad data and there was no effect.
BUT! I did something interesting today. I turned off Airplane Mode for about 4 hours and left my phone in my locker at my job and what? Wakelocks disappeared! There were absolutely NO signs of any app waking up the phone.
I'm very curious what the hell is going on. There are no signs of any similar problems on the net. Please help me of you can. On ICS I had amazing battery life, sometimes the phone lasted even for more than 2 days without charging.
Please post your ideas. I think I tried almost everithing to fix this, without result...
Regards,
Roman
Tapatalked from Poland using Xperia T
romcio47 said:
Hello. I updated my T to a JellyBean a week ago. My bootloader is unlocked and I have stock kernel with TWRP.
My problem is whenever I boot my phone soon or later I get massive amounts of Partial Wakelock time from keypad and SMSDispatcher.
4. I flashed .195 FW ICS baseband (because I had problems with low signal) and there was no effect.
BUT! I did something interesting today. I turned off Airplane Mode for about 4 hours and left my phone in my locker at my job and what? Wakelocks disappeared! There were absolutely NO signs of any app waking up the phone.
Please post your ideas. I think I tried almost everithing to fix this, without result...
Regards,
Roman
Tapatalked from Poland using Xperia T
Click to expand...
Click to collapse
SMSDispatcher is obviously handling the SMS, keeps track of an SMS that has been sent to the Radio Interface Layer (RIL is a layer in android which provides an interface to the hardware's radio and modem), until it it has successfully been sent, it is awaiting a delivery status report for some SMS that has bean sent, it is retrying to send a previously failed SMS message, and more ... so it might have anything to do with any of this.
So when your phone is in Airplane Mode you are not using any radio/modem and that's why you don't have WakeLocks connected to SMSDispatcher.
I don't know what can you do about this, it may have something to do with weak signal and the phone keep trying and failing to send something, or it is constantly awaiting some delivery report but it's failing because of weak signal or something ...
To be honest I'm just saying some random stuff ... maybe you can try and disable delivery report, delete every SMS if you have any ... I don't know
Odp: Big battery drain and Partial Wakelocks from Keypad and its SMSDispatecher servi
I tried to delete every sms - no result.
Tried the second thing you said... to disable delivery reports - no result...
I just don't have any idea how to solve this...
Tapatalked from Poland using Xperia T
Shoot. Nothing like this here despite other problems.
Odp: Big battery drain and Partial Wakelocks from Keypad and its SMSDispatecher servi
doministry said:
Shoot. Nothing like this here despite other problems.
Click to expand...
Click to collapse
Out of targets, out of bullets.
Tapatalked from Poland using Xperia T
Flashing different ROM-s (German, UK, Europe) gives no result. Soon or later I have the same problem. I flashed back to ICS and there is totally no problem with anything.
I guess I'll have to wait for future releases. I hope Sony will fix this.
i got a drain problem too.. When i leave the phone in stand by mode over the night , i wake up in the morning and i see that it drained 4 to 8% of the battery .. i also updated το JB 4.1.2 a few days ago.
I didn't have any battery issues with 4.0.4 i am pretty sure that i had better battery management.
I have android system and Google services using a lot of battery and over 130 wake-ups by each. Network location is there under Google services and my GPS etc are left off yet and same with Google now.
Odp: Big battery drain and Partial Wakelocks from Keypad and its SMSDispatecher servi
profchaos1981 said:
i got a drain problem too.. When i leave the phone in stand by mode over the night , i wake up in the morning and i see that it drained 4 to 8% of the battery .. i also updated το JB 4.1.2 a few days ago.
I didn't have any battery issues with 4.0.4 i am pretty sure that i had better battery management.
Click to expand...
Click to collapse
Check battery info in settings. Which service has the highest %?
Tapatalked from Poland using Xperia T
Odp: Big battery drain and Partial Wakelocks from Keypad and its SMSDispatecher servi
Bump and another update...
After going back to 4.0.4 .195 FW the problem started to occur even on the old ROM and it didn't before switching to JB. But it's not in so big way, but still it occurs and it's really strange. 22h on battery and 58 minutes of smsdispatcher waking the phone. Very annoying.
However I forgot to tell you that I always use GSM only option in settings. And after changing network to WCDMA only there are no wakelocks at all! But it's not comfortable to always use 3G because it drains more battery and there are problems with the signal strength here where I live.
Again the same question - is anyone able to help me?
Problem solved. It was my old SIM card's fault. It was more than 6 years old and I had to manually cut it from mini-SIM to micro-SIM shape. I probably damaged its inside structure or something. I went to my carrier and requested a new SIM card factory cut to a micro-SIM shape and now everything is ok! No strange wakelocks at all!

Deep sleep problem (lack of)

After suffering rather awful battery life on my Nexus 4 (and being amazed some people seemed happy to have just a few hours of screen on time), Google did the update to 4.2.2 and I saw a drastic improvement to the standby time.
The reason? The N4 finally managed to go into deep sleep a lot quicker and stay there.
Now my Xperia Z is suffering the same problem and overnight it managed 33 minutes deep sleep and 8 hours 33 at 384MHz. Not good at all.
I am yet to see what's going on in the background as Sony has its own power saving software. The only addition is the Qualcomm battery saver guru app, which could possibly be at fault even though it works fine on the N4 and makes a real difference.
Anyone else having similar problems? I think that this will become a major forum talking point as more people get the phone.
jonmorris said:
After suffering rather awful battery life on my Nexus 4 (and being amazed some people seemed happy to have just a few hours of screen on time), Google did the update to 4.2.2 and I saw a drastic improvement to the standby time.
The reason? The N4 finally managed to go into deep sleep a lot quicker and stay there.
Now my Xperia Z is suffering the same problem and overnight it managed 33 minutes deep sleep and 8 hours 33 at 384MHz. Not good at all.
I am yet to see what's going on in the background as Sony has its own power saving software. The only addition is the Qualcomm battery saver guru app, which could possibly be at fault even though it works fine on the N4 and makes a real difference.
Anyone else having similar problems? I think that this will become a major forum talking point as more people get the phone.
Click to expand...
Click to collapse
Yes, I have the same. 33 hours average on 384MHz and NONE on Deep sleep. The phone is discharging even when all communication is cut off (3g, Wifi, sync off etc.)
manage carefully stamina mode
Listen very carefully, I shall say this only once. It is your apps.
The Nexus 4 never had any deep sleep issues whether on 4.2.1 or 4.2.2 and neither does the z.
My phone deep sleeps hours on end (so did the Nexus 4 from launch day with 4 hours screen on time) when I'm not using it and yours should too.
Seek out the rogue app.

Xperia t JB Battery Life

Hi. I've updated my xperia t to Sony's official JB 4.1.2 9.1.A.0.489 firm.
I'm noticing that the battery life is no as good as expected. If I charge it up to 100%, and leave it locked all night, in the morning it has 80% , sometimes 75%. Some days, i can let it locked for 6 hours, and it's still in 100% ( strange at all). Of you look at the screenshots, it looks like it's always awake!
I've also tried with Battery Guru app, but I feel like it wastes more than it saves.
A friend has a Samsung galaxy ace ( i know, i cannot compare) and the battery literally doesn't go down if he doesn't use it.
Thank's guys.
P.S: Any idea about 9.1.A.1.138 firm? Changelog? availability?
Odp: Xperia t JB Battery Life
Battery problem is already known for this .489 FW. It's just a very first public release of JB, don't expect it will be completely bug-free. We just have to wait for the next releases with fixed this and that so the battery life would be correct again.
I have the same problems like you but I got used to them. For the first few days I was really pissed off and thought about flashing back ICS .195 (which had incredible battery life) but number of the advantages of having JB on my phone was the main factor of not going back to ICS.
That happened to me also lost more than 15% during sleep.
I disabled google search, facebook, android wakeup, etc and turned off auto sync and i lost 1.3% per hour.
In ics, i'm losing less than 1% per hour. So this is pretty decent to me. I'm still getting 3 hours of screen time.
Sent from my LT29i using Tapatalk 2
Translated,
I have everything possible running on my phone but don't know why the battery isn't lasting.
How?
wednesday13 said:
That happened to me also lost more than 15% during sleep.
I disabled google search, facebook, android wakeup, etc and turned off auto sync and i lost 1.3% per hour.
In ics, i'm losing less than 1% per hour. So this is pretty decent to me. I'm still getting 3 hours of screen time.
Sent from my LT29i using Tapatalk 2
Click to expand...
Click to collapse
You say that yoy've disabled android wakeup.. how do i do it??? , also in better battery stats, I see Alarm Manager and another alarmManager ( this second apparently from Sony) , with 811 and 2686 YES, 2686 wakeups each. Any idea? what are they about?
fedemyth said:
You say that yoy've disabled android wakeup.. how do i do it??? , also in better battery stats, I see Alarm Manager and another alarmManager ( this second apparently from Sony) , with 811 and 2686 YES, 2686 wakeups each. Any idea? what are they about?
Click to expand...
Click to collapse
The Sony Alarm is Fast Dormancy
The other one is most likely the combined total of a number of apps - to see them you need to be rooted, then you can access "Alarms" from the dropdown menu.
How do I use:
adb shell dumpsys alarm > AlarmDump.txt
What app..cant find anywhere how to do this?
I have a V but generally same things apply.
I think there are simply too many items switched on that would not allow the phone to fall into deep sleep.
Also, a battery usage of 1.3 % / h when idle would hint to that.
I have around 3000 wakelocks, too, but under normal day usage and not during sleep. During sleep there a few only, wakelock time over night is 0 %, and the phone uses close to no battery. Straight segment is the night time usage.
Compare with the pic from above, that phone was used lesser than mine.

Post LP Battery Usage Here ⬇

The long awaiting LP is here.
Lets test the battery.Post LP Battery Usage here.
Tapped from my furious Dogo
First day use not impressed by battery life
Sent from my C5503 using XDA Free mobile app
same for me did clean install... with 1 hrs it went from 63 to 19 % ..also the fone was get pretty hot
overnight battery drain 0%
using US fw
Anyone have a problem charging the phone? Apparently I put it to charge and it went from 25 to only 55 in 1.5hrs and the phone got pretty hot. It charges well when its switched off.
Slow Charging
spike.trickster said:
Anyone have a problem charging the phone? Apparently I put it to charge and it went from 25 to only 55 in 1.5hrs and the phone got pretty hot. It charges well when its switched off.
Click to expand...
Click to collapse
It charges very slow.. I used to charge using my laptop USB.. I kept around 2 hours and charge increased only around 20%.. It was fast in Kitkat.
Oh. Im glad im not the only one facing this. Any solution or we may have to wait for a bugfix?
spike.trickster said:
Oh. Im glad im not the only one facing this. Any solution or we may have to wait for a bugfix?
Click to expand...
Click to collapse
I tried with Both USA and TW Firmware.. Even tried after full reset.. Still same issue.. I think we have to wait for bug fix or any work around solution ..
I am using the US version, not rooted everything stock. When I installed I faced very heavy drain, even with a charger the battery was going down. After a few reboots everything is back to normal. Battery life is nearly identical to kitkat.
Attaching the screenshots, I am getting more than 4 hours SOT easily with wifi on all the time.
Sent from my C5502 using XDA Free mobile app
Pretty Impressive Battery life on LP
Battery problem on C5502 (stock 5.0.2 Customized TW fw)
Hey guys,
I think I might have a problem here, I did OTA update over 10.5.1.A.0.283, got 10.6.A.0.454. Everything seems to be working fine, the system is quite smooth, yet battery life is worse than it was!
Cell standby and the OS seem to be consuming way to much battery, my reception isn't perfect, yet I checked in Cell standby and signal loss is at 0%.
I do have STAMINA on, yet according to CPU Spy the phone never goes into Deep Sleep. Isn't that suspicious?
You'll find a few screenshots attached to this post to give you an idea what I'm talking about. I'll try to flash the full rom today and see if it helps, while I'm typing this message FlashTool is creating an FTF file so that I can flash it later. I'll keep you posted.
Also, if anybody needs the FTF file, here's the torrent file link:
http://we.tl/mVuZHD5g2S
dantpe said:
Hey guys,
I think I might have a problem here, I did OTA update over 10.5.1.A.0.283, got 10.6.A.0.454. Everything seems to be working fine, the system is quite smooth, yet battery life is worse than it was!
Cell standby and the OS seem to be consuming way to much battery, my reception isn't perfect, yet I checked in Cell standby and signal loss is at 0%.
I do have STAMINA on, yet according to CPU Spy the phone never goes into Deep Sleep. Isn't that suspicious?
You'll find a few screenshots attached to this post to give you an idea what I'm talking about. I'll try to flash the full rom today and see if it helps, while I'm typing this message FlashTool is creating an FTF file so that I can flash it later. I'll keep you posted.
Also, if anybody needs the FTF file, here's the torrent file link:
http://we.tl/mVuZHD5g2S
Click to expand...
Click to collapse
I have similar problem. For me the biggest consumption comes from google play service and android system. Really annoying...
Sent from my C5503 using XDA Free mobile app
dantpe said:
I do have STAMINA on, yet according to CPU Spy the phone never goes into Deep Sleep. Isn't that suspicious?
Click to expand...
Click to collapse
From my point of view, it totally depends whether you did an OTA update or flash the new ROM. In my case, I have the Deep Sleep state active for a lot of time, and here's the screenshot:
Did you make a factory reset before/after flashing? Most time this helps.
Think the scan location when wifi is off option (in wifi setting) has effect on the google play service.
Also I am testing what exactly that stamina clock option within stamnia setting does. It seems it affects the battery in a not necessarily good way.
This is annoying. Sony includes all these features that are basically rubbish...
Sent from my C5503 using XDA Free mobile app
Hi,
I installed lollipop onto my ZR via the PC Companion a week ago, and I used a clean install (repair). My battery life is very bad compared to kitkat. I don't use my phone often, mostly it is in standby mode with mobile data enabled and stamina mode enabled (I added a few applications to stamina mode white list: gmail, facebook messanger, etc.). With kit-kat I had to charge my phone every 3 day, but now I have to charge it every day!!! this is 3 times worse than kitkat. If I check under power management - battery usage, I see a few apps have several hours of 'mobile radio active' (mostly gmail, chrome).
I have searched for this on internet, it looks like it is an lollipop related issue and not a sony related issue. Lollipop has this issue since 6 months now , and they didn't do anything to fix this (there are tons of forums posts about this on reddit, and on other places). I have the feeling Android is getting worse in every new version, and Google hire the most ****tiest developers of all time. They don't even answer to the thousands of user complaints of this issue. I will never touch an android phone in the future.
krumplib430 said:
Hi,
I installed lollipop onto my ZR via the PC Companion a week ago, and I used a clean install (repair). My battery life is very bad compared to kitkat. I don't use my phone often, mostly it is in standby mode with mobile data enabled and stamina mode enabled (I added a few applications to stamina mode white list: gmail, facebook messanger, etc.). With kit-kat I had to charge my phone every 3 day, but now I have to charge it every day!!! this is 3 times worse than kitkat. If I check under power management - battery usage, I see a few apps have several hours of 'mobile radio active' (mostly gmail, chrome).
I have searched for this on internet, it looks like it is an lollipop related issue and not a sony related issue. Lollipop has this issue since 6 months now , and they didn't do anything to fix this (there are tons of forums posts about this on reddit, and on other places). I have the feeling Android is getting worse in every new version, and Google hire the most ****tiest developers of all time. They don't even answer to the thousands of user complaints of this issue. I will never touch an android phone in the future.
Click to expand...
Click to collapse
I attached battery usage images
Disable the stamina mode actually yields better battery life.
WTF sony.
Sent from my C5503 using XDA Free mobile app
Just got my zr update to LP 2 day ago. For now seem like the battery life worse. Need to factory reset after this hopefully that help .
Did India LP update OTA two days back and was surprised see kit ain't charging fast and also discharging quickly. And the main battery consumption was by Album photo analyser services. .. have disabled it and seen significant difference. .

20% battery drain over night || FIXED || SEPTERMBER 13 2018

Somewhere earlier this year I started getting a 20% overnight battery drain. On a few nights it didn't drain, but its pretty consistent. I have tried everything listed on this forum..This drain is definitely not caused by any standard settings. I am really hoping somebody with insight into Oreo might have something new I could try. I know xda user Digisteve is going to showup and suggest more things, and that is also not going to work.
Things I've tried.
- using root to disable logd. (saw this as a process in BBS) Still drained.
- Disabling auto-sync of all accounts. Still drained.
- Turning on stamina mode at night. Still drained.
- Removed google play store, google play services framework, and all google aps - and replaced with alternative China app store. - Still drained. Not a play services problem.
- Turning off wifi, all wifi scanning, notifications of wifi networks etc. Still drained.
- Turning off mobile data and wifi - no connectivity at all. Still drained.
- Turned of location in all possible device settings,. Still drained.
- Rooted the device with Janjan method/kernal. Still drained.
- Flashed different regions. Including (Taiwan, my region, Malaysia, Germany, Swiss, HK). Still drained.
- Tried firmware verions , 179 , 205, 235, 270
- Deleting 3rd party apps. Still drained.
- Installing Gsam - checking for consuming apps. No apps listed as cause of the drain.
- Installed greenify. Tried as standard, non-rooted with adb permissions, and fully rooted. Still drained.
- Disabling various packages related to 'carrier services', qualcomm and rcs. Still drained.
- Debloated to the point that the phone had no google apps, no Xperia apps and removed tons of other apps, camera bloat, anon data, etc, all removed. Still drained.
- All built in apps replaced with a 3rd party app, including, sms, contacts, email, keyboard. Still drained.
- Installed Linage OS 15.1 Beta 5. Still drained.
- switched from 3G only to LTE only. both drained equally.. though I have worse single with LTE in my area.
I am hoping there is a better solution than throwing the phone away. Because I am pretty much at that point now. I have spent probably well over 120 hours trying to fix this, and I can't. Its at the point where I need to move on to a new device rather than waste more time.... but there are no small devices on the market now, and also no more classic xperia style devices on the market. Sony does not make the executive, classic 'Xperia' style I fell in love with anymore. I don't do round, heavy, huge phones. Very sad.
UPDATE - AUGUST 14
Now running the latest Customized German 270 firmware.
Still draining 20% per night. Check out the screen shots - clear to see I have almost no apps. No process can be seen as a battery hog in both Gsam and BBS. However Gsam screenshot shows evidence of CPU usage.
UPDATE - SEPTEMBER 13 - FOUND THE PROBLEM
Considering almost nobody had my issue, I assumed my phone must be a dud. Late August I bought a second XZ1 compact. The new phone worked for 1 day, and on the second day drained battery at 15% per night idle drain. Previously I had only tested the sim card by switching 3g,4g and disable mobile data, but never actually removing the sim from the phone. Last 2 nights I replaced my old sim with my gf sim of a different carrier. In the morning I had 99% battery remaining. No Drain!
I then downloaded an app these measures signal strength, and turns out where I sleep at night, there is is less reception. Its not noticeable just looking at the standard signal strength on your home screen, you need to check the more detailed strength in decibel millimps /dbm. I can still get good signal in most areas of my house, but the phone is having to use more power to keep the signal good. I can now reproduce the battery drain on demand. If I sleep with the phone near my bed, I get drain. But if I keep the phone in the living room, no drain. I found that connecting to wifi not a factor, since even if you use wifi for data, the phone was still holding open a connection the the cell tower.
This problem took me months, countless hours, and the expense of buying a completely new phone!!! Now I have 2 XZ1 compacts....arg.... but so happy its solved.
The important point is that if testing sim, good signal, or disabling mobile data, changing 3g 4g isn't enough. Your phone is using more power to maintain good signal.
Thank you to everyone who spend time trying to help me, digestive, proflyer, etc. Thank you guys.
At this point, I think it's highly likely you got yourself a lemon. Since you've already rooted the phone, warranty service is out of the question.
It boils down to two options:
1. Pay for a board replacement.
2. Try your luck with a brand new XZ1C. Buy it online so that you'll get the 7 days return perk (some online stores offer 10 days), keep it wrapped in its original packaging, handle with extreme care, and use it normally for a few days before your return window runs out. If you no longer get drains, congrats, and welcome to the club. If not, accept your fate, return it for a full refund, and give up on the XZ1C - understand that you weren't meant for each other and move on.
I had the same issue. Check this thread. Try that and report back.
https://forum.xda-developers.com/xp...ormal-battery-consumption-wifi-t3740495/page3
I know what you feel. I had this too, but mine went away and I only very rarely have this drain. But mine was always on Wifi. With Wifi off = no drain reported... never.
I investigated it for weeks without coming to a conclusion.
If you can, replace the phone with warranty. Worth a try. Right now in my opinion you have a hardware faulty device.
But i would say to wait for android 9. In my opinion it wont take ages to come. It will much likely come this year.
---------- Post added at 15:52 ---------- Previous post was at 15:45 ----------
Milly7 said:
I had the same issue. Check this thread. Try that and report back.
https://forum.xda-developers.com/xp...ormal-battery-consumption-wifi-t3740495/page3
Click to expand...
Click to collapse
He still has drain even with WIfi Off, so that not the problem.
The only other thing I could suggest is having the battery replaced at a local repair shop. If you got a lemon battery but an otherwise fine phone, that could help.
How about remove your SIM card with wifi on for over night? Do you still experience the drain?
[delete]
Dean F said:
UPDATE - AUGUST 11
ONE WORK AROUND. If I reboot the phone, then unlock it so "android is starting" screen is complete. Then lock the phone, without doing anything else - The battery does not drain overnight. In light of this, what could be the solution? I know an app sounds logical, but I arlready checking my 3rd party apps, and none of them were the probably, an no battery app has ever listed an app as a drain.
Any technical or Dev person go any idea what that symptom points towards?
Click to expand...
Click to collapse
This does indeed sound like an app or a service gets stuck in an awkward way. You indicated in your first post that you use better battery stats, do you mind posting screenshots of the top of the summary, kernel wakelocks and partial wakelocks page (showing keeping awake services) as well as the bottom of the cpu states page (showing deep sleep time) "since unplugged" after a few hours of drain?
I have attached corresponding screenshots here for my xz1c (after more than 24 hours unplugged) as a reference (I have play services enabled and syncing both gmail and contacts and so on, no root though).
Dean F said:
UPDATE - AUGUST 11
ONE WORK AROUND. If I reboot the phone, then unlock it so "android is starting" screen is complete. Then lock the phone, without doing anything else - The battery does not drain overnight. In light of this, what could be the solution? I know an app sounds logical, but I arlready checking my 3rd party apps, and none of them were the probably, an no battery app has ever listed an app as a drain.
Any technical or Dev person go any idea what that symptom points towards?
Click to expand...
Click to collapse
That doesnt make too much sense. Test it for at least one week before coming to conclusions.
Try this and let me know if it works
I had exactly the same issue
What i did (now magicaly works)
I did not have too many time so what I did was simple and I got a cheap replacement phone in the meantime
It seems to be beyond everything we tried
I conected the phone to the pc and did the fix with xperia companion, then I realized that everything was working as soon as I started to install the apps the problem came back, I installed a launcher (nova) and use it, drained the battery útil reach zero and fully charge it, then everything was working... Back to normal... I don't know how the issue was solved but hope it works for you
Sorry about my bad english xD
ergoen said:
This does indeed sound like an app or a service gets stuck in an awkward way. You indicated in your first post that you use better battery stats, do you mind posting screenshots of the top of the summary, kernel wakelocks and partial wakelocks page (showing keeping awake services) as well as the bottom of the cpu states page (showing deep sleep time) "since unplugged" after a few hours of drain?
I have attached corresponding screenshots here for my xz1c (after more than 24 hours unplugged) as a reference (I have play services enabled and syncing both gmail and contacts and so on, no root though).
Click to expand...
Click to collapse
Hi ergoen - thanks for the interest in my problem. Please see all the screenshots attatched, including BBS and Gsam.
Dean F said:
Please see all the screenshots attatched,
Click to expand...
Click to collapse
The screenshots from BBS look pretty normal, the GSMBattery shots show issues with Google Play Services, so I'm guessing they were taken at different times. But there's nothing jumps out of the stats that looks out of the ordinary. Have you run the phone in safe mode overnight to see if you get the same drain? I think you may just have a duff battery, no one else has reported this sort of power loss before.
$40 down the repair shop to get a new battery is going to be a whole lot cheaper than a new phone.
Elmcor said:
I installed a launcher (nova) and use it,
Click to expand...
Click to collapse
I have read somewhere else that Sony's Home is very thirsty with power, I will give your suggestion a go
Didgesteve said:
The screenshots from BBS look pretty normal, the GSMBattery shots show issues with Google Play Services, so I'm guessing they were taken at different times. But there's nothing jumps out of the stats that looks out of the ordinary. Have you run the phone in safe mode overnight to see if you get the same drain? I think you may just have a duff battery, no one else has reported this sort of power loss before.
$40 down the repair shop to get a new battery is going to be a whole lot cheaper than a new phone.
I have read somewhere else that Sony's Home is very thirsty with power, I will give your suggestion a go
Click to expand...
Click to collapse
Thanks didgetsteve. your probably right.... The GSAM and BBS stats were taken right after each other, maybe a gap of 2 mins. Play Services wasnt the issue though, as I tried my phone google free, and it still drained.
Dean F said:
Thanks didgetsteve. your probably right.... The GSAM and BBS stats were taken right after each other, maybe a gap of 2 mins. Play Services wasnt the issue though, as I tried my phone google free, and it still drained.
Click to expand...
Click to collapse
I agree with didgesteve, nothing jumps out by just looking at bbs (I am not familiar with gsam, so I cannot comment so much on that).
Before replacing the battery, I would probably make sure that it is not radio/network related. I have noticed that my phone draws significantly different amount of battery (in deep sleep mode) depending on the mobile network. This is mostly independent on whether mobile data is on or off.
Could you turn on airplane mode for an hour or two and verify that it is not the radio chip that is causing your drain? (If that is the cause, I am not sure if you can do anything about it apart from switching carriers or experimenting with 2g/3g/4g settings, but it might be worth knowing)
ergoen said:
I agree with didgesteve, nothing jumps out by just looking at bbs (I am not familiar with gsam, so I cannot comment so much on that).
Before replacing the battery, I would probably make sure that it is not radio/network related. I have noticed that my phone draws significantly different amount of battery (in deep sleep mode) depending on the mobile network. This is mostly independent on whether mobile data is on or off.
Could you turn on airplane mode for an hour or two and verify that it is not the radio chip that is causing your drain? (If that is the cause, I am not sure if you can do anything about it apart from switching carriers or experimenting with 2g/3g/4g settings, but it might be worth knowing)
Click to expand...
Click to collapse
Didgesteve said:
The screenshots from BBS look pretty normal, the GSMBattery shots show issues with Google Play Services, so I'm guessing they were taken at different times. But there's nothing jumps out of the stats that looks out of the ordinary. Have you run the phone in safe mode overnight to see if you get the same drain? I think you may just have a duff battery, no one else has reported this sort of power loss before.
$40 down the repair shop to get a new battery is going to be a whole lot cheaper than a new phone.
I have read somewhere else that Sony's Home is very thirsty with power, I will give your suggestion a go
Click to expand...
Click to collapse
I also had the drain that Dean has. But mine wasnt so agressive, I mean, some days it was there draining 30% battery over my sleep time (8hrs) and sometime it just behaved normally draining max 3% over sleep time. But still from time to time the drain come back wich is annoying as I cant let my phone with 30% battery left when im going to sleep, afraid the battery will be dead and the alarm wont wacke me up lol.
On my extensive tests, the drain only happened with wifi, but even deactivating all wifi related process (backups, syncs etc) the drain was sometimes there. Wifi wasnt the culprit with Dean, but on my tests: Wifi On = Sometimes big drain , Wifi Off = never drain.
I never managed to find the culprit of this damn drain and Im a software tester. Gsam did not show anything unusual at all. It was like Deans screenshot.
We discussed about this issue a lot here (https://forum.xda-developers.com/xperia-xz1-compact/help/battery-life-bit-odd-t3688342/page8) but till this day we dont know whats triggering it.
Im curious how the phone will behave on this issue with android P.
@ergoen @Didgesteve . Can you guys comment on my 4th screen shot, the one where you can see the CPU usage. Does anything strike you as odd in that pic? TThe CPU util looks high... it is normal?
i dont see nothing odd there
Dean F said:
@ergoen @Didgesteve . Can you guys comment on my 4th screen shot, the one where you can see the CPU usage. Does anything strike you as odd in that pic? TThe CPU util looks high... it is normal?
Click to expand...
Click to collapse
I'm sorry, but I don't think I have the knowledge to judge that. I would expect CPU usage to be low in deep sleep mode, but since the CPU is mostly sleeping, I guess any requested usage will queue up in a way that might look odd, so what you are seeing might be normal (but again, I don't actually know). I also believe that CPU power consumption is mostly related to the frequency state it is in, so deep sleep should mean low consumption (independent on cpu util %).
As I indicated in my previous post, I would sooner blame the radio chip or the battery than the CPU given your BBS screenshots.
mi drain came back today... some days its there and some days its not...
what a fvcking piece of sh1t is this phone... im done with the all tests. time to try samsung.
profyler said:
mi drain came back today... some days its there and some days its not...
what a fvcking piece of sh1t is this phone... im done with the all tests. time to try samsung.
Click to expand...
Click to collapse
Bro, Samsung is even worse when it comes to battery drain. Check out linus tech tips vid from a few days ago https://www.youtube.com/watch?v=n46s_iF_IV4&t=324s
My wifes side of the family all have Samsungs.... they are totally ****. The OS is bloated, ugly, laggy despite monster specs huge ram, snap 845, and battery nightmares on brand new phones exactly like in Linus's video. And there is a stupid "BIXBY BUTTON" on the phone which is a total nightmare. if your with Samsung, BIXBY will the with you, following you forever.
In other news, I replaced my Taiwan XZ1 compact with an Australian XZ1 Compact, and my drain is gone. I drained 2% last night.
There are so many build differences with the Taiwan and Australian build of the phone. Bigger microphone holes, slightly different proximity sensor design, and the plastic back is a rough matt black/gray in the AU versions, the TW version was a smoother shiny midnight black with a silver sparkle in the sun. The biggest difference was of course the battery drain.

Categories

Resources