Massive battery drain in MM

S

sgsdfhgfg

Guest
I am experiencing massive battery drain in all MM roms. I get between 10-25% drain overnight, even in airplane mode. Does anyone have similar issue?
 
Last edited:
S

sgsdfhgfg

Guest
@nirjharmistry i did mention that i am experiencing huge battery drain in ALL MM roms available for cancro (Mi3) ;) The biggest "drainers" are system ui and kernel (OS).
Are you having similar issue?
 

DutchMan_1990

Senior Member
Jul 26, 2013
468
162
73
Kolkata
@nirjharmistry i did mention that i am experiencing huge battery drain in ALL MM roms available for cancro (Mi3) ;) The biggest "drainers" are system ui and kernel (OS).
Are you having similar issue?
Nop!! Altough I'm on Beanstalk ROM. Try different Gapps Package, Like BanKs Gapps. Intsall Better battery stats or Wakelock detector for better data. Last of all Clean flash.
 

atomix18

Senior Member
Feb 9, 2015
258
68
0
I tried Mokee 6.0.1, week ago with open gapps Pico, but i had that battery drain over night and my Deep sleep was 40 - 50 %, on 300 mhz 50 - 60 %. Then i moved to CM 13 with open gapps PIco and exactly the same picture was again. Yesterday after reading ''nirjharmistry'' comment for trying another gapps package i decided to try again with Mokee Rom. I installed the Rom with these Gapps "Mini Marshmallow Gapps" (91 mb) and wnen i left the phone for 30 min., CPU Spy said that the phone was on 300 mhz - 80 %. Finally i installed Mokee Rom with BaNkS_Dynamic_GApps_6.x.x_12-22-15, and now for 10+ hours my Deep sleep is 90+ % and have no battery drain. I can't say for sure but it looks like Gapps problem...
 

i snort flour

Senior Member
Jan 17, 2013
866
364
0
I use open gapps pico on candy 6 without any deep sleep issue. I think your gapps theory is just a placebo. I would look into better battery stats and wakelock detectors to see whats frequently waking your system. It could be a gapp included in the gapps package and adjusting its permissions could fix the issue or it just might be another program you just haven't used yet and granted permission to. I noticed calendar likes to wake the device a lot when it has all of its permissions and Google auto syncs also like to wake it frequently. I have my syncs on manual and most app permissions off unless I absolutely need them on a day to day bases.


Sent from my MI3W using Tapatalk
 
  • Like
Reactions: 24likan

atomix18

Senior Member
Feb 9, 2015
258
68
0
Hi guys! It is not gapps problem i still have battery drain over deep sleep 5-6 % for about 10 hours. Wakelock detector shows that systemui is waking the device: ''keyguard'' - service.
 
S

sgsdfhgfg

Guest
Yes, gapps are not to blame. There definitely is something causing overnight drain, even in airplane mode. Any thoughts on this - see screenshots. These are stats for airplane mode at night for roughly 8 hours. Does someone know what ipc0000002a_sensors.qcom and event1-1802 are:confused::silly:

I forgot to mention that i managed to lower the drain by disabling doze mode for nearly all aps. Usually the drain was more than 10%. I'll try turning doze mode for all apps to see if there is any difference...
 

Attachments

Last edited:

DutchMan_1990

Senior Member
Jul 26, 2013
468
162
73
Kolkata
@krcovsky @atomix18 Have guys clean flashed the ROM? If not, then clean flash the ROM, but do not restore any previous app data. Install them one by one and observe to find the culprit. Another request pull a logcat and send it to your respective ROM developer.
 
S

sgsdfhgfg

Guest
Exactly the same thing - clean flash, install apps one by one (no restore), every single MM ROM. The drain during the day is not a problem, it's on par with lollipop. It's during the night with airplane mode on that is the issue. On LP i would not have any battery drain during the night.
I don't think a log would help in this case...

BTW, google Sensors.qcom
 
Last edited:

paul c

Senior Member
Nov 15, 2006
1,690
521
143
Madrid
Yes, gapps are not to blame. There definitely is something causing overnight drain, even in airplane mode. Any thoughts on this - see screenshots. These are stats for airplane mode at night for roughly 8 hours. Does someone know what ipc0000002a_sensors.qcom and event1-1802 are:confused::silly:

I forgot to mention that i managed to lower the drain by disabling doze mode for nearly all aps. Usually the drain was more than 10%. I'll try turning doze mode for all apps to see if there is any difference...
I don't get the drain you describe, I have used mainly the Beanstalk MM nightly ROMs (also they Cyanogen 13.0 unofficial, and AICP) with Banks Gapps.

My phone is running 2 imap accounts, an Exchange email app, Whatsapp... I haven't changed anything with regards to Doze. I tend to charge the phone overnight, but a couple of times I haven't, and have lost 2-3% max over 8 hours.

I think it would be best if you took this question to the thread of your preferred ROM. Then you can drop logcats etc and hopefully the dev can find something.

First though, a good test - difficult to do - is to just install ROM & Gapps and use the phone for a couple of days. No user apps. That way it's guaranteed nothing else is impacting your findings.
 
S

sgsdfhgfg

Guest
Unfortunately i don't think that posting about this in a specific rom development topic will do any good since i came to conclusion that this "bug" is some sort of a lottery. Some people have it, some don't. On LP i did not experience anything similar to this, and my battery backup was 3-4 times longer than on MM. Anyway, i'm trying something out, will see if it does anything about the drain :fingers-crossed:

Update:
I flashed the rom without installing any of the apps and i got great results. Deep sleep was almost 100% during the night, just a couple of wakes. It seems that there was indeed an app that was causing the drain. Now i just gotta find it and destroy it with extreme prejudice



Final update:
It was a navigation app that was causing the drain by waking the sensors during the night in airplane mode... this was not happening on LP. Well, the app is gone, tried another app, same thing. I guess i will not be installing these kind of apps anymore
 
Last edited:
S

sgsdfhgfg

Guest
But you could try this nevertheless. Flash the rom without installing any of the apps and start from there. Observe the battery drain when no apps are installed and gradually install a couple of them at a time.
Suspected apps should be the ones that are using sensors (navigation, compass etc.)
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone