7
Wakelock Bug in Cyanogen OS 12 (CM12 S) Triggering Fast Battery Draining in OnePlus One [How to Fix]

  1. arydream
    Gingerbread Apr 17, 2015

    arydream , Apr 17, 2015 :
    The recently released Cyanogen OS 12 (Android 5.0.2 Lollipop) update to OnePlus One is reported to have caused rapid battery draining in the device.

    [​IMG]
    Wakelock Bug in Cyanogen OS 12 (CM12 S) Triggering Fast Battery Draining in OnePlus One [How to Fix]Artem Russakovskii (Founder, Android Police)/ Google
    Technology blog Android Police citing early adopters of Cyanogen 12 OS on OnePlus One has claimed that device is not receding to sleep mode, even after lock-screen time-out, thus triggering battery draining in OnePlus One.

    It has come to light that the root cause of the issue has to do with OTA (Over-The-Air) update component of the Google Play Services (SystemUpdateService). Until this component is in disable mode, it never finishes the check and the device stays awake, reported the blog.

    For the uninitiated, 'Wakelock' is a mechanism of power management service in Android OS, which can be used to keep CPU awake (partial wakelock) and keep the screen on (Full wakelock) until the user is done using a particular app.



    The good news is that Cyanogen is expected to release the software patch next week to switch on the Wakelock. Until then, users can temporarily fix the issue by following the procedure below.

    How to Fix Wakelock in OnePlus One [Temporary Solution]:(Courtesy: XDA Developer Forum senior member, Calkulin)


    1. Download Lollipop v7.3.27(438)
      md5 - 6750a2bb5789f3813378eb3fdedc4341: HERE
    2. After downloading .zip file in to smartphone, flash the file via Recovery.
    [Credits: Android Police (Artem Russakovskii ) & XDA Developer Forum]
     

    #1
  2. sdmunoz
    Eclair Apr 17, 2015


    #2
  3. aaqibismail
    Honeycomb Apr 17, 2015

    aaqibismail , Apr 17, 2015 :
    If you're gonna flash that then first make sure your Google play services has been updated to v7.3.27 or else you'll have to find the fix for your version of Google Play Service
     

    #3
    tomipunmira likes this.
  4. FilipeBarman
    Gingerbread Apr 17, 2015

    FilipeBarman , Apr 17, 2015 :
    Noob question:

    How can I flash that zip trough recovery?

    I know the processe to enter recovery but I don't have root.
    Is it necessary to have root and a custom recovery?
    Or can I flash it trough "apply update"?

    Sorry for my lack of knowledge on the subject... ;)
     

    #4
  5. doddysal
    Ice Cream Sandwich Apr 17, 2015


    #5
  6. aaqibismail
    Honeycomb Apr 17, 2015

    aaqibismail , Apr 17, 2015 :
    You'll need a custom recovery because cyanogenmod recovery doesn't allow you to flash what evet
     

    #6
    FilipeBarman likes this.
  7. ctrev21
    Gingerbread Apr 17, 2015

    ctrev21 , Apr 17, 2015 :
    Yup my battery is like 23 percent as of 7 am this morning. Usually I'm sitting in the 70s around this time.
     

    #7
  8. blikie
    Gingerbread Apr 17, 2015

    blikie , Apr 17, 2015 :
    If they are gonna release an update with that fix then I'm not gonna OTA lol.. I don't have this drain bug on my current COS 12. And I hell ain't gonna mess with a fix later.:D
     

    #8
    ayy1892, jerbau and FilipeBarman like this.
  9. FilipeBarman
    Gingerbread Apr 17, 2015

    FilipeBarman , Apr 17, 2015 :
    Thanks @aaqibismail :)
    I've downloaded the apk of the new version 7.3.27 and installed it. Don't know if it will work, but I'll wait and see what happens...
     

    #9
  10. Evan Ryan
    Honeycomb Apr 17, 2015

    Evan Ryan , Apr 17, 2015 :
    I did the update via OTA the other day, and the battery drain was staggering. I was able to fix it by looking for services and turning them off... My main drain was the constant notification that wakes the screen and keeps flashing it every minute or so. Once I turned that off I've had amazing battery life. I charged it fully before the update, and still have not charged it since. The first day I lost 50% in 8 hours. Once I went through my setting to see what the problem was, it's been fine. If not better than it was before with CM11. I usually get between 3 to 4 days between charges. After the CM12 update I expect to easily get 4 to 5 days. BTW.. I'm not one of those 8 hours of screen time people, I mostly talk on the phone. About 7 to 9 hours between charges. Screenshot_2015-04-17-13-03-12.png This image was taken a few minutes ago, and is where my phones battery is since the update. You can see the fast drain, then it even's out.
     

    #10
    amrutprabhu likes this.
  11. amrutprabhu
    Gingerbread Apr 17, 2015

    amrutprabhu , Apr 17, 2015 :
    Can't this be handled by changing the privacy settings?

    In the privacy setting -> advanced setting->
    And on choosing play store... i put off "keep awake" and "wake up".
    Won't this help?
     

    #11
    ayy1892 likes this.
  12. amrutprabhu
    Gingerbread Apr 17, 2015

    amrutprabhu , Apr 17, 2015 :
    Cool..
    Could you also post the "Screen on time"?
     

    #12
  13. Deactivated User
    Apr 17, 2015


    #13
  14. amrutprabhu
    Gingerbread Apr 17, 2015

    amrutprabhu , Apr 17, 2015 :
    Could you also tell me how did you put off the notifications which would wake the screen up?
     

    #14
    ayy1892 likes this.
  15. vladimirpukin
    Cupcake Apr 17, 2015


    #15
  16. Evan Ryan
    Honeycomb Apr 17, 2015

    Evan Ryan , Apr 17, 2015 :
    Like I said, I'm not a huge screen time user. I maybe get a little over 1.5 hours of on screen time between charges. In this charge I would estimate maybe 40 minutes so far. Also, They have taken away the screen on toggle.. so this will have to do.... Hope this helps. Screenshot_2015-04-17-13-22-28.png
     

    #16
  17. amrutprabhu
    Gingerbread Apr 17, 2015

    amrutprabhu , Apr 17, 2015 :
    thanks...

    Could you also tell me how did you put off the notifications which would wake the screen up?
     

    #17
  18. theapu
    Jelly Bean Apr 17, 2015

    theapu , Apr 17, 2015 :
    Anybody using exodus rom ever experienced this play service walelocks?
     

    #18
  19. Green1230
    Honeycomb Apr 17, 2015


    #19
  20. marcvento12
    Jelly Bean Apr 17, 2015

    marcvento12 , Apr 17, 2015 :
    Pd: I'm noob
    But GServices consume me 3%,im affected? If I'm, can I do the fix without loosing data or unlocking anything
     

    #20