Sup XDA!
When I updated to android 5.1.1 (cm12.1, rooted) android system started to drain my battery, even more than my screen would. This wasn't an issue back on 5.0 and I wonder what the problem is, and I thought you guys could be able to help me out as this forum has helped me before, thx for that!
Ive attached 3 screens, first is from battery monitor and the other 2 are screens of my battery 'page' in settings. Let me know if you need any additional information and or screenshots and I'll be happy to provide.
Thanks in advance
Disable all of the google services you feel that take RAM (and so, battery) using the Disable Service app. Don't disable GCM Service. Don't disable FusedLocation Service if you use GPS. The only google service running on my phone is GCM. Disable location services, key chain, pppreferences, CM logger, dev tools, etc. just anything that you find isn't important and takes battery! Use apps like Greenify, Disable Service and Titanium backup to greenify, disable and freeze the apps/services.
TheHighLife said:
Sup XDA!
When I updated to android 5.1.1 (cm12.1, rooted) android system started to drain my battery, even more than my screen would. This wasn't an issue back on 5.0 and I wonder what the problem is, and I thought you guys could be able to help me out as this forum has helped me before, thx for that!
Ive attached 3 screens, first is from battery monitor and the other 2 are screens of my battery 'page' in settings. Let me know if you need any additional information and or screenshots and I'll be happy to provide.
Thanks in advance
Click to expand...
Click to collapse
This seems to be a common issue.... the fix involves downgrading the modem. However downgrading the modem requires downgrading your TWRP Recovery... which you cannot do if you are running CM12.1, the downgrade will fail every time no matter which "tricks" you use.
lotherius said:
This seems to be a common issue.... the fix involves downgrading the modem. However downgrading the modem requires downgrading your TWRP Recovery... which you cannot do if you are running CM12.1, the downgrade will fail every time no matter which "tricks" you use.
Click to expand...
Click to collapse
You don't need to downgrade TWRP to flash a modem. You can very easily flash a modem without TWRP even installed; fastboot. It isn't even certain that the modem is causing this drain either.
Working on the likely assumption that it is the same problem, the modem is indeed not to blame.
I have moved through COS12.1, CM12.1, sultan, paranoid android, and exodus, with and without flashing the modem and gapps, using both stock and Boeffla kernel.
They all exhibit the same drain, 9-11% overnight or 16-40mA/h (via dumpsys). This is regardless of wifi/cellular/ambient and other features being disabled.
The only obvious anomalies differing from 5.0.2 are high system_server cpu (25-450% via top) when asleep, and intermittent floods of "unknown" wakeups without wakelocks (Observed by dumping batterystats, and are not registered by settings - battery).
On one of my many reflashes Exodus 12.1 suddenly began behaving reasonably, with 6-10mA/h drain and 2% overnight.
The high System_sever cpu and intermittent wakeups were still present at this point, and may be unrelated oddities.
I later made the mistake of flashing a newer nightly (and later the correct modem), upon which the problem reappeared.
Doing a wipe and reflashing in the same manner did not resolve the issue, and many attempts later I have been unable to reproduce the same state.
Coming from kitkat I figured 5.0.2 would be the same, but it has been smooth sailing since flashing it last night (Exodus), with 6-10mA/h drain and 0% overnight.
Roughy said:
Working on the likely assumption that it is the same problem, the modem is indeed not to blame.
I have moved through COS12.1, CM12.1, sultan, paranoid android, and exodus, with and without flashing the modem and gapps, using both stock and Boeffla kernel.
They all exhibit the same drain, 9-11% overnight or 16-40mA/h (via dumpsys). This is regardless of wifi/cellular/ambient and other features being disabled.
The only obvious anomalies differing from 5.0.2 are high system_server cpu (25-450% via top) when asleep, and intermittent floods of "unknown" wakeups without wakelocks (Observed by dumping batterystats, and are not registered by settings - battery).
On one of my many reflashes Exodus 12.1 suddenly began behaving reasonably, with 6-10mA/h drain and 2% overnight.
The high System_sever cpu and intermittent wakeups were still present at this point, and may be unrelated oddities.
I later made the mistake of flashing a newer nightly (and later the correct modem), upon which the problem reappeared.
Doing a wipe and reflashing in the same manner did not resolve the issue, and many attempts later I have been unable to reproduce the same state.
Coming from kitkat I figured 5.0.2 would be the same, but it has been smooth sailing since flashing it last night (Exodus), with 6-10mA/h drain and 0% overnight.
Click to expand...
Click to collapse
So right now you are on the 5.0.2 exodus builds and having minimal battery drain? Which modem are you using?
f41lbl0g said:
So right now you are on the 5.0.2 exodus builds and having minimal battery drain? Which modem are you using?
Click to expand...
Click to collapse
Correct, with the Xposed Mobile Radio Active fix applied.
bacon_firmware_update_2015_04_03.zip from ... <10 posts and am not allowed to post links yet.
It's on Exodus' 5.0.2 download page along with the roms.
As usual the modem will not flash in TWRP, and has to be done manually via fastboot.
Paresh Kalinani said:
Disable all of the google services you feel that take RAM (and so, battery) using the Disable Service app. Don't disable GCM Service. Don't disable FusedLocation Service if you use GPS. The only google service running on my phone is GCM. Disable location services, key chain, pppreferences, CM logger, dev tools, etc. just anything that you find isn't important and takes battery! Use apps like Greenify, Disable Service and Titanium backup to greenify, disable and freeze the apps/services.
Click to expand...
Click to collapse
I did all of this but it's still draining battery, should I post new screenshots?
TheHighLife said:
I did all of this but it's still draining battery, should I post new screenshots?
Click to expand...
Click to collapse
As you have tried many things to improve your battery life, last option I wanna suggest you to use your device in safe mode for one complete charge cycle from 94% down to 5% (I know that this mode is pathetic).
If you still find that it's causing battery drain, you need to reflash the ROM and please do not restore any backup(restore only those which are most important).
If you find that Android system is not causing anymore battery drain, then it's one of the third party app that is doing so.
Mr hOaX said:
As you have tried many things to improve your battery life, last option I wanna suggest you to use your device in safe mode for one complete charge cycle from 94% down to 5% (I know that this mode is pathetic).
If you still find that it's causing battery drain, you need to reflash the ROM and please do not restore any backup(restore only those which are most important).
If you find that Android system is not causing anymore battery drain, then it's one of the third party app that is doing so.
Click to expand...
Click to collapse
Ive only tried to disable some services that show up under android system. How do I put it in safe mode tho?
By the way, I just noticed that the CPU total time for android system is exactly the same time as the SOT, what does this mean? It only drains this much battery when the screen is on?
TheHighLife said:
Ive only tried to disable some services that show up under android system. How do I put it in safe mode tho?
By the way, I just noticed that the CPU total time for android system is exactly the same time as the SOT, what does this mean? It only drains this much battery when the screen is on?
Click to expand...
Click to collapse
Boot your device into safe mode https://support.google.com/nexus/answer/2852139?hl=en
Just post some screenshots of the battery (complete overview of graph screen and app list screen) after using your OPO in safe mode atleast for one charge cycle (90%+ down to 10%)
This will help us to figure out what is the exact issue you are facing.
If you are not interested in troubleshooting, just flash fastboot images of this build(CMOS12.1) using following guide
forum.xda-developers.com/oneplus-one/general/guides-bacon-timmaaas-how-to-guides-t2839471
For OnePlus One, about a month ago after systems update, my battery started draining fats and it has gotten worse over the past week. The battery barely holds four hours of after a full charge and the phone gets very hot. Also, over the past week, my main SMS messaging app (SMS) crashes nine out of 10 times -- I can start the app but when I click any of the messages I was to read or type, it freezes and crashes. Also, since yesterday, my phone dilaer crashes very often. Any thoughts/help? I am not familiar with how to flash ROM, etc. Also, since yesterday, charging has been very slow -- overnight, the charge went from 35% full to 74% full. I tried safe mode as well and no luck -- battery still keeps draining at 1% every three minutes.
I have the same issue. Any fixes which work ?
Related
Hey everyone!
I flashed CM 10.1 yesterday (cm_p500-userdebug-cm-10.1 from jenkins. androidarmv6.org/job/android/ and I'm amazed how smooth and perfect it is working (A huge 'Thank you!!' to the developer )
The problem is that my battery drain is awful. It took less than 8 hours today to completely discharge, though I hardly touched it.
I used Battery Calibration and also installed "WakeLock Detektor" to see where the problem is, and it stated that my phone isn't asleep 99% of the time though the display is turned off most of the time :crying:
The main reason is a kernel-related thing named "suspend_backoff" that keeps it awake.
I wanted to install a different kernel, but I got no clue which one... I actually planned on installing the recent DorimanX-Kernel, but then recognized that this is only available for the Galaxy SII
Can anyone recommend a Kernel that keeps my system running smooth but the battery drain at a minimum? I basically need my phone for Messaging (SMS, WhatsApp, E-Mail), Calendar and once in a while as navigation system. So no need for spectacular game performances or so.
Are there other Ways to improve my battery life on that phone (I've read all the general tips for improving battery life)? Maybe some OC things I can change manually?
I'm grateful for any help. Thanks!
Helbelinc said:
Hey everyone!
I flashed CM 10.1 yesterday (cm_p500-userdebug-cm-10.1 from jenkins. androidarmv6.org/job/android/ and I'm amazed how smooth and perfect it is working (A huge 'Thank you!!' to the developer )
The problem is that my battery drain is awful. It took less than 8 hours today to completely discharge, though I hardly touched it.
I used Battery Calibration and also installed "WakeLock Detektor" to see where the problem is, and it stated that my phone isn't asleep 99% of the time though the display is turned off most of the time :crying:
The main reason is a kernel-related thing named "suspend_backoff" that keeps it awake.
I wanted to install a different kernel, but I got no clue which one... I actually planned on installing the recent DorimanX-Kernel, but then recognized that this is only available for the Galaxy SII
Can anyone recommend a Kernel that keeps my system running smooth but the battery drain at a minimum? I basically need my phone for Messaging (SMS, WhatsApp, E-Mail), Calendar and once in a while as navigation system. So no need for spectacular game performances or so.
Are there other Ways to improve my battery life on that phone (I've read all the general tips for improving battery life)? Maybe some OC things I can change manually?
I'm grateful for any help. Thanks!
Click to expand...
Click to collapse
I found SweetnSour's version 11 kernel quite good with cm10.1.
However, the ROM needs some help to get good battery life:
Install 2xBatterysaver. It will turn off data and WIFI when the screen is off (turn them on periodically to allow syncing). There are various apps like this one.
Control WIFI. Use Y5 battery saver or Whiz WIFI manager. Y5 is tiny and effective but crashes on cm10.2. Both check for favorite hotspots, leave WIFI on and turn it off when leaving the hotspot.
Thanks for your quick response!
Just tried to flash Sweetnsour's Kernel, but it won't work. I flashed this one --> versionFINAL-CFS.zip
Is that the correct one or rather one of those? -->" version11-CFS-TWRP.zip" or "version11-CFS.zip"
Edit: What actually are CFS respectively TWRP? Searched the forums but couldn't find an answer
[solved] or rather [solvished]
After days of trial and error, cutting and re-enabling all connections from WiFi to 3G and hibernating, un- and re-installing basically all of my apps and trying loads of other roms I didn't love as much as this in the least, I found the source for my phone being awake basically 100% of the time.
The changelog of the mod stated that there's still this WiFi-issue that keeps the phone awake.
Well, though I've tried before, It now works: switching off the WiFi connection finally gets my phone to sleep.
I think I'll just be running on my mobile data for the followin days or weeks until this bug has been fixed.
Btw: A little hint for the developer (I'm posting here, since I'm a noob and can't post in the developers forum): When switching the WiFi options to turn out WiFi whenever screen goes dark, it won't connect afterwards. I always needed to reboot my phone when I wanted WiFi to work again. (This bug also caused my mobile data not to work. It apparently thought WiFi was running, though it couldn't connect.)
Hello all, I recently noticed that my OPO was not going into deep sleep. So I installed wakelock detector and to my surprise, nothing out of the ordinary was going on. I proceeded to wipe the dalvik and cache, still nothing, won't deep sleep. Last night I flashed franco kernel in the hopes that it would solve the problem, guess what, nothing, still won't deep sleep. The phone just drops to 300mhz and stays there for the minimum frequency.
I'm running liquid smooth 3.2 (4.4.4) with the recently flashed franco kernel.
Do you guys have any other suggestions on what to do?, I was just about to flash an entirely new rom and keep it barebones till the end of the week when cm 12s and oxygen os are released.
I'm experiencing exactly the same issue..
amd-dude said:
Hello all, I recently noticed that my OPO was not going into deep sleep. So I installed wakelock detector and to my surprise, nothing out of the ordinary was going on. I proceeded to wipe the dalvik and cache, still nothing, won't deep sleep. Last night I flashed franco kernel in the hopes that it would solve the problem, guess what, nothing, still won't deep sleep. The phone just drops to 300mhz and stays there for the minimum frequency.
I'm running liquid smooth 3.2 (4.4.4) with the recently flashed franco kernel.
Do you guys have any other suggestions on what to do?, I was just about to flash an entirely new rom and keep it barebones till the end of the week when cm 12s and oxygen os are released.
Click to expand...
Click to collapse
Maybe the PlayServices are the Problem somewhere here is a guid to prevent them to keep your phone awake
Actually play services did not come up in the battery stats to indicate it was indeed active. I ran through anything, there is nothing causing unnecessary wakelocks. So that's why I'm confused.
amd-dude said:
Actually play services did not come up in the battery stats to indicate it was indeed active. I ran through anything, there is nothing causing unnecessary wakelocks. So that's why I'm confused.
Click to expand...
Click to collapse
Play Services doesn't always show up as Play Services in the battery stats page in your settings menu, it quite often will show up as Android OS.
Transmitted via Bacon
timmaaa said:
Play Services doesn't always show up as Play Services in the battery stats page in your settings menu, it quite often will show up as Android OS.
Transmitted via Bacon
Click to expand...
Click to collapse
Not even that, as I said there was nothing android related nor was there any app in wakelock detector that was showing signs of a wakelock. For good measure I did follow the many guides on stopping google services etc. and none of them worked. Phone still won't go into deep sleep. Strangely enough it was wasn't affecting my battery life that much, was still getting about 6hrs on screen time with 14% battery left.
amd-dude said:
Not even that, as I said there was nothing android related nor was there any app in wakelock detector that was showing signs of a wakelock. For good measure I did follow the many guides on stopping google services etc. and none of them worked. Phone still won't go into deep sleep. Strangely enough it was wasn't affecting my battery life that much, was still getting about 6hrs on screen time with 14% battery left.
Click to expand...
Click to collapse
Sounds to me like your battery stats might just be screwy.
Transmitted via Bacon
So now I'm wondering, as well. What would an example of good/excellent deep sleep look like? % drop over time?
My battery stats show cell standby at 1%, phone idle at 1%, and over over eight hours go from 100% to about 86%. Would that drain be considered deep sleep, or good deep sleep?
I had a similar issue and able troubleshoot successfully.
Device:
- POCO F1
- MIUI 12.0.3.0, Android 10
- Magisk 21
What tried but didn't help
- There is no wake-locks active
- Tried Battery Saver and Ultra Battery Saver
- Tried Airplane mode
- Tried rebooting
- There is no significant battery drain (only 1.6% per hour)
- Tried disabling Proximity sensor
- Tried wiping dalvik-cache
I have followed the guide by Intel at https://software.intel.com/content/...-no-sleep-issues-in-android-applications.html
As I mentioned earlier, there is no active wakelock, that is why the troubleshooting was much difficult.
I have digged into `/sys/kernel/debug/wakeup_sources` and sorted processes based on the column `prevent_suspend_time`. The process `qtidataservice` was on the top. Not sure what it is, but it's probably from Qualcomm and running under the `radio` user.
The `strace` was showing nothing. I have simply killed that process. It's eventually re-created with a new PID. Interestingly the device began to go Deep-sleep while in idle.
Before I begin I just want to say that I have been using Android for a while and understand wakelocks etc. I have already made sure none of my apps are causing wake locks by uninstalling them but it has made no difference.
Here are my GSam screenshots: http://imgur.com/a/1Cp9z#0
As you can see, Android System and Android OS are the culprits that are draining my battery, but the phone isn't "awake" when they are draining it, so I am not quite sure what is happening. There is no wake-lock but there is a lot of CPU usage for some reason,
Please ignore the average times shown by GSam at the bottom, I get nowhere near 5hrs screen time, I reset the histories yesterday so its not yet calculated average properly yet.
I have tried - Stock COS11S, the latest COS 12.1 and also CyanogenMod 12.1 nightlies and the recent snapshot and they all exhibit this issue even with no apps installed. Is there a ROM out there that has no issues with this stuff?
Thanks!
Same problem. No idea the solution. No matter what battery app I use to try and tell me what is going on, it's always just listed as "android system" or "system" that is draining battery. I didn't have this on sultan's build so I guess it's back to that.
I dont want to give yo spoilers...
you can try every rom here, every kernel, every mod...
it really up to your personal use... you do this 3 simple things and like me will reach 5, 6 hours SOT.
disable lte and go for EDGE
restrict privacy guards things on apps: keep awake, auto start, wake up... on every app you install
use your social network on browsers... installed apps use background...
LineageOS is here!!!
The title is enough, I think,
I haven't tested it yet but.... the first LineageOS ROM for our beloved Photon appeared !
https://download.lineageos.org/xt897
I've been 2 days using this rom on my xt926 so far is good and fast
Thanks, do we have to 'clean-install' this?
clean install was safe.
You'll get a broken notification status bar eventually and you'll need this:
https://forum.xda-developers.com/showpost.php?p=67444950&postcount=721
I spent half-a-day
palmwangja said:
clean install was safe.
You'll get a broken notification status bar eventually and you'll need this:
https://forum.xda-developers.com/showpost.php?p=67444950&postcount=721
I spent half-a-day
Click to expand...
Click to collapse
gapps package which removes CyanogenSetupWizard/LineageSetupWizard is broken and shouldn't be used.
There's no such issue with opengapps nano package which I use.
you can avoid wiping if you "hack" a bit.
I had only to defeat the check (adding the key to htmlviewer in the package.xml (or something like that)) and do a "pm grant com.android.systemui android.permission.READ_CONTACTS" via adb (to enable the logon screen).
Additionally, I did something like
for i in /data/app/*; do
pm install -r $i/base.apk
done
(could have small errors, is two weaks sine then ) to fix the other permissions problem (most with network status access)
It works apparently
Upgrade done almost flawlessly from LL resurrection remix to Lineage OS 13
Few apps had permission problems, i fixed it just restoring the app (app only, no data) using titanium backup.
Anyway I went back to RR given I like it more, and I can't see any real improvement on MM over LL
I am experiencing huge battery drain. Battery in idle last for about 8 hours. Even when phone was in airplane mode during night it fall from 100% to 75% during about 8 hours. Previously with Cyanogen I've lost maybe 3% during the night tops.
Battery stats does not shows any apps that goes wild. I've installed GSam Battery Monitor and it shows that battery is used mainly by kernel (~40%) and LineageOS (20-30%), but it was running only about half an hour. I will check tomorrow morning after airplain mode night, maybe something came out.
sc0ty said:
I am experiencing huge battery drain. Battery in idle last for about 8 hours. Even when phone was in airplane mode during night it fall from 100% to 75% during about 8 hours. Previously with Cyanogen I've lost maybe 3% during the night tops.
Battery stats does not shows any apps that goes wild. I've installed GSam Battery Monitor and it shows that battery is used mainly by kernel (~40%) and LineageOS (20-30%), but it was running only about half an hour. I will check tomorrow morning after airplain mode night, maybe something came out.
Click to expand...
Click to collapse
Have you checked if the CPU is entering deep sleep? My phone usually manages > 80% time in deep sleep. Of course that would depend on usage. Previous ROMs (nearly all) virtually never entered deep sleep. This one wallows in it.
If I leave it over night (clearing stats at the beginning) it gets very close to 100% I personally use CPU Spy, but there are many apps that would show you if you dont already have one.
I've installed CPU Spy, will see the stats after the night. I've also installed Greenify and I think battery consumption is better now, so I suspect one of my apps was preventing my phone from going to deep sleep.
According to CPU Spy my phone never goes to deep sleep when in airplane mode. I've checked this also with clean rom installed, without gapps or any other apps, just CPU Spy. I'm gonna open ticket in LineageOS JIRA.
sc0ty said:
According to CPU Spy my phone never goes to deep sleep when in airplane mode.
Click to expand...
Click to collapse
so, when its not in airplane mode, it does go to sleep?
I just tested mine, and even with a ton of apps, Xposed, Viper, Magisk etc etc it still went to sleep quickly. This ROM for me wallows in deep sleep. Previous ROMs hardly visited deep sleep if at all.
DiamondJohn said:
so, when its not in airplane mode, it does go to sleep?
Click to expand...
Click to collapse
Yes, the problem with battery drain when not in airplane mode seams to be fixed. It goes to deep sleep ~80% of the time when idle. I'm not sure what was the fix since there was update to LineageOS in between, and I was reflashing two times in the meantime, cleaning caches and restoring backup from recovery, so hard to say.
sc0ty said:
Yes, the problem with battery drain when not in airplane mode seams to be fixed. It goes to deep sleep ~80% of the time when idle. I'm not sure what was the fix since there was update to LineageOS in between, and I was reflashing two times in the meantime, cleaning caches and restoring backup from recovery, so hard to say.
Click to expand...
Click to collapse
Sorry, reading my post I guess was not clear. My phone DOES go to deep sleep when in airplane mode. XT905
============ edit
oh, and almost forgot. I am using Pico Gapps, and turn off auto updates and notifications on play store updates.
Hello, it looks like I'm experiencing the same problem. Battery drain on my photo Q running the last lineage os 14.1 (android 7.1.2).
When on airplane mode the battery drain disappears (even if I can't consider this phone a battery beast).
It seems curious to me, I was imagining that in all these months the problem was corrected.
Do you guys have a suggestion? Many thanks in advance
The thing is that my phone seems to suffer from battery draining (when not on airplane mode) even when running sailfish OS (flashed over cyanogenmod 11).
Could then be possible that it has some kind of hardware problem connected to the gsm/radio part? Except for the battery consumption It works fine tough.
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