yashsingh1/xdaforums huggingface dataset:
[ONE General] beastlykings:
I know many people have used [MENTION=4153349]timmaaa[/MENTION] fix for the Google play services wake lock but I'd like to report I used a method found on the opo forums and have had zero ill effects.

It is as follows:

"

janek

Level: Cupcake

Ok: The SystemUpdateService wakelock issue seems to be a problem with the new Google Play Services 5.0 version and CM11 in general. See http://www.reddit.com/r/Android/com...y_services_50_is_rolling_out_with_new/ciho88i

Many users seem to have this issue.

But*maybe*I found a fix:

Install "Disable Service" from play storehttps://play.google.com/store/apps/details?id=cn.wq.disableserviceSwipe to "System Apps" and select "Google Play Services"Search for "SystemUpdateServer" => It was unchecked in my case. If it's unchecked: Klick on it (Checks it and enables the service)Do the same for "SystemUpdateServer" of Google Play Framework (Update)Afterwards the SystemUpdateServer wakelocks are gone for me (at least for the moment) and the devices was able to go to deep sleep.

But why does enabling the service could possible disable the wakelocks caused by this particular service?

There have been lots of partial wakelocks because some Apps/BroadcastReceivers tried starting the SystemUpdateServers - but because it has been disabled all requests failed. Every request caused a so called "partial wakelock" which prevents the device from entering deep sleep."

Sent via quantum entanglement, focused through my OnePlus One.
[ONE General] Heisenberg:
My method also has zero ill effects.

Transmitted via Bacon
[ONE General] beastlykings:
That's fine. I guess I shouldn't imply that it does. It just seems to me I remember hearing people using similar methods and having issues trying to figure out which services to kill and which to keep, and then certain applications complaining because their service is odd etc etc.

I may be wrong. But I feel it's not a bad idea to offer a slightly more simple method with less possible ill effects.

We're all just waiting for an update I guess lol.

Sent via quantum entanglement, focused through my OnePlus One.
[ONE General] innomi:
What wake lock?

I have 0 wake locks in stock.

Am I missing something?

Sent from my 1+1 64GB
[ONE General] beastlykings:
Apparently some people get it and some don't. My stock One had it, a Google services wake lock, battery drainer. I had to use one of the many available methods for solving the issue and now I'm good.

Sent via quantum entanglement, focused through my OnePlus One.
[ONE General] Heisenberg:
My method explains exactly which services to kill so there shouldn't be any confusion there if people follow the instructions precisely.

Transmitted via Bacon
[ONE General] beastlykings:
Consider my alternate, yet completely functional, workaround, officially revoked.

Sent via quantum entanglement, focused through my OnePlus One.
[ONE General] Heisenberg:
I'm not asking you to do that at all, all I'm doing is clarifying points that you've made about my method.

Transmitted via Bacon
[ONE General] dondavis007:
If you reinstall by fastboot you'll notice. I just did and now I'm totally waked locked [emoji1]

I installed coloros instead just for the fun of it, I'll will loose the sot I supposed. But why not, this phone is tinker friendly :)
[ONE General] ghettopops:
So I went to bed 100% and woke up 9 hours later at 84%.

System awake for 21 mins. Night before about a 10% drop.
[ONE General] Hawkery:
You'll get theCM11S 30O firmware this week >> https://forums.oneplus.net/threads/cm-11s-30o-ota-slowly-rolling-out.83394/

It should be fixed...

Let's hope ^^
[ONE General] tssphysicsboi:
Light usage. A few phone calls, whatsapp, YouTube, xda, Web browsing. Mostly on wifi and airplane during sleep.

I'd think it's pretty good? ? hell it's amazing!
[ONE General] Kawaisa:
I'm only getting around 6 hours of OST with data sync and location on (battery saving mode). I'm also using the tumblr app alot. I'm not sure how people are getting 8 hours if they're doing the same stuff.
[ONE General] tee00max:
Were you guys getting good battery life out the box or did it take a few charge cycles for it to settle down and get better?
[ONE General] Heisenberg:
Out of the box 24 hours overall with 7 hours screen on time. On LTE.

Transmitted via Bacon
[ONE General] tee00max:
Ok gotcha, just making sure because I was getting a good amount of battery drain this morning, first full charge cycle. Will see if it gets better for me.
[ONE General] innomi:
I got a little less out of the box.

First cycle it was around 6 hours ost.

Few cycles after what around 7 hours.

Now I'm getting 7-8 hours ost every cycle.

That's with stock rom stock kernel.

Rooted with locked original bootloader and original recovery.

I'm a moderate to heavy user.

Sent from my 1+1 64GB
[ONE General] tee00max:
Ok cool thanks for the input. I will keep an eye out for it.
[ONE General] beastlykings:
I had a similar experience, only without the 8hr screen on time, more like 4 or 5 for me. I just figured it got better because I was playing around with my new toy a little less each day lol. Now it's just my phone, not the amazing new awesome thing. You know?

Sent via quantum entanglement, focused through my OnePlus One.
[ONE General] mbudden:
Is anyone else experiencing higher battery drain during idle on this OTA? My monitor app is showing 30-40mA on idle vs 7-9mA of the last build.
[ONE General] tiny4579:
Airplane mode, wifi or data? And which app? I'd love 30mA idle.
[ONE General] tssphysicsboi:
I thought it was just me. Overall comparatively speaking it drains it faster. I'm sleeping now. I'll put it on airplane. Before update it drops 1% overnight. If it drops more then I'll know for sure. But from my battery status I don't see anything draining it.

Though this round may not be fair since when I was charging the phone I disconnected the power several times pushing update from computer to phone. So the battery status may not be quite calibrated.
[ONE General] Logic717:
I've seen the same thing from every 4.4 ROM i've used. Something is draining the battery at idle and I think it has to do with the bam wakelock, but I have no idea which app may be trying to sync (as that is what the bam_wakelock is associated with). I'm down to disabling apps one by one...

Right after I try airplane mode.
[ONE General] zeonz92:
I think we really need more inputs from people who updated their phone to XNPH300 to see if AndroidOs is still a problem in draining huge part of the battery.
[ONE General] luminouche:
Drain is worst for me with yesterday update.

25R was better IMO.

I'll probably move back in few days.
[ONE General] mbudden:
Here is some screenshots. 10 min SOT. 6 hours since charged.

LTE, GPS Battery Saving, Bluetooth

Exactly. It used to drop very slowly. Though... It's dropped so fast

---------- Post added at 04:24 PM ---------- Previous post was at 04:12 PM ----------

Here are some more screen shots.
[ONE General] Kerjifire:
Lost 8 percent last night compared to 1 pre update
[ONE General] innomi:
My phone is always my toy lol.

I use it for almost everything.

Sent from my 1+1 64GB
[ONE General] coolguy949:
Mine is draining quicker as well. The phone actually feels warmer to hold, especially when in use.
[ONE General] Heisenberg:
Have you investigated why?

Transmitted via Bacon
[ONE General] coolguy949:
Working on it. It seems Google Services might be it. I'm seeing the phone waking up much more frequently and Google Play Services is #4 on my drain list. I cleared cache and rebooted. Now to see if that worked.
[ONE General] Heisenberg:
Look in my signature for a fix to the Google Play Services battery drain problem.

Transmitted via Bacon
[ONE General] mbudden:
Yes.

I denied everything in Privacy Guard including Google Play Store, Google Play Services and Google Search. Hit Google Play Services with WakeLock Terminator.

Nothing.

Opened a bug report over at Jira.

https://jira.cyanogenmod.org/browse/BACON-599
[ONE General] tiny4579:
What is your mA drain monitoring app? I use battery monitor widget but I'm not sure if its accurate on this device.
[ONE General] mbudden:
Battery Monitor Widget. I've been using it over a multitude of devices. It's quite accurate IMO.

The developer fixed it for the OPO but the latest update broke it. I emailed him to let him know.

You have to make a change if you updated to the latest update. (I went back to my update. I can't handle the additional drainage.)

Settings > Battery > Monitoring > mA Retrieval Method > Reverse mA
[ONE General] tiny4579:
OK. That's what I was told to use by the developer. I contacted him as well.

FYI this was my 2 hour drain during 0 usage over lte. Cant find a significant wakelock issue and I'm preventing Google play services from waking my device.

See around 7-9am today.
[ONE General] tssphysicsboi:
Just to update everyone. After my sleep my phone dropped 4-5% overnight with airplane mode. Definitely more than before. But test is inconclusive since I poorly charged the phone yesterday so I'll drain it today and see what happens tonight.

But at it stands the drain is quite obvious. BUT I don't see what's draining the phone as 'screen' is costing most of the battery drain which looks normal.
[ONE General] mbudden:
Interesting. I'm trying to figure out why you're seeing positive mA unless you were charging your phone.

I've only seen that kind of drainage 150-300mA during actual usage and not idle.

I had 20% drop over 6 hours of idle. Far increase from what I've had before.
[ONE General] napes22:
The issue is Android OS. That's what's draining my battery during idle mode. It's keeping it awake for hours at a time on my phone. I lost 20% in 2 hours with the phone not being used.
[ONE General] tiny4579:
You're trying to be relevant and sneak a invite request in on a different thread at the same time. There's a thread or two for invites already you know.

To be on topic. I agree that the battery life seems to be likely a Google related drain. Not the fault of cm or oneplus.
[ONE General] DxTcmix:
Wakelock detector should find what's responsible. Also the kernel might not be fully optimized yet. I'll report on my findings in a couple of days, I get my OPO today so I'll try and find what's responsible for the battery drain.
[ONE General] dani_cord:
Not bad...
[ONE General] Indicious Flow:
Outstanding battery life.

Hmmm idk for you all but from what I've used for the past few days, battery life was actually quite decent. 4-5 hrs of screen time with 9-11 hours of standby. Was having 4G on most of the time, using camera, watching videos most of the time. For me it is the most decent battery life as compared to most of the other phones out there. (But I know M8 is undefeatable but we are talking about custom os here)
[ONE General] cas8180:
My main reason for an upgrade was for better battery life as I am a power user aka I watch porn all day on my phone. But my nexus 5 with custom kernel gets those stats if not better.
[ONE General] vittogn:
Definitely not on LTE, on wifi maybe....

Inviato dal mio LG-D802 utilizzando Tapatalk
[ONE General] Kappa Lamda:
Someone to post a screen on time without LTE but with network mode set to WCDMA/GSM auto and wifi on most of the time? Sync, push, data on of course all the time and no airplane mode.
[ONE General] mannu_in:
I just got the device yesterday....flashed CM11 on it....with 3G data on, it was 8% down the complete night....went from 96% to 88% ...which is pretty impressive for me...
[ONE General] rebeccadri:
Why so much OS ??!

oneplus one der ersten stunde
[ONE General] boober78:
---------- Post added at 11:35 PM ---------- Previous post was at 11:35 PM ----------
[ONE General] hendricklin:
I've got the same problem, why so much on the Android OS????

and i've noticed that in most of your opo, the android os and android system are placed at the top 3

on my opo

81% not charging

3h3m52s on battery

AndroidOS 42%

Screen 26%

Android system 10%
[ONE General] tiny4579:
Built in stats don't show that much info. Maybe try gsam, wakelock detector, or betterbatterystats. All 3 show more info as far as partial and kernel wakelocks.l than the built in details. See if you can screenshot the top offenders from one of those apps. Gsam and wakelock detector are free on play. Betterbatterystats is not, but it is free on xda from the author.
[ONE General] rebeccadri:
Deactivate gesture control an now i have 7% OS

oneplus one der ersten stunde
[ONE General] tiny4579:
Wait. That's not supposed to use battery due to the design of the hardware. I wonder if cm would take a jira ticket. It is a release build after all.
[ONE General] k00zk0:
Please post your SCREEN ON TIME! The total battery life is useless, as standby can allow a phone to last anywhere from a day to a month depending on what software is on it and what your network is like.

Click on SCREEN and tell us how many hours and minutes it shows there!
[ONE General] sic0048:
The OP is a troll.

He doesn't even own a Oneplus One. It was a friend's phone that he borrowed. There is no telling what types of programs or settings the friend had on his phone and it certainly cannot be used to compare it to the OP's phone after just 9 hours of usage (if he even had it that long).

There is no way that the OPO will have worse battery life than a Nexus 5 with the same apps, settings and usage. Sorry, just isn't going to happen.
[ONE General] Deadpool253:
I just ordered mine last Thursday. I can't wait till it gets here!

Darthstalker v25 powered by compulsion kernel 36!
[ONE General] king1990:
this my third day with OPO which is really great phone

for battery I think it is good lasting for 1day and 7 hours for my normal use : browsing , youtube , torrent download , music , etc
[ONE General] hendricklin:
my opo is much much more better now,the device automatically turn on all the sync of all the account on my phone

which i think is the most important reason leading to a high usage of the " Android OS" while at the same time, you may have to turn off the location service as well

after turning all this off with wifi connection only, the battery works very well!!!!!

and what impressed me is that the battery usage for the phone at a stand by status

with turning off the wifi when i sleep, it just use up 1% of the battery
[ONE General] djfoo000:
On CM11 nightly.

For usage comparison, Galaxy Nexus on CM11 nightly gives me 1hr45mins SOT.
[ONE General] jarjar124:
I have a feeling that the android os has to deal with the proximity scan so the gestures don't activate in the pocket. I had a similar experience on custom ROMs with this option. Strange that cm decided not to include it as a toggable option instead of making it mandatory
[ONE General] Heisenberg:
It's most likely Google Play Services, it sometimes shows up as Android OS in the battery stats. Try the fix in my signature.

Transmitted via Bacon
[ONE General] tiny4579:
It wasn't positive drain. Look specifically at 6:50am to 9:05, there was no usage there. About 2-3% idle an hour and I haven't found any fix yet. Next to nill wakelocks and still :(
[ONE General] Logic717:
I tried this and verified that everything was disabled exactly as in your post. I'm still seeing Android System (battery view) and in GSAM it's showing up as 'Android System' 11.9% followed by 'Kernel (Android OS)' - 5.9%.

Again, I have everything related to play services disabled and even have location as Device only.

Any other suggestions? Like others, I don't see any significant wakelocks and it's still deep sleeping like a baby 6hr 40 min on battery, 1hr 4min awake, 34 min screen time... so that means something was keeping the phone awake for 30 minutes in a 6 hour span. That's not bad, but whatever that is is causing big time drain of that Proximity Sensor (10 min) which is equal to the length of phone calls i made over the 6 hr span so nothing strange there, and 15min for the bam_dmux_wakelock. 10 min for PowerManagerService.Display. Other than that, literally everything looks fantastic, but the drain rate is just significantly higher than before.

I'm baffled...
[ONE General] tssphysicsboi:
Ugh might switch back... The updates done aren't really worth the crap battery life...

Also a work around for the screen turning on is to have your screen facing outwards from your pocket. I think it's the sweat from the pants that are activating the screen.

Just a thought...
[ONE General] drms12:
Ever since the OTA update, the IDLE battery drain is like X5.

I used to go to sleep with 100%, wake up after 7 hours (Wifi, Bt and Data off) to find my battery level sits at 99%. Few times it was 100%.

After the update, I lost 6-7% after the same usage pattern.

No wakelocks at all never - deep sleep for the whole time.

I suspect that's because of the proximity sensor being on all the time.
[ONE General] MICa.fighter:
Actually, the device only location uses a lot of battery. Switch to battery saving and turn off location reporting. The best would be to turn off location when you dont need it.

Tapatalk'd from my 1+1
[ONE General] Dzhedaj:
Same here. Really annoying, lost 10% in 8 hours today with just a few wakelocks (Exchange).

With previous version I'd lose ~2% with the same conditions.
[ONE General] mbudden:
Fellas. If you guys have a Jira account. Make sure you go and make a comment. This needs to be addressed.

https://jira.cyanogenmod.org/browse/BACON-599

I couldn't figure out anything.

I had to go back to my backup.

I did. Back to 7-10mA draw.

Until they get this under control... I'm not updating.

Something is staying awake and draining battery. It might just be what yous aid.

Yep. Ditched it like it was hot.

I liked some of the new features of the OTA... But I couldn't handle the drain.
[ONE General] luminouche:
Same for me.

30O is a battery killer !

Lost more than 10% overnight.

25R was 2% max/night.
[ONE General] Dzhedaj:
If you don't have a Jira account, just takes 2 minutes to register and vote/comment..
[ONE General] Heisenberg:
I think it's actually the proximity sensor causing the drain. It's awake the whole time because of the new (and not optional) pocket mode that they introduced in the update. Anyhow, I've voted for your bug on jira.

Transmitted via Bacon
[ONE General] tssphysicsboi:
Voted as well! Ugh back to 25R for the time being!
[ONE General] Dzhedaj:
If any logic is/was applied to how the proximity sensor works, it would only be activated and checked once the touch gesture was invoked. No need to keep it "online" otherwise.
[ONE General] tiny4579:
Yeah. It ideally should check only after a touch gesture is detected. That's how its done on the m7 at least. Your thought makes sense.
[ONE General] m4ssnet:
voted, hope they will investigate asap this issue :D
[ONE General] Heisenberg:
You would think that a renowned group like CM would be aware that keeping the prox sensor active constantly is going to serious adverse effects on battery life. It doesn't make sense. It's like with the lockscreen notifications feature on custom ROMs, you have the option to enable pocket mode, which I never did because it's a devourer of juice.
[ONE General] Dzhedaj:
Tried disabling double tap to wake and screen gestures, but that did not solve the drain...
[ONE General] Wombat:
My battery hasn't changed at all on 30O, still 1% overnight, tbh even day usage seems better I'm on 92% after 3 hrs with fairly heavy usage...

Sent from Uranus via OnePlus :)
[ONE General] Dzhedaj:
Have you got both updates installed?
[ONE General] tssphysicsboi:
Did you do the incremental update?

Maybe the big update is fine as some other poster have stated.
[ONE General] jarjar124:
Lost 20% overnight. On 30O. Man this is terrible for me. I might need to go back to 25R. :/
[ONE General] Wombat:
Yep both updates, did them same time.. I never had the gestures enabled since I got it, so maybe that being disabled before update disabled whatever "screen touch wakelock for gestures" some are having that cause the drain??

Sent from Uranus via OnePlus :)
[ONE General] tssphysicsboi:
Ah too bad... Really need the tap to wake... Don't want my buttons to fail on me later...

Thanks for your information!
[ONE General] fcknalf:
Greenify and AK kernel on PA Rom. Pretty heavy user at work.

On conservative settings with +25 voltage across the board using trickster.
[ONE General] Dzhedaj:
Would you mind installing Battery Monitor Widget and running it with the phone idle for a couple of hours? When you go to History tab, long press the screen and select Show mA in history.

Basically with 25R the drain is around -7mA at idle. With the 30O it's at 30-50mA.
[ONE General] MICa.fighter:
Why did you overvolt? Stock wasnt stable?

Tapatalk'd from my 1+1
[ONE General] NaterTots:
Thank you. I've been trying to figure out how to get that back on the history graph. :)
[ONE General] adibeckett:
Reading these responses don't fill me with confidence iin updating this device in terms of battery life...
[ONE General] jarjar124:
I personally wouldn't. Reverted just now back to 25R.
[ONE General] Dzhedaj:
I also reverted to 25R.

Can someone still on 30O check the front of the phone with another camera?

Do you see a purple light (infrared, only visible via a camera) near the front facing cam? That would indicate the proximity sensor is the culprit...
[ONE General] Wombat:
Always broken for me, always says 498mA....

Sent from Uranus via OnePlus :)
[ONE General] tiny4579:
I reverted the proxmity check code myself in my self build. No improvements to idle drain so far. I should know better tonight.
[ONE General] tiny4579:
You need to pick reverse ma for the calculation or wait for the next app update.
[ONE General] roswell782:
Hi, does anybody have a link of a CWM zip of 25R?
[ONE General] Gryphie:
I checked and I see a purple light.
[ONE General] jdec529:
I'm also getting 30-50 mA. mainly in the 30-40 mA when idle on WiFi.
[ONE General] Quinnaay:
Got 12 hours and 5 hours SOT today, usually get about 6hrs SOT
[ONE General] tiny4579:
Its faint if its there, and the room I'm in is using bright fluorescent lights. I cant see it.
[ONE General] Gryphie:
I have now turned off double tap to wake, the other gestures I have disabled before. Then I rebooted the phone and now the proximity sensor isn't activated anymore.
[ONE General] Wombat:
Remove that crap! Its causing the drain....

Sent from Uranus via OnePlus :)
[ONE General] fcknalf:
Derp -25. undervalued sorry about that
[ONE General] jdec529:
And where are you getting that from.. Experience or just something u heard.

I'm not seeing a single wake lock from it while phone is idle. And my per hour % is all within range of where it was without.

---------- Post added at 07:52 PM ---------- Previous post was at 07:44 PM ----------

What app is telling u that?
[ONE General] Wombat:
Clean master, used it for years on all my android devices...

Sent from Uranus via OnePlus :)
[ONE General] Dzhedaj:
I checked it as well, the sensor gets stuck in the on position after the first use.

It acted propely (blinked once after the gesture or doubletap) only for the first minute after the boot. Then it got stuck.

Disabling the gestures and double tap to wake and rebooting disables the proximity sensor, BUT the battery drain stays higher than 25R at 18-20mA. Better than with the stuck sensor at 30-50mA anyway.
[ONE General] runderekrun:
Kondik has been assigned. That's good at least.
[ONE General] MICa.fighter:
Here you go: http://dist01.slc.cyngn.com/factory/bacon/cm-11.0-XNPH25R-bacon-signed.zip

Its the official recovery flashable zip. The link is hidden on https://cyngn.com/products/oneplusone/ but it still works. ;)

You can flash it even from an unlocked, unrooted, stock recovery ;)

Tapatalk'd from my 1+1

---------- Post added at 11:06 PM ---------- Previous post was at 11:04 PM ----------

Assigned to what? :)

Tapatalk'd from my 1+1
[ONE General] mbudden:
I use Battery Monitor Widget in 2 min intervals.... I still get 7-9mA idle on 25R. There is NO WAY that it's an issue.

Assigned to my bug report.
[ONE General] Heisenberg:
There's not much point to checking, the proximity sensor is always running. It's almost definitely the cause of the extra drain on the 30O update.

Transmitted via Bacon