Related
Hi,
I have a question regarding battery life of the OPO. I'm still not sure whether I have a defective battery, or some apps drains my battery like crazy (or both?). I hope you can help me with this.
In the first 2 weeks since I got it, I use my OPO for mid to heavy activities (a lot of Whatsapp, Youtube, streaming music, etc). I always start the day with 100% battery and I thought it was normal to see the battery drops to at least 20% at the end of the day. To be honest, I didn't check the battery stats in Settings even once in this time frame, and due to my heavy usage, once again I thought this was normal.
Until one night I decided to plug the charger earlier than usual, unplug it around 11pm (w/ 100% battery), then I fell asleep. I was shocked the next morning (8am) when I saw the battery has decreased to 65% with no activities whatsoever. I check the battery usage in Settings and then saw Google Play Services (GPservice) at the top of the list with 45% usage, with "keep awake" time almost identical to total time on battery. I did some research and found some advice including 1) denying GPservice abilities to "keep awake" and "wake up" via privacy guard (from this thread http://forum.xda-developers.com/oneplus-one/general/guide-google-play-services-battery-t2832525), 2) turn off location, 3) turn off sync, but none of them seems the solution to my problem. Since then, I always check the battery usage and reset it, to see if GPservice still at the top. Sadly it still there. After I reset the stats, go to sleep directly and check it about 1 hour later, GPservice uses 40% - 60% of the battery usage, draining about 6% battery / hour.
With screen on a few minutes, it easily drops to 5th or 6th place with ~7% usage, with screen and main apps I use on the 1st and 2nd place. When I googled about this using Firefox, that's when I start worrying about something else, the battery itself. With wi-fi and low brightness (less than >20% if I convert it from the slide bar), browsing with Firefox decrease the battery 1% in 2-3 minutes, no or low usage drains 1% in about 5-6 minutes. In contrast, charging increase the battery 1% in 1 minute. Is that normal? IDK, usually bad battery increasing faster when charging and decrease significantly when in use.
Please help, especially about the excessive GPservice battery usage. And if it's possible, I prefer non-root solution for it. Thanks and sorry for my bad English.
OPO - stock rom (unrooted XNPH44S)
Google Play Services 6.7.76 (reverted back to 5.0.89 factory version but things pretty much the same)
cliffflip said:
Hi,
I have a question regarding battery life of the OPO. I'm still not sure whether I have a defective battery, or some apps drains my battery like crazy (or both?). I hope you can help me with this.
In the first 2 weeks since I got it, I use my OPO for mid to heavy activities (a lot of Whatsapp, Youtube, streaming music, etc). I always start the day with 100% battery and I thought it was normal to see the battery drops to at least 20% at the end of the day. To be honest, I didn't check the battery stats in Settings even once in this time frame, and due to my heavy usage, once again I thought this was normal.
Until one night I decided to plug the charger earlier than usual, unplug it around 11pm (w/ 100% battery), then I fell asleep. I was shocked the next morning (8am) when I saw the battery has decreased to 65% with no activities whatsoever. I check the battery usage in Settings and then saw Google Play Services (GPservice) at the top of the list with 45% usage, with "keep awake" time almost identical to total time on battery. I did some research and found some advice including 1) denying GPservice abilities to "keep awake" and "wake up" via privacy guard (from this thread http://forum.xda-developers.com/oneplus-one/general/guide-google-play-services-battery-t2832525), 2) turn off location, 3) turn off sync, but none of them seems the solution to my problem. Since then, I always check the battery usage and reset it, to see if GPservice still at the top. Sadly it still there. After I reset the stats, go to sleep directly and check it about 1 hour later, GPservice uses 40% - 60% of the battery usage, draining about 6% battery / hour.
With screen on a few minutes, it easily drops to 5th or 6th place with ~7% usage, with screen and main apps I use on the 1st and 2nd place. When I googled about this using Firefox, that's when I start worrying about something else, the battery itself. With wi-fi and low brightness (less than >20% if I convert it from the slide bar), browsing with Firefox decrease the battery 1% in 2-3 minutes, no or low usage drains 1% in about 5-6 minutes. In contrast, charging increase the battery 1% in 1 minute. Is that normal? IDK, usually bad battery increasing faster when charging and decrease significantly when in use.
Please help, especially about the excessive GPservice battery usage. And if it's possible, I prefer non-root solution for it. Thanks and sorry for my bad English.
OPO - stock rom (unrooted XNPH44S)
Google Play Services 6.7.76 (reverted back to 5.0.89 factory version but things pretty much the same)
Click to expand...
Click to collapse
Definitely sounds like somethings not right, what apps do you have that access or could potentially access your location? If you're still not having any luck, as a last resort you could try a fresh install of CM11S and install your apps one by one to see if you can determine if any are responsible for sucking battery.
Give the below app a try:
https://play.google.com/store/apps/details?id=com.playfulgeeks.gservicefix&hl=en_GB
Install Gsam to see if you can gain any more insight into whats causing battery drain.
https://play.google.com/store/apps/details?id=com.gsamlabs.bbm
cliffflip said:
Hi,
Until one night I decided to plug the charger earlier than usual, unplug it around 11pm (w/ 100% battery), then I fell asleep. I was shocked the next morning (8am) when I saw the battery has decreased to 65% with no activities whatsoever. I check the battery usage in Settings and then saw Google Play Services (GPservice) at the top of the list with 45% usage, with "keep awake" time almost identical to total time on battery.
Click to expand...
Click to collapse
did you try to use this App: http://forum.xda-developers.com/showthread.php?t=1179809
there you can see which app prevents your phone from going to sleep (partial Wakelocks)
gsmyth said:
Definitely sounds like somethings not right, what apps do you have that access or could potentially access your location? If you're still not having any luck, as a last resort you could try a fresh install of CM11S and install your apps one by one to see if you can determine if any are responsible for sucking battery.
Give the below app a try:
https://play.google.com/store/apps/details?id=com.playfulgeeks.gservicefix&hl=en_GB
Install Gsam to see if you can gain any more insight into whats causing battery drain.
https://play.google.com/store/apps/details?id=com.gsamlabs.bbm
Click to expand...
Click to collapse
Maps, Google Fit, Google Now, among other things.
CMIIW but I read somewhere that GServicefix does the same like privacy guard, denying some service to keep awake, wake up, etc.
So I installed Gsam and run it about 1 hour. Interestingly in there, Kernel (Android OS) is on the top the % list with 60% usage (mostly phone in idle/sleep). When I switch sorting to Kernel Wakelocks, it shows event0-798 & event2-798 as the top 2 wakelocks with around 7000 wakelocks. I'll update in few hours, thanks.
drcyber said:
did you try to use this App: http://forum.xda-developers.com/showthread.php?t=1179809
there you can see which app prevents your phone from going to sleep (partial Wakelocks)
Click to expand...
Click to collapse
From what I read on the Play Store description, Kitkat and above requires root?
cliffflip said:
Maps, Google Fit, Google Now, among other things.
So I installed Gsam and run it about 1 hour. Interestingly in there, Kernel (Android OS) is on the top the % list with 60% usage (mostly phone in idle/sleep). When I switch sorting to Kernel Wakelocks, it shows event0-798 & event2-798 as the top 2 wakelocks with around 7000 wakelocks. I'll update in few hours, thanks.
Click to expand...
Click to collapse
Please post screenshot of gsam
Try clear cache+dalvic cache in recovery
Hi, sorry for the late reply.
It seems reboot the phone a few times solves the problem. Battery usage now seems normal when idle, even with location & sync turned on.
Hi.
I have been experiencing Battery Drain in my P20Pro lately. Saw the battery consumption alert and can see that it says Awake all the time even though the screen is off!!
Have hard reset my phone to no use. Any ideas!
Screenshot attached
Maybe install an app like better battery stats, it'll show what app or process is causing battery drain.
Check your EMUI version. The last one that did not drain battery for me was 10.0.0.161. I reverted back to that and disabled the update feature via adb shell. Also, look at power consumption details ยป software. I found out that google play was draining my battery overnight (around 10% ). I have disabled it and I only install apks now. All Huawei bloatware disabled via adb also.
I'm facing exactly the same problem Whene I'm traveling.
I'm on emui 10.0.0.180
Normally when I put apps manually in deep sleep they don't do anything , run , wake up or use background data, send notifications , more so when their mobile data is restricted as well as their background activity. The highlighted even show as "manually disabled " within the apps menu. Yet they are showing up usage in background process within GSAM monitor.
Any ideas lads?
Edit. I checked their status under Dev menu, they were set to working _set , changed them to Frequent and will monitor.
It's a bloody joke , that deep sleep or sleeping apps setting under device care.
Just checked a few of my apps that are set to deep sleep aka manually disabled. Yet within Dev menu, their status is Active under standby apps.
Here's one example.
I checked mine and the apps are not "disabled" when I add them to deep sleep. I can still open the app, which would be impossible if the app was disabled.
I wouldn't trust the dev option as an indication that the app isn't sleeping (aka running in the background)... I have apps listed in mine that I haven't used yet, and there has been zero activity in the apps at all (battery use or otherwise).
Double check the battery use of the app and see if it is running in the background.
**Never mind, just woke up here and saw your first post edit. Hopefully the issue gets resolved for ya
scottusa2008 said:
I checked mine and the apps are not "disabled" when I add them to deep sleep. I can still open the app, which would be impossible if the app was disabled.
I wouldn't trust the dev option as an indication that the app isn't sleeping (aka running in the background)... I have apps listed in mine that I haven't used yet, and there has been zero activity in the apps at all (battery use or otherwise).
Double check the battery use of the app and see if it is running in the background.
**Never mind, just woke up here and saw your first post edit. Hopefully the issue gets resolved for ya
Click to expand...
Click to collapse
Yeah you're right. The dev option status for those apps running or not appears to be variable ,.changing them changes them back to whatever they want to be i believe.
I was just shocked ( not really ) I had those highlighted two or three apps in deep sleep status via the battery care menu, yet when my device was left sleeping and untouched for 2 hours I opened GSAM and it showed those very same apps as being used in the background as the top five usage lol
I use Nap Time by Francisco Franco to put the phone in a deep doze. Been using it on all my phones for several years now. Just need a couple adb commands for it to work on an unrooted phone.
Naptime - the real battery sav - Apps on Google Play
Makes your device sleep faster to save precious battery life when you need it
play.google.com
ggrant3876 said:
I use Nap Time by Francisco Franco to put the phone in a deep doze. Been using it on all my phones for several years now. Just need a couple adb commands for it to work on an unrooted phone.
Naptime - the real battery sav - Apps on Google Play
Makes your device sleep faster to save precious battery life when you need it
play.google.com
Click to expand...
Click to collapse
I'm good with 0.5 to 0.4% usage per hour in standby, however I might look into that in the near future if it may improve them. Current issue on hand if at all any might be SOT. I'm currently averaging similar figures to my last Samsung device which was an S10+
I guage all my devices battery performance by how much screen on time I can attain for around 40% of battery consumption. Currently averaging 4.5 hours. Was hoping for 6 plus but they might be over optimistic considering the 4370mAh battery.
ggrant3876 said:
I use Nap Time by Francisco Franco to put the phone in a deep doze. Been using it on all my phones for several years now. Just need a couple adb commands for it to work on an unrooted phone.
Naptime - the real battery sav - Apps on Google Play
Makes your device sleep faster to save precious battery life when you need it
play.google.com
Click to expand...
Click to collapse
ive used naptime before on other phones, will it interfere with notifications on oneui?
Doesn't for me.
Limeybastard said:
I'm good with 0.5 to 0.4% usage per hour in standby, however I might look into that in the near future if it may improve them. Current issue on hand if at all any might be SOT. I'm currently averaging similar figures to my last Samsung device which was an S10+
I guage all my devices battery performance by how much screen on time I can attain for around 40% of battery consumption. Currently averaging 4.5 hours. Was hoping for 6 plus but they might be over optimistic considering the 4370mAh battery.
Click to expand...
Click to collapse
With Nap Time I only lose 3-4% in a 12 hour overnight. I also have a lot oy Samsung bloat disabled too.
I have had a battery drain for several weeks now. It isn't to severe but the biggest issue bothering me the most is at night it is draining about 5-6% even with battery saver turned on. It used to be that in normal mode, the battery would only drop 2-3% over night. I do not charge at night.
I am fully updated and I even reset the phone to factory 2 days ago and the issue still persists. Nothing seems to stand out in the battery stats with regards to apps sucking battery %. So I think this is an issue where it is not going into Doze or Deep Doze but I dont know how to determine that.
Any suggestions how to find the problem?
(on android 10)
When you wake up in the morning...
Go into "Settings"
Then "Battery"
Then click the top right three dots
Then select "Battery Usage"
It should show you which apps used the most battery during the night.
JohnC said:
(on android 10)
When you wake up in the morning...
Go into "Settings"
Then "Battery"
Then click the top right three dots
Then select "Battery Usage"
It should show you which apps used the most battery during the night.
Click to expand...
Click to collapse
I have done that. No apps appear to be doing anything unusual. There are no battery hogs showing up. Not even excessive google services usage or anything. That is why I think this may be a situation where it isn't going into doze or deep doze like it used to but I dont know how to check or monitor that. that info doesn't show in battery stats.
I never heard of this doze/deep doze mode - where did you see this?
I ask because I typically get 10% loss overnight with what I thought was very good because the pixel often then calculates I have 2 days of remaining battery life with that stat.
JohnC said:
I never heard of this doze/deep doze mode - where did you see this?
I ask because I typically get 10% loss overnight with what I thought was very good because the pixel often then calculates I have 2 days of remaining battery life with that stat.
Click to expand...
Click to collapse
You can google it as there are tons of articles about it but here is some insight into it from the developer side: https://bignerdranch.com/blog/diving-into-doze-mode-for-developers/
OK, so it says in order to go into deep-doze, the phone:
1) Must not be charging
2) The screen is off
3) The phone is not moving
So, during the night, are all three of these conditions met?
Also, the device will come out of deep-doze if an incoming push notification is received - could one of your apps be receiving push notifications during the night?
Also, "Any process using a foreground service is exempt from Doze Mode effects, which is key for long-running applications"...do you possibly have any apps that have a foreground service?
Have you tried to switch off Bluetooth, it has a huge impact on battery even if not in use.
I've used apps before. Can't remember but gsam might be one...
It's possible to identify apps that are holding wake locks. That's the first place to check for battery drain.
lop1 said:
Have you tried to switch off Bluetooth, it has a huge impact on battery even if not in use.
Click to expand...
Click to collapse
I always keep WiFi, bluetooth, NFC and location off.
a1291762 said:
I've used apps before. Can't remember but gsam might be one...
It's possible to identify apps that are holding wake locks. That's the first place to check for battery drain.
Click to expand...
Click to collapse
all the apps I can find to track wake locks seem to need ROOT. I'd rather not do that as then I lose OTA updates.
After some extreme disabling of user app, system apps, services, etc. I finally got back to 3% battery drop overnight. I'm not sure which one was the culprit yet but i'll start enabling things as I need them and keep monitoring.
I'm having heavy battery drain. I already charged to 100 and less to 30 minutes i lost 10%.
It began since last update on my case.
After you see a big drain, DON'T plug in and...
Go into "Settings"
Then "Battery"
Then click the top right three dots
Then select "Battery Usage"
It should show you which apps are to blame for the drain.
badtlc said:
all the apps I can find to track wake locks seem to need ROOT.
Click to expand...
Click to collapse
Gsam needs permissions but these can be set with USB debugging, no root needed.
So one thing I have learned is that it appears every time I reboot, gsam thinks my wifi is on even though I have it off. If i turn it on and then back off. Gsam now says wifi is off.
So i got through the night at 3% battery drain but now I am realizing that my phone will not go into deep sleep during the day. Any suggestions how to fix that?
According to the details in the link posted earlier, it will never go into deep sleep if the phone is moving.
JohnC said:
According to the details in the link posted earlier, it will never go into deep sleep if the phone is moving.
Click to expand...
Click to collapse
I leave my phone sitting on a desk all day. There has to be some Android services that only operate during the day but i can't dtermine what those might be.
badtlc said:
So i got through the night at 3% battery drain but now I am realizing that my phone will not go into deep sleep during the day. Any suggestions how to fix that?
Click to expand...
Click to collapse
Was gsam able to identify which app was holding a wake lock?
Or maybe triggering frequent wakeups?
Both of those would prevent doze...
Battery Guru is good for chasing drains (with ADBs), add BBS + adbs and you can find anything using them together!
a1291762 said:
Was gsam able to identify which app was holding a wake lock?
Or maybe triggering frequent wakeups?
Both of those would prevent doze...
Click to expand...
Click to collapse
Google play services mostly. There was a large amount from "Adaptive connectiviy" but when I disabled that those went away.
Greetings, I have a problem with constant wakelocks on my MI11i phone since the day I bought it. Those wakelocks drain battery by 30% overnight, but also cause increased drain during the day in standby too since they instantly kick in as soon as the phone is locked, overall resulting in poor battery life. Even thou I am not an advanced user and has no need of it, I went so far that I completely factory reset the phone(this was the 2nd time), then reflashed new recovery and new official ROM to see will that sort the issue, then for a good measure I also rooted it with TWRP and Magisk. I tried underclocking the cpu to the lowest but it makes no difference while in standby since obviously that isn't the case. I tried using icebox but there were no processes that had SNS or RMNET in their names, so I just froze some analytics apps. Both wakelocks are gone as soon as I turn on the airplane mode or switch to wifi. Any app that can help me freeze those or edit something in kernel?
I found a rom that fixes the wakelock, listed here https://miuiflash.com/roms/miui-csx/alioth/miui-csx-v13-0-8-0-stable-alioth
But i couldn't find a way to contact the author for more info can i fix the kernel myself