[Q][CustomROM] Ridiculous Overnight Battery Drain on CM10 - Sony Ericsson Xperia Neo, Pro

Greetings,
I had been using my Xperia Neo V with Cyanogenmod 10 (10-20130519-NIGHTLY-haida) for the last 2 months. It was all ponies and rainbows for me for the first 6-7 weeks.
Issue:
Now I'm facing with a random and ridiculous overnight battery drain issue since a week ago. Ridiculousness here is being referred to the amount of the drain (almost 60% overnight) and to the fact that there's no particular change of use of the phone by me,comparing with the days before. As you can see in the screenshots, the main actor here is "Operating System". I don't really know what this drain is related to, so I was not able to do comparisons of use.
Facts:
-Mobile Data was active but only at 2G
-Location services were off
-Bluetooth and all other possible signals were off
-No active apps, all were hibernated with Greenify
What might be the reason of this problem and what would you advice me to try?
Thanks in advance.

what kernel are you using? overclocked?
maybe you can try re-flash the rom
60% overnight is way high battery drain

You should try to see a pattern. Does it happen after specific usage "ritual" or just purely random?
It may be kernel bug/core system bug. Try dumping dmesg and logcat when it happen next.
I would start by trying to flash other kernel.

Install BetterBatteryStats (ther's an SDA thread); It will give you better info of what is draining your battery. In addition to that, you can post your logs in the thread (BBS thread) and they will provide better help.
Good luck
Edit: here's the link http://forum.xda-developers.com/showthread.php?t=1179809

Install wakelock detector app uninstall those... Try greenify too

Firstly we have to know what kernel are you using...
2.6.32.9 or 3.x.x version?

Hi there all, thank you for replies, and here are some extra info;
Fresh facts:
- Kernel: 2.6.32.9-FXP [email protected] #1
- Not overclocked
New observations:
So far I don't see any pattern as to what could possibly be the reason for this issue.
The last time I faced with this, the phone was fully charged and on 2G mode I left it on my desk (my wi-fi router was located next to it, keep it in mind so that it might be a clue coinciding with the BetterBattery logs I will reveal next) and after 3 hours, when I went to check if there were any calls, nearly 30% was drained. Comparing with the initial drain issue (which is a 60'ish% drain overnight) I can say it's the same issue within a proportionate period.
Well takin' a quick look at the BetterBatteryStatus report, drain was mainly caused by some wake thingy called "rx_wake". I don't really know much about all these wake calls in Android system but I googled it and reached to a brief conclusion that it's somehow related with Wi-fi connection. So I'm suspicious that maybe my Android system is perpetually sending wake calls related to a Wi-fi signal even when the Wi-fi mode is off on my phone (only relation I could make here is that I left the phone next to my wi-fi router)
I attach the screenshot and BetterBatteryStatus logs to this post, thanks in advance for your further comments.

Further comments, anyone?

Post the logs in BBS thread. There people has more knowledge and they can help you.

Issue Solved on Galaxy S - Will fit all I assume
Hi
I face the same issue from the day I install the ROM (CM 10.1.2)
I browse the Internet and found the issue
The issue is Wi-Fi and mobile network location
When it is on in this version it turn on the Wi-Fi not only on GPS request and No GPS status
You need to shout it down and issue solved
To change this setting:
System Settings -> Location access and disable the "Wi-Fi mobile network location"
Nachum

Related

[Q] SGS2 wifi constantly scanning

Hi all,
The Wifi on my SGSII is constantly scanning even though it is connected to my home wifi network (a WPA/WPA2 PSK secured connection on a G band router). The signal strength is "excellent" and I have the phone sitting right next to the router. Further, I have network notification turned off ( unchecked) and under advanced settings, my Wifi sleep Policy is set to "never".
Sprint users have reported exactly the same problem on the Epic Touch 4G" (http://forum.xda-developers.com/showthread.php?t=1272226 ). Has anyone else been experiencing the same issue on their ATT SGS2 ? I would be very grateful if someone could post a solution for this issue.
Thanks in advance
J
PS: My wifi setting screen looks like this genteman's ( except i have network notification turned off)
(http://keithandlaura.smugmug.com/Other/test/i-sMwh6bj/0/L/SC20110921-212528-L.png)
jwlkr said:
Hi all,
The Wifi on my SGSII is constantly scanning even though it is connected to my home wifi network (a WPA/WPA2 PSK secured connection on a G band router). The signal strength is "excellent" and I have the phone sitting right next to the router. Further, I have network notification turned off ( unchecked) and under advanced settings, my Wifi sleep Policy is set to "never".
Sprint users have reported exactly the same problem on the Epic Touch 4G" (http://forum.xda-developers.com/showthread.php?t=1272226 ). Has anyone else been experiencing the same issue on their ATT SGS2 ? I would be very grateful if someone could post a solution for this issue.
Thanks in advance
J
PS: My wifi setting screen looks like this genteman's ( except i have network notification turned off)
(http://keithandlaura.smugmug.com/Other/test/i-sMwh6bj/0/L/SC20110921-212528-L.png)
Click to expand...
Click to collapse
Scan rate is bumped up significantly when you're in the settings menu.
Have you confirmed via logcat that it's scanning frequently outside of the settings menu? It shouldn't be in that case - but without logcat it's almost impossible to tell.
Entropy512 said:
Scan rate is bumped up significantly when you're in the settings menu.
Have you confirmed via logcat that it's scanning frequently outside of the settings menu? It shouldn't be in that case - but without logcat it's almost impossible to tell.
Click to expand...
Click to collapse
Entropy,
What should I be looking for in logcat? I have Betterbattery stats installed and according to that, Wifi scan time is 8+ hours even though Wifi on time is only 2+ hours. That doesn't seem to make sense, but what do I know.
I am running UnNamed 1.3.1.
johny_i said:
Entropy,
What should I be looking for in logcat? I have Betterbattery stats installed and according to that, Wifi scan time is 8+ hours even though Wifi on time is only 2+ hours. That doesn't seem to make sense, but what do I know.
I am running UnNamed 1.3.1.
Click to expand...
Click to collapse
I believe BBS is reporting scan time improperly. I've seen that in a few threads.
Sent from my GT-P7510 using Tapatalk
You're probably right, except now scan time doesn't even show.
I have also observed this on my phone.
I have a Samsung Galaxy IIs, using a Sony Ericsson MW600 BT handsfree as well as a Pioneer car Bluetooth handsfree system.
I have not measured anything yet, but I notice that when the Wi-Fi scanning is going on, I get significant disturbances on both of my Bluetooth hands-free sets. Listening to music is without a hitch, but talking on the phone (Norwegian GSM - operator Telenor) is terrible.
i also noted this after installing the OTA update to 2.3.6 today. I just rooted mine yesterday after reading 54+ pages to make sure i understood everything. i had a cappy and loved installing new roms but have not taken the plunge yet on the sgs ii. I haven't noticed a huge difference in battery yet, but it has only been a couple of hours since the update.
What ROM are you running? You can edit the build.prop to change how often it looks for networks. It is the line "wifi.supplicant_scan_interval=xx". I set mine to 180 which is 3 minutes, some ROM's set it really low. Also the scan rate is bumped up significantly when you're in the settings menu like Entrophy said.
Hi,
I had the same problem where my WIFI was fluctuating.... I dont know if this is the problem/ solution but this is what happened...
My SGS 2 is already rooted and unlocked. I had flashed the Entrophy DD 12/23 first then I had flashed Unnamed Custom ROM. After rebooting the phone, I saw the Wifi was not stable. So I again did a "Wipe Factory Data Reset" and "Wipe Cache Partition" and then installed the Unnamed Custom ROM from the SD Card. My Wifi is pretty stable now.
I am not sure if you guys had this issue when flashing a ROM but this seemed to fix it.
Wifi Scan - Milliwatts
ktoonsez said:
What ROM are you running? You can edit the build.prop to change how often it looks for networks. It is the line "wifi.supplicant_scan_interval=xx". I set mine to 180 which is 3 minutes, some ROM's set it really low. Also the scan rate is bumped up significantly when you're in the settings menu like Entrophy said.
Click to expand...
Click to collapse
I have written about this wifi-battery drain a while back here in XDA.
When I used to have my Nokia symbian cell phone I used to flash custom roms
and there were a lot of nice new features after flashing.
A couple of the really nice battery saving mods were:
#1: added option to change the amount of wifi milliwatt output from 18 milliwatts (default) to 3 milliwatts
which is more than enough if the phone is no more than 20-25 feet from the wireless router.
(the mod gave the option of 3mw,6mw,12mw & 18mw)
Saves a lot of battery life.
Don't know why none of the DEVS have addressed this issue yet.
#2: added a mod so once the wifi establishes a connection it no longer scans
at all unless the connection is disconnected or lost.
So in other words, the phone only scans for wifi until it connects.
Right now I am connected to wifi with my phone and yet in settings it displays "scanning"
non-stop-constantly even though in wifi settings it displays "connected".
Why should the phone be scanning for wifi if it's already connected? (I have no idea).
Don't know why none of the DEVS have addressed this issue yet either.
Both of these mods really made a noticable difference in battery life
for for me since I do use the wifi feature in my phone a lot.
Hopefully one of the DEVS can look into these issues soon.
Now someone mentioned wifi constant scan, I noticed mine is doing the same thing. I leave the wifi setting screen on, it re-scans every 3 seconds!
Misterjunky said:
I have written about this wifi-battery drain a while back here in XDA.
When I used to have my Nokia symbian cell phone I used to flash custom roms
and there were a lot of nice new features after flashing.
A couple of the really nice battery saving mods were:
#1: added option to change the amount of wifi milliwatt output from 18 milliwatts (default) to 3 milliwatts
which is more than enough if the phone is no more than 20-25 feet from the wireless router.
(the mod gave the option of 3mw,6mw,12mw & 18mw)
Saves a lot of battery life.
Don't know why none of the DEVS have addressed this issue yet.
#2: added a mod so once the wifi establishes a connection it no longer scans
at all unless the connection is disconnected or lost.
So in other words, the phone only scans for wifi until it connects.
Right now I am connected to wifi with my phone and yet in settings it displays "scanning"
non-stop-constantly even though in wifi settings it displays "connected".
Why should the phone be scanning for wifi if it's already connected? (I have no idea).
Don't know why none of the DEVS have addressed this issue yet either.
Both of these mods really made a noticable difference in battery life
for for me since I do use the wifi feature in my phone a lot.
Hopefully one of the DEVS can look into these issues soon.
Click to expand...
Click to collapse
Power control - Not likely, unless there is some documented power control already in the driver it's not going to happen. We're in a bad enough state as it is trying to make the chip not fire interrupts at 1 Hz on the Infuse.
Broadcom is one of the least open source friendly chipset manufacturers on the planet - their drivers have NO comments or documentation whatsoever, and datasheets are not available.
The rescan stuff is probably only addressable on Cyanogenmod, messing with it would require source code for the userland wifi management stuff.
mickey4mice said:
Now someone mentioned wifi constant scan, I noticed mine is doing the same thing. I leave the wifi setting screen on, it re-scans every 3 seconds!
Click to expand...
Click to collapse
As stated earlier in this thread - this is by design. It is assumed that if you're in the settings screen you want to change networks and have an up-to-date list.
I also am having this problem. I am running the rooted UKK6 from entropy512. After turning on my wifi, my battery drained from 90% to 70% in 5 hours with no use. My android OS is running at 80-90%. I don't have any extra apps except for 3g watchdog and CPUSpy and BBS. I do have Go launcher and GoSMS installed. As soon as I turn wifi off, i can see my battery level off under settings. I have searched for the last 2 days for a "fix". no luck.
Battery Drain
hatgirl223 said:
I also am having this problem. I am running the rooted UKK6 from entropy512. After turning on my wifi, my battery drained from 90% to 70% in 5 hours with no use. My android OS is running at 80-90%. I don't have any extra apps except for 3g watchdog and CPUSpy and BBS. I do have Go launcher and GoSMS installed. As soon as I turn wifi off, i can see my battery level off under settings. I have searched for the last 2 days for a "fix". no luck.
Click to expand...
Click to collapse
Try doing a clean flash using "wipe data/factory reset" in CWM
recovery and then see if the phone has normal battery drainage.
(which it will if you flash the UnNamed v2.2.1 custom rom)
Then install one app at a time so you can find out exactly which
app is the culprit that causes your excessive battery drain.
This is the best way to trouble shoot battery drainage issues.
You will see that your battery drainage issue is not caused by
the custom rom, but it is caused by a few apps which are just
not very battery friendly.
The UnNamed v2.2.1 rom is the best custom rom currently
available for our i777 phones and it has outstanding battery life.
Good Luck!
hatgirl223 said:
I also am having this problem. I am running the rooted UKK6 from entropy512. After turning on my wifi, my battery drained from 90% to 70% in 5 hours with no use. My android OS is running at 80-90%. I don't have any extra apps except for 3g watchdog and CPUSpy and BBS. I do have Go launcher and GoSMS installed. As soon as I turn wifi off, i can see my battery level off under settings. I have searched for the last 2 days for a "fix". no luck.
Click to expand...
Click to collapse
This has nothing to do with this thread - This thread is talking about wifi scanning.
Drain problems - read my known battery drainers thread. A lot of people are having problems, there is no fix, and there won't be until all the people complaining start actually collecting some data.

Help wanted Battery drain identification

Hello to all and thanks for your time.
First of all i did search about such a thread and could not find any which seemed to help including the stickies.
My problem is something on my room is misbehaving and chews trough the battery like hell.i need help identifying it.
To id my system :I'm on 9100xxlpw stock rooted no additional battery managers.
to describe the problem. I charged the phone to 100% and 5 hours later it was 50%.(i was sleeping so they're was no usage)
CPU spy reports 30 min of deep sleep rest 200mghz.
I'll add battery stats later.but basically Android system is chewing the batt. System appears to sleep but doesn't go deep sleep
Sent from my GT-I9100 using XDA
Install BetterBatteryStats. That should give you some clues as to what's causing the drain.
MistahBungle said:
Install BetterBatteryStats. That should give you some clues as to what's causing the drain.
Click to expand...
Click to collapse
Added Screen shots, please ignore media player and usb. I took screen shots as soon as I notice strange stuff but somehow system showed the screen shots duplicated so I deleted duplicates. Later I noticed I deleted the originals (most probably there was one c to begin with but gallery showed me duplicates, which is strange ).
New ones are taken after apprx. 1 hour of XDA browsing & listening to music.
emk2z said:
Added Screen shots, please ignore media player and usb. I took screen shots as soon as I notice strange stuff but somehow system showed the screen shots duplicated so I deleted duplicates. Later I noticed I deleted the originals (most probably there was one c to begin with but gallery showed me duplicates, which is strange ).
New ones are taken after apprx. 1 hour of XDA browsing & listening to music.
Click to expand...
Click to collapse
open BBS app then press soft menu key ones then select more and in that press Dump to file
then u see the log file in ur internal sdcard, post the same so that it can be checked to determine the wakelocks causing batt drain
Sun90 said:
open BBS app then press soft menu key ones then select more and in that press Dump to file
then u see the log file in ur internal sdcard, post the same so that it can be checked to determine the wakelocks causing batt drain
Click to expand...
Click to collapse
Gladly....
I think I have a possible culprit while searching for suspend_backoff
I found this http://forum.xda-developers.com/showthread.php?t=1697899 the phone model is different but I decided to turn wifi off to test and my battery consumption is almost like flat line when I'm not using the phone now (Data & synch is still enabled ). I do not know what causes this but I am not trough yet. I'd appreciate anyone to ID the source of the problem and how to overcome it (other than keeping wifi off) or should I switch to another rom
I have the same problem as you, but I think it is related to the (known and not yet solved) problem of the "dirty WiFi network", as it happens only with my office WiFi and not with my home one...
However in my case the problem is intermittent, while I always have the same high drain under the office WiFi, the major source of drainage changes, sometimes is suspend_backoff, other times it's deleted_wake_locks...
The_Flatline said:
I have the same problem as you, but I think it is related to the (known and not yet solved) problem of the "dirty WiFi network", as it happens only with my office WiFi and not with my home one...
However in my case the problem is intermittent, while I always have the same high drain under the office WiFi, the major source of drainage changes, sometimes is suspend_backoff, other times it's deleted_wake_locks...
Click to expand...
Click to collapse
I also had a feeling it might be wifi. I'm not sure what you mean by dirty wifi but. My home network seems to be suffering from dns problems. Also when I go to work one of my customers has a proxy while other has a unprotected wifi with web login. in both cases phone is able to connect to wifi but not to internet.
I also considered this might create some drain but it is too severe. I even thought my phone battery to be dead.

Idle is draining battery

Hello,
I have the following Problem, while in Idle the phone is consuming so much battery, any help ?
push
Which ROM release are you on?
I am on Stock Rom and have the latest ota 15.07
dafuq2111 said:
Hello,
I have the following Problem, while in Idle the phone is consuming so much battery, any help ?
Click to expand...
Click to collapse
There are quite a few threads on this already including what I wrote (pasted below).
<<<<
I had two types of standby battery drain - mobile data and wifi. I have fixed both of them through lots of trial and error. From my testing and looking on XDA at similar experiences of people on other phones, these are bugs in Android rather than anything Elephone can fix through updates (I'm on the latest 20160419 update).
I fixed the mobile data problem by creating Tasker profiles to keep the phone on 2G whilst it's connected to wifi. I can't post links yet but a search on XDA/Google will find you these profiles. Maintaining a 4G connection is unnecessary whilst on wifi, besides, some people have problems receiving calls on this phone whilst on 4G. If the phone is not connected to wifi (rare in London because it's everywhere even on public transport) 4G comes on. Best of both worlds.
The wifi drain solution sounds counterintuitive but it is simply to set it to 'always on'. With both of these measures, my standby drain has been 1% overnight for the last two nights and roughly 0.25%/hour during the day. Standby drain on 4G whilst moving around London with location on at least quadruples battery drain to around 1-2%/hour.
Some of my other settings will have an impact too. I find the auto-brightness calibration of the P9000 poor, so adjust brightness manually (which also saves battery life). NFC, bluetooth, etc. I only turn on when needed. I use Greenify and have all apps Greenified except Tasker, Textra, and Hangouts. I haven't Greenified any system apps except Google Maps. Location is always on but mostly device only (again counterintuitive, you'd expect it to be 'battery saving') unless I am moving around in which case I have a Tasker profile to automatically switch it to 'high accuracy'.
I tried to get Xposed working so that I could use Amplify too (see my other post) but that didn't work. Since I'm very happy with battery life now that's not that important anymore though it would be nice for the further tweaks it makes possible.
There are too many other variables to list and everybody's phone is set up differently. However, hopefully using some of the main big gains I've listed above you can fix your wifi drain specifically and improve standby drain generally.
Well, it's somewhat problably what keeps the phone awake, this occurs after factory reset, i already did the Tricks you've listed and on screen Features and so on are all off, there are no Apps who should keep the phone awake Cause it's happening Straight after factory reset so there are no other Apps..
Push
Finger print sensor or DT2W for sure. Disable them
On the latest ROMs it is the finger print sensor. Turn it off or go back to 20160810

Cryogenmod 13. Ridiculous battery drain.

Hi,
I am very new to this and I created this account in the hope that someone will be able to help me. Please be gentle with me and explain things like I'm five.
I recently installed CM13 on to my Galaxy S2 and the battery drain is ridiculous. For example, it was fully charged fifty minutes ago but it is now at 89% - and for a majority of that time it has been in aeroplane mode. I am using Wi-Fi only when not in aeroplane mode and while this hastens the battery drain, it's not by a huge percentage.
My phones stats are:
Android version: 6.0.1
CyanogenMod version: 13.0-20160404-NIGHTLY-i9100
Kernel version: 3.0.101-CM-g3419d27 [email protected] #1
GAPPS: BaNkS-Dynamic-GApps-6.x.x-10-20-15
TWRP: IsoRec_TWRP_3.0.0-0_i9100
Things I have tried:
Using privacy guard to stop Google Play Store and various other apps from starting on boot and staying awake.
Setting the screen brightness level to the absolute minimum.
Setting the screen to go to sleep after 15 seconds inactivity.
Turning off Wi-Fi scanning.
Setting my e-mail pushes to one hour instead of instantly (which I especially hate).
Turning off voice recognition.
Setting location mode to battery saving.
Installing Advanced Task Killer, Greenify and/or DU Battery Saver.
Recalibrating the (new) battery - manually and with the battery calibration app.
Resetting network settings.
And various other things that I can't recall right now.
I recently installed GSam Battery Monitor, but it's not telling me much at the moment - just that the screen uses 64% and apps use 36%, and the average battery life per complete charge is at 7h 13m (3h 20min active).
If I go to settings > battery, it's telling me even less - the screen has used 4%, CyanogenMod System uses 2%.
I've read on other forums that installing a different kernel will improve it, but others have said it won't make any difference. Either way, I have no idea where to get the kernel from. I'm starting to think I must have installed something very wrong when the battery life on my phone won't even last eight hours. I have spent the past couple of days browsing to try and find out what I can do, and I think I'm about to go cross eyed.
Can anyone please help? Please remember that I am a complete newcomer to this so I may be asking some really stupid questions.
Thank you in advance for any help offered. I really don't want to go back to my 3GS now.
Hey,
I'm also on CM13 and also have battery drain, since Android 6 is really heavy, but definitely not as bad as you.
One thing you else could try is the app "BetterBatteryStats" which is available for free on XDA - just search. In my opinion it's the best available app for battery statistics. You can check out which app is keeping your device awake at standby.
But in your case, as you already tried a lot, I recommend to simply do a clean install of CM again. Really looks like there were little errors while flashing, or the Rom's zip file got somehow corrupted at the download. So download ROM and Gapps again, go to recovery, wipe /system, /data, /cache and reflash ROM and Gapps. Perhaps use another Gapps package than you used before. Also consider choosing the littlest available one. Maybe the issue will be gone then. Really hope this helps somehow.
Was I gentle enough?

strange behaviour with the battery

Hello there,
I have a concern with my honor 7 (PLKL01B380) which his battery empties at high speed.
My system never comes in deep sleep. I lose almost 10% overnight. Since I disabled the update on the lock screen magazine, I've gained a little bit of autonomy.
What I do not understand is that the wifi reports that it is still active as I always cut the night. For information about the wifi, the relationship between the following two screen shots is strange. I do not know where to look for a solution. I did the update to the B380, I turn off wifi and sync during the night but still nothing. I have two sim cards, I know it consumes more but is that why consumption is continuous all night?
Thank you for your ideas.
I can't post images
You can found this here:
Code:
users.telenet.be/lenif/batterie1.png
users.telenet.be/lenif/batterie2.png
Lenif7780 said:
Hello there,
I have a concern with my honor 7 (PLKL01B380) which his battery empties at high speed.
My system never comes in deep sleep. I lose almost 10% overnight. Since I disabled the update on the lock screen magazine, I've gained a little bit of autonomy.
What I do not understand is that the wifi reports that it is still active as I always cut the night. For information about the wifi, the relationship between the following two screen shots is strange. I do not know where to look for a solution. I did the update to the B380, I turn off wifi and sync during the night but still nothing. I have two sim cards, I know it consumes more but is that why consumption is continuous all night?
Thank you for your ideas.
I can't post images
You can found this here:
Click to expand...
Click to collapse
Have u tried backup, factory reset and restore?
Hello,
Off course, i thinking about full reset but I don't like this idea because I don't want to lose time on reinstall my apps, organize in groups, reinstall all accounts and passwords .. etc.
I've searched in all parameters and I think i've found the two parameters causing trouble
1. As I say in first message, magazine unlock auto-update, set it to disabled
2. In localisation parameter / advanced parameters / Localisation Data / Extended menu (below) / Search parameters / Wifi Search, set it disabled -> this one make my wifi always on
Now, it looks better, phone going in standby, and wifi not always marked as activated in the graphical view of battery.
I'll see next night if it go to deep sleep :good:
Thanks
Well in my opinion it's better to waste a lot of time re-setting-up your phone than having a huge battery drain, but try a night more, it could be the solution you're on to:fingers-crossed:
I had battery drain problem too. I solved it just by switching off viber contact sync in viber general settings. It kept my phone awake with screen off, and my battery life was horrible. Let me know if it helps.
fanesp said:
I had battery drain problem too. I solved it just by switching off viber contact sync in viber general settings. It kept my phone awake with screen off, and my battery life was horrible. Let me know if it helps.
Click to expand...
Click to collapse
I think that only applies if u use viber

Categories

Resources