Odd battery life - Sony Xperia XZ1 Compact Questions & Answers

Hello,
Since the purchase of my phone XZ1 Compact (G8441), I've been experiencing barely acceptable battery life. This is especially frustrating since I bought this phone having heard that it can last easily 2-3 days, but this is not the case for me (discharging about 4%h on average or 2.5%h with screen off on either wifi or mobile data, with various configurations outside/home/office, i.e. in practice never usable more than a day).
According to *#*#SERVICE#*#*, the battery life is still good (2704 mAh). The issue I am experiencing is most likely due to an unknown software and/or hardware failure leading to lots of wakelocks that prevent the phone from "sleeping"/"dozing" correctly.
I know that MANY users worldwide are experiencing this and Sony never gave an answer to this, according to e.g. the following threads:
https://talk.sonymobile.com/t5/Xper...-drain-after-update-47-1-A-12-235/m-p/1337029
https://talk.sonymobile.com/t5/Xper...-drain-after-47-1-A-12-205-update/m-p/1328053
https://forum.xda-developers.com/xperia-xz1-compact/help/battery-life-bit-odd-t3688342/page8
https://talk.sonymobile.com/t5/Xperia-XZ1-Compact/High-battery-drain/m-p/1326474 https://talk.sonymobile.com/t5/Xper...-drain-after-update-47-1-A-12-270/m-p/1340671 https://talk.sonymobile.com/t5/Xper...pie-battery-drain-CPU-idling-high/m-p/1354891
and many others
In my case the items "NlpWakeLock" and "RILJ_ACK_WL" activate both up to thousands of times every hour. No relevant information could be found about this in the web lookups I've done, and I am not sure this is related to the issue I'm facing. I joined a log of today's better battery stats with a pathetic 1h20 of SOT and 65% discharge, a huge count of wakelocks except when I was listening to music, and an apparent faster discharge with the idle phone than when actually used.
The phone is running the latest downloadable Sony firmware 47.2.A.10.107.
Of course, factory reset was tried with no amelioration and I tried to contact directly Sony which have basically no willingness to help or investigate.
Anyone would have a clue about this?
Thanks,
Alexandre

Do you use Google Now (google assistant) - NlpWakeLock
If not, disable it and see what happens.
This little phone I have for battery life and for banking/authenticator/etc. Not for work. So I have disabled most things I do not need (adb uninstall) - so the battery is quite good on standby.

Thanks for the reply. Unfortunately, as I don't use GoogleNow, the whole Google App is already disabled...
I'll try and do some adb uninstall and will keep you posted

alexounet2 said:
Anyone would have a clue about this?
Click to expand...
Click to collapse
Looking at the bbs stats. The first thing I noticed is that your wifi is on all the time. Try turning it to only when awake and disable the wifi scanning in locatin settings.
RIL wakelocks are on because you have poor signal, it's the number of handhakes your phone does with the local cell tower and if you have bad signal, it gets higher.
Some providers offer home 4g boosters for your home or 'calls over wifi', either of these would reduce your battery usage.

My phone has been flawless (2-3 days on battery when I don't play games) but suddenly it started behaving like described in the original post.
It has 1 day life now and I haven't found the reason for this change. I have removed all recently installed apps, removed all unnecessary apps (including Facebook app), disabled running in background for some (like Messenger), there was no firmware update at that time. Still something is eating up the battery. SmartPanel tool shows that 58% of battery is Unaccounted (next is display and Google Services). I have not done the factory reset yet because I need fully configured phone right now.

Related

Battery drain due to Google Maps

Hi guys,
I've had the Xperia Z, and i'm not even remotely close to getting the battery life some people on here are getting.
I'm unrooted and followed the advice on here for better battery life, but still cannot get 4 hours of on screen time.
Anyways, over the weekend, i've noticed Google Maps suddenly taking up huge amounts of battery.
I've barely been using Maps or indeed barely using any app that uses location based services.
Even over night, my battery would drain 15% and Google Maps was clearly the culprit when looking at apps using the battery.
It was even stopping stamina mode from kicking in.
I disabled GPS.
that didn't fix my problem.
I tried to Force Stop Google Maps.
that didn't fix my problem.
For example, i could charge my battery to 100% to reset my battery stats, then do nothing else but immediately watch half an hour of a film, and incredibly Google Maps would magically be the app thats drained the battery the most, like double that of the screen or triple that of media server!
So last night, i reset my phone back to factory settings, reinstalled all my apps, but i haven't applied the Google Maps update.
so far so good. so far, it is behaving itself.
has anyone else had this problem?
I don't know whether i should update Maps or not.
its weird, for the first couple of weeks, it wasn't an issue, so i don't know why it suddenly became a problem, but it was massively draining my battery, even when i had done everything to disable it!
under the reviews in google play, if i filter reviews for just reviews by users with XZ, i can only see one other person complaining of the same problem.
i couldn't find anyone else posting about this issue when i googled it.
So anyone else have this problem, or know why it is/was happening?
thanks,
It isn't the version of maps you are using that causes the issue. It is 'location settings'.
If you go into location settings in Maps, you will see that you can turn on and off things such as Location reporting, Report from this device, Enable location history etc.
Some of these are required to run Google Now to its full potential, however they cause quite a high level of partial wakelocks.
It is up to you whether you have them switched on (with some battery drain), or switched off (with no/little battery drain).
I also noticed a larger than normal battery drain since a couple of days. I can't remember if there was a gmaps update right before the drainage increase.
Just for the sake of repetition silly. This has nothing to do with the Maps version.
FYI - The last Maps update was on 12th March. Point proven therefore.
nobnut said:
It isn't the version of maps you are using that causes the issue. It is 'location settings'.
If you go into location settings in Maps, you will see that you can turn on and off things such as Location reporting, Report from this device, Enable location history etc.
Some of these are required to run Google Now to its full potential, however they cause quite a high level of partial wakelocks.
It is up to you whether you have them switched on (with some battery drain), or switched off (with no/little battery drain).
Click to expand...
Click to collapse
BUT like i said, i had turned all of these off, and MAPS was STILL draining my battery, despite location based services turned off, Maps forced stopped and not even using any location based app.
That is what i am querying. Why was this happening?
random quirk, or a more serious problem?
In that case I have no idea. It doesn't happen for me.
What I have noticed before once or twice however is that my location settings have changed without me doing it manually. This has happened to me twice when I have (un)installed Now.
nobnut said:
In that case I have no idea. It doesn't happen for me.
What I have noticed before once or twice however is that my location settings have changed without me doing it manually. This has happened to me twice when I have (un)installed Now.
Click to expand...
Click to collapse
i'm hoping its just a random quirk.
On friday, i noticed maps was using quite a bit of battery.
Saturday, Sunday and Monday however, it just went crazy.
I could lose 15% battery when my phone was asleep all due to Maps.
well, I reset my phone to factory settings 12 hours ago, and so far the problem has not repeated itself.
i've got GPS on, location based services on, and so far Maps isn't doing anything it shouldn't be doing.
I will definitely keep an eye on it and update this thread as and when.
I've had this phone 3 weeks, so i don't know why it suddenly became a problem on friday. The only thing i changed on friday was i installed new app Google Keep which almost certainly cannot be the culprit that i can see

[Q] Still chasing battery drain: Is it possible FingerPrint Unlock is part of it?

So having come from Verizon's Note 4 and averaging up to 24hrs on battery running pretty much the same setup as I do now on my T-Mobile Note 4 minus the "Root" & "Custom Rom" abilities. Otherwise, same apps, accounts, usage pattern, ect...
I am on an ongoing battle still after several complete wipes, different Roms including just running STOCK ANK4 and trying to figure out what is going on. Phone defect? Battery defect?
Anyhow, Ever since changing over to both the T-Mobile Note 4 & their service, my experience has been a rather miserable 14 to 18hrs MAX battery life and going from 4hrs screen on time to around 2 1/2 w/ T-Mobile.
Which now leads me yet to wonder something else. I believe I started using the "FingerPrint" security feature since switching to T-Mobile to unlock the device. Has anyone experienced a similar "Battery longevity" issue using said feature before I continue troubleshooting and chasing my own tail on this? Of course I will eventually test this theory anyhow, but figured I would throw it out there.
Also, Open to any suggestions.
Just some things I have already done along with the above mentioned:
- Utilized the App "Greenify" & donation full version to greenify many apps including "Google Play Services".
- Set up Profiles which I toggle via "PhoneWeaver" to turn off data when on Wi-Fi which consists of 90% of my day as I'm Wi-Fi connected both at home and work.
- Of course always turn off that option within Wi-Fi settings to untick "Always Scan".
- Went into "Google" app settings and turned off about everything I can find in there and it's now rather complex settings.
- Turned off most syncing of my 2 "Google" accounts to only one having anything other than Email Sync active such as the Calendar, Contacts, and Apps Sync. - Again, my 1 Google Account I only have set to sync Email and nothing else.
Sure I forgot some things I've tried but again, I am open to any/all suggestions. I admit, I bought my T-Mobile via Swappa. All seemed well as per their checklist of the obvious things to check regarding the phone's operation. Kind of stuck here now and wondering if my device is simply defective and/or the battery.
Also of note: Android System is always by far the largest contributor to my battery drain and exceeds even Screen-On time by around 10%. But then again, don't really know if that means anything or not since even before switching carriers and the transition from "JellyBean" to "KitKat" on my previous S4, Android System became a forever battery hog for me.
Just never had a top end device such as this in past years barely get me through a complete day: Work & Home time. I don't consider myself a heavy user. Barely even "Moderate" many days as I mainly text during my lunch break, otherwise phone is pretty much idle. And say 2 phone calls of aprox 20 min.s each during commute time. Yea, something just isn't right. :crying:
I have noticed 3 things that were hurting battery bad.
1.) Use the Google play services with the 030 extension. I get way better battery life on it 5% to 10% increase in battery life. Link below:
http://www.apkmirror.com/apk/google...ices-7-0-99-1809214-030-android-apk-download/
2.) If you are not using maps or other location services turn your location off. Literally a 20%+ increase in battery from this alone.
3.) Toggle your NFC. Something in Android 4.4.4 sometimes causes your NFC to wake lock. If you turn it on then turn it off one time it normally fixes is.
I attached my battery stats below.
It with about 2 hours of screen on time.
Sent from my SM-N910T using XDA Free mobile app
ShrekOpher said:
I have noticed 3 things that were hurting battery bad.
1.) Use the Google play services with the 030 extension. I get way better battery life on it 5% to 10% increase in battery life. Link below:
http://www.apkmirror.com/apk/google...ices-7-0-99-1809214-030-android-apk-download/
2.) If you are not using maps or other location services turn your location off. Literally a 20%+ increase in battery from this alone.
3.) Toggle your NFC. Something in Android 4.4.4 sometimes causes your NFC to wake lock. If you turn it on then turn it off one time it normally fixes is.
I attached my battery stats below.
It with about 2 hours of screen on time.
Sent from my SM-N910T using XDA Free mobile app
Click to expand...
Click to collapse
Thanks for the reply and suggestions! I just checked and I am currently running Google Play Services V 7.0.97 (1791429-030).
A couple things I have done meanwhile since my OP which have had "some" noticeable positive effects on my battery duration, yet still no where near what you have posted are:
Within "Google Settings" app:
- Account History ( I have "turned off or rather paused" ALL the Activity/Info/History settings here - All 5)
Regarding my 2nd, basically "Junk mail" Gmail Account:
- Now have ALL "Sync" turned off within, including the syncing of email, which I now simply check manually to update.
Greenify:
- Revisited, and added a bunch more apps and pretty much "Greenified" ALL Samsung related entries/services/ect...
So far I have increased to achieving up to about 3 1/2 hrs Screen time (Gained 1 hr) & a few more hours of real time battery longevity as I can now achieve close to 20hrs before needing charge.
Still feel I have some troubleshooting to go. Oh, I actually have the NFC Service "Greenified" to. So far haven't really noticed a problem with "Deep Sleep" either according to CPU SPY pro.
Yep, Have always had the Location Service to OFF, not even using the so called "Battery saving" selection with it. Such a pity to have to cripple such things but it's a trade off I guess in achieving a full day's battery vs.s using the features with this phone for some reason more-so than past devices it seems. At least in my case. :silly:

Unusual battery drain

Hi,
I know there are many topics on the subject but I didn't find any solution to my problem.
So, since a couple weeks, about when I moved from Europe to the US, my phone drains significantly more battery than before. This has apparently nothing to do with screen brightness, wifi or cell data, since it occurs even in airplane mode during the night. I used to lose about 1-2% during a night, but now it's at least 15%.
You can find a couple screenshots from BetterBatteryStats there (sorry for broken link, it does not work otherwise): n.ethz.ch/~bauera/uploads/Screenshots/
So as I noticed, there are a couple wakelocks but nothing that could explain this large drain. Any idea what could be the reason and how to fix it?
FYI I am using the stock rom 23.4.A.1.232 with Android 5.1.1. Phone model is D5803. The OS was rooted directly when I got the phone in October 2015 and as I said, I did not have any battery problems until recently.
Thanks for your help!
Alex
that's the lollipop battery drain bug on mobile radio, marshmallow should have fix this
Thank you for your reply. However are you sure of that? The bug you are mentioning is apparently linked with mobile data, which I haven't even turned on since a couple reboots at least. Moreover, the battery stats for the night (from the built-in battery menu) show that the mobile network was fully off during that time (airplane mode).
alexounet2 said:
I am using the stock rom 23.4.A.1.232 with Android 5.1.1. Phone model is D5803. The OS was rooted directly when I got the phone in October 2015 and as I said, I did not have any battery problems until recently.
Thanks for your help!
Alex
Click to expand...
Click to collapse
I found this fix worked for me
Thanks for the suggestion! Unfortunately it didn't work in my case, I still lose about 2%/h in airplane mode and screen off.
alexounet2 said:
Thanks for the suggestion! Unfortunately it didn't work in my case, I still lose about 2%/h in airplane mode and screen off.
Click to expand...
Click to collapse
BBS - Better Battery Stats is your freind. There's also lots of tips in the thread on how to limit most of the common wakelocks.
There are several services in the new Play Services that are keeping your phone awake. With the introduction of wearable bluetooth there are new fitness services that are looking for your wearable devices constantly, disable them and your battery gets better. Obviously if you use fitness bands/trackers then this fix is not for you.
If you have a rooted phone download Disableservice from the playstore, it's a lot easier to use than Xprivacy and you don't need to install Xposed.
Once it's installed, open the system tab, open Google Play Services, then untick (disable) the following:
ConfigFetchService
FitnessSyncAdapterService
GoogleLocationManagerService
GoogleLocationService
NetworkLocationService
ProximitySettingInjectorService
UserPresenceService
WearableControlService
WearableService
WearableSyncService
then reboot your phone.
Disabling these from running should have no impact on your phone, it doesn't for me, and will give you 10-15% more battery life.
---------- Post added at 12:06 AM ---------- Previous post was at 12:00 AM ----------
Didgesteve said:
BBS - Better Battery Stats is your freind. There's also lots of tips in the thread on how to limit most of the common wakelocks.
There are several services in the new Play Services that are keeping your phone awake. With the introduction of wearable bluetooth there are new fitness services that are looking for your wearable devices constantly, disable them and your battery gets better. Obviously if you use fitness bands/trackers then this fix is not for you.
If you have a rooted phone download Disableservice from the playstore, it's a lot easier to use than Xprivacy and you don't need to install Xposed.
Once it's installed, open the system tab, open Google Play Services, then untick (disable) the following:
ConfigFetchService
FitnessSyncAdapterService
GoogleLocationManagerService
GoogleLocationService
NetworkLocationService
ProximitySettingInjectorService
UserPresenceService
WearableControlService
WearableService
WearableSyncService
then reboot your phone.
Disabling these from running should have no impact on your phone, it doesn't for me, and will give you 10-15% more battery life.
Click to expand...
Click to collapse
Solved Battery drain for Me
I was also suffering from the same battery drain issue, but after doing a lot of research on this forum, few tricks mentioned here worked for me.
It had been 6 days I bought the phone, so was very disappointed by battery life, did upgrade from PC to Lollipop, but still the problem persisted and even worse. So I decided to go back to Kitkat and followed steps here: http://forum.xda-developers.com/z3-c...d5833-t2906706
After downgrade the battery got somewhat better not satisfactory, so I followed the trick of complete drain upto 0% and charge to 100% (switchded off) after reading posts: http://forum.xda-developers.com/z3-c...5#post59797105 by Sydr08 #182
and cache clearing trick after 0% to 100% charge http://forum.xda-developers.com/z3-c...harge-t3207737
After doing 100% charge I turned ON with vol+ pressed but phone did not respond (I guessed that it didn't worked, so switched ON normally) but after booting I found few settings to be reset so I guess it worked
So finally this trick seems to work for me, now the drain has slowed down to a lot extent. I have used phone regularly (calls, games, whatsapp, Music etc), the battery has dropped to 76% in around 8 hrs ( without stamina mode ) just expecting it to last for two days, and more than that with satmina mode.
Firmware: .77 (India)
Model: D5833
Hi Aakm,
As you said, the tricks mentioned so far on this thread were not really effective, at least for me as well. I could live with that 25-30% left at the end of the day (it is still much better than my old Samsung GS2), but I would be glad to be back to the 2-3 days of moderate use as I had during my first months of ownership.
So I'll try this out over the next days and hopefully it will work, thanks for suggesting! It sounds a bit like magic to me but let's give it a try
Best regards,
Alex
Unfortunately the full drain+charge did not change anything for me. I did not try to downgrade to Kitkat but as I've had good battery on Lollipop for several months, I doubt it would help.
Anyway thanks for your help, but I guess I'll simply wait until Android M comes out and take the opportunity for a full factory reset, hoping it will solve the issue.
Please guys mark the star on the bug report, the more people agree, higher will be the chance that google decide that it's time to fix it
https://code.google.com/p/android/issues/detail?id=190396
sorry wrong theme

Wakelocks

Anyone using battery monitoring apps like BBS or GSam, can you share some of your stats here? I'm trying to figure out whether the seemingly massive amount of wakelocks I'm having is normal or not. The biggest problems seem to be coming from the kernel itself. BBS shows a lot of kernel wakelock time, and GSam consistently lists the kernel as the highest drain in its app sucker screen. Also, the Phone app seems to be waking the device a lot since upgrading to .5.51, which wasn't a problem on .3.374.
I've attached some screenshots that illustrate the problem. I'm already using ForceDoze and Greenify, which have been enabled via ADB, and I've restricted background activity and data for the vast majority of my apps. I'm really hoping there's something I can do about this given that it's impossible to use another kernel (LB and none available for this phone anyway). I've software repaired/clean flashed 3 times.
My battery drain is actually not bad at under 4%/hr (combined screen on/off) and about 1%/hour with the screen off overnight. Today I've logged over 4.5 hours SOT in a period of 17 hours and am sitting pretty at 36%. That's better than any phone I've ever used. But I worry that all the wakelocks are using my phone's CPU, raising its temperature, and might contribute to faster battery degradation.
Also, this is with bluetooth off and my Pebble not paired, but battery drain becomes substantially worse with that setup. My idle drain triples with my Pebble connected. I'm trying to troubleshoot one issue at a time and want to nail these wakelocks before moving onto the bluetooth issues.
If your battery stats looked like mine and especially if you figured out how to fix it, please share!
Given that Sony ended .5.51 deployment prematurely and is currently rolling out .8.49, I think you should update to .8.49 (or wait until your region gets the update if you don't have it yet) then recheck if your problem still persists.
Pouring time and resources into a version that Sony is no longer pushing isn't that great of an investment, especially since it's possible that it was fixed in .8.49.
mhaha said:
Given that Sony ended .5.51 deployment prematurely and is currently rolling out .8.49, I think you should update to .8.49 (or wait until your region gets the update if you don't have it yet) then recheck if your problem still persists.
Pouring time and resources into a version that Sony is no longer pushing isn't that great of an investment, especially since it's possible that it was fixed in .8.49.
Click to expand...
Click to collapse
Everything except the phone app using more battery was the same on .374. And I fixed that after force stopping the phone app and rebooting. I've been trying to troubleshoot this for weeks but just upgraded to .5.51 a couple of days ago. I will flash it when it comes out for Customized UK, but I don't think .5.51 is the root of the problem.
(Oh cool, Xperifirm actually shows .8.49 available for Customized UK now. Time for some flashing!)
Edit: I'm seeing the same degree of wakelocks so far on .8.49.
Update: The battery drain from "phone" is actually Android System. There's a bug in Oreo where sometimes Android System is showing as Phone/RCS in the battery stats. Doesn't explain why Android System is using so much battery though.
https://www.reddit.com/r/GooglePixel/comments/7f7jk2/pixel_2_rcs_battery_drain_is_there_any_way_to/
https://www.reddit.com/r/GooglePixel/comments/7edcav/rcsservice_draining_battery/
https://forums.oneplus.net/threads/rcs-draining-battery.657535/
https://forums.oneplus.net/threads/rcs-service.666045/
https://forums.oneplus.net/threads/found-way-to-end-rcs-sucking-battery-after-oreo.659711/
So I managed to get a lot of my battery drain figured out, but a few things are still bothering me.
1) Google Play Services and Android System and/or Phone (see my last post) are using the Significant Motion Sensor to wake my device constantly.
2) Sony's smart charger (com.sonymobile.smartcharger) is waking my device. I'm assuming this has something to do with Battery Care, which I find to be a useful feature. But why does it need to continue sending alarms to wake up our phones when not plugged in?
I've attached 2 screenshots from Better Battery Stats showing the first issue (Sensors/Play Services and Phone) and 1 showing the second (Alarms/Smart Charger). Note the "wakeup=true" and long times recorded for Significant Motion. This held true when I had my phone sitting face-down on a table for 6+ hours to do battery testing earlier.
Anyone else who uses battery monitoring apps: have you noticed any similar issues?
jrbmed08 said:
So I managed to get a lot of my battery drain figured out, but a few things are still bothering me.
1) Google Play Services and Android System and/or Phone (see my last post) are using the Significant Motion Sensor to wake my device constantly.
2) Sony's smart charger (com.sonymobile.smartcharger) is waking my device. I'm assuming this has something to do with Battery Care, which I find to be a useful feature. But why does it need to continue sending alarms to wake up our phones when not plugged in?
I've attached 2 screenshots from Better Battery Stats showing the first issue (Sensors/Play Services and Phone) and 1 showing the second (Alarms/Smart Charger). Note the "wakeup=true" and long times recorded for Significant Motion. This held true when I had my phone sitting face-down on a table for 6+ hours to do battery testing earlier.
Anyone else who uses battery monitoring apps: have you noticed any similar issues?
Click to expand...
Click to collapse
I'm with you on RCSService being main culpirt for me. No I don't think it's a bug, it actually does use lots of battery. I listen to 3+ hours of bluetooth music a day and when I saw that RCSService was using more power than my bluetooth, then I thought it was time to experiment. So I uninstalled Carrier Service and RCSService and suddenly my battery life jumped by 20%. There was something in the November update to these services that made them go nuts. Several people have noticed a jump in battery usage, but most people, myself included, thought it was down to the new firmware. Uninstalling these 'features' has made no difference to SMS for me, other than I don't get a read confirmation.
I don't know about smart charger, sorry.
Pretty sure the proximity sensor is always on and that must use some power, but I don't know what that would be called in BBS.
Didgesteve said:
I'm with you on RCSService being main culpirt for me. No I don't think it's a bug, it actually does use lots of battery. I listen to 3+ hours of bluetooth music a day and when I saw that RCSService was using more power than my bluetooth, then I thought it was time to experiment. So I uninstalled Carrier Service and RCSService and suddenly my battery life jumped by 20%. There was something in the November update to these services that made them go nuts. Several people have noticed a jump in battery usage, but most people, myself included, thought it was down to the new firmware. Uninstalling these 'features' has made no difference to SMS for me, other than I don't get a read confirmation.
I don't know about smart charger, sorry.
Pretty sure the proximity sensor is always on and that must use some power, but I don't know what that would be called in BBS.
Click to expand...
Click to collapse
Thanks! I should clarify that when I say it's a bug, I believe something is using a lot of battery, but I don't know that it's necessarily Phone/RCS, because it shows up randomly as either that or just Android System. I think it might be something within Android System but being labeled as Phone or RCS. (Edit: Or the other way around; it could be 100% RCS and sometimes shows up as Android System because the phone is part of that umbrella.) I could be wrong but based my judgment on the links I posted above.
That being said, I disabled Carrier Services on your recommendation in the other thread because my carrier doesn't support VoLTE, VoWiFi, or RCS, I've never seen a "delivered" message, and I don't even use the Google Messages app anyway (I use Texra for SMS and keep Messages disabled). So like you, I don't need these services. And I do think there's been an improvement. Might be time to go through the rest of what you recommended via ADB. The only thing that concerns me about doing that is that I'll have to factory reset if I ever switch carriers and want those services, but I guess that's a small price to pay and an unlikely scenario anyway.
The smart charger thing is just weird. It shouldn't need to constantly check whether I'm charging since it kicks in when you plug in. Yesterday I disabled battery care during the day and re-enabled it at night to charge, and I had the best battery life since I've owned the phone: 4.5 hours of SOT over 18 hours off the charger with 30% remaining. I may have to look at idle drain with battery care disabled. I like the idea of battery care, but if it's draining my battery then it just defeats the purpose.
Regarding sensors, BBS has its own category for proximity sensor; this is a separate sensor for significant motion. Somehow Google Play Services and either Phone/RCS or Android System are using that particular sensor all the time. And not just listening to it, but causing lots of wakeups and doing so while the device is sitting on a table all night. I can only deduce that it's somehow seeing motion when there isn't any.
jrbmed08 said:
Regarding sensors, BBS has its own category for proximity sensor; this is a separate sensor for significant motion. Somehow Google Play Services and either Phone/RCS or Android System are using that particular sensor all the time. And not just listening to it, but causing lots of wakeups and doing so while the device is sitting on a table all night. I can only deduce that it's somehow seeing motion when there isn't any.
Click to expand...
Click to collapse
Do you have 'On Body Detection' enabled in smart lock? That would force the phone to affirm if it's moving/stationary regularly and quite often.
Didgesteve said:
Do you have 'On Body Detection' enabled in smart lock? That would force the phone to affirm if it's moving/stationary regularly and quite often.
Click to expand...
Click to collapse
I never enabled that from the start, but just checked in case Google did something, and it's still off.
I also checked my app permissions, and the only ones with access to body sensors are Google Play Services and Tasker. None of my active Tasker profiles require the significant motion sensor. One of them does use the orientation sensor to turn the speakerphone on when it's face-up during a call, but I tried disabling that profile and the stats didn't change.
Maybe I have a messed-up accelerometer...do you know of a way to test that? (Edit: Found it in the Support app - my accelerometer, gyroscope, and proximity sensor are fine)
I think I might head to the Sony Mobile forums with the smart charger issue for that matter. It may be a bug that affects all phones with Qnovo features, or maybe they could at least give me an explanation.
jrbmed08 said:
Might be time to go through the rest of what you recommended via ADB. The only thing that concerns me about doing that is that I'll have to factory reset if I ever switch carriers and want those services, but I guess that's a small price to pay and an unlikely scenario anyway.
Click to expand...
Click to collapse
Correct me if I'm wrong, but couldn't you just "reinstall" those services via the same adb commands? Where you typed uninstall, just replace with install?
Maybe, but I don't know where I would be installing them from...? Since I don't have a backup of the package. I uninstalled a bunch of stuff via adb before and it didn't return with a dirty reflash. I had to flash userdata. So that's all I'm going by.
I'm not sure of the actual technical mechanics, but I believe uninstalling system apps doesn't actually remove the package from the system image, so you can reinstall them at any time.
I think it's like taking down a sign on a store, the actual store is still there, just all references to it are no longer there, so to the OS it's not listed - "uninstalled".
Hello - was there any solution found for this issue?
jrbmed08 said:
Anyone else who uses battery monitoring apps: have you noticed any similar issues?
Click to expand...
Click to collapse
Hi there, what was the final solution to your issue?
Dean F said:
Hi there, what was the final solution to your issue?
Click to expand...
Click to collapse
I gave up. I still have a ton of wakelocks. GSAM shows a bunch of them even when my phone is supposedly dozing. My battery life is OK, not nearly as great as I hoped I'd have with this phone, but it gets me through the day so I've just been living with it. I have noticed better battery on the latest firmware (July patch) than June. I also got rid of the RCS stuff, which helped a bit. And finally I traced a lot of my drain to an app I was using called "hide running in background notification" which the last few firmwares can do natively.
(Edit: Sorry for missing your previous post!)
Edit: I was sadly mistaken about better battery on the July patch. The battery is only better if I'm not on wifi. I posted in the wifi drain thread about it just now.

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