[Q] What is causing the Kernel to drain the battery. - Motorola Droid Bionic

Hello,
Lately I have been noticing the my phone is going from 100%-0% within 8 or so hours while using it very little.
The Kernal is taking up 70% or so of the battery
Friend of mine suggested posting here.
This is a list from an app of what is running in the kernel.
Code:
GSam Labs - Battery Monitor - Export Data
Kernel
Nov 4, 2012 4:47:09 PM
Usage Details
CPU Usage: 1h 30m 15s
Bytes Sent: 3.42 MB
Bytes Received: 3.84 MB
Included Packages
Included Processes
vold
migration/1
file-storage
ecryptfs-kthrea
kworker/u:4
kworker/u:3
kworker/u:6
kworker/u:5
kworker/u:8
kworker/u:7
kthreadd
kworker/u:9
kworker/0:4
kworker/u:0
kworker/0:0
kworker/0:1
kworker/0:2
kworker/u:2
kworker/u:1
kworker/0:3
bdi-default
mmcqd/1boot0
mmcqd/1boot1
debuggerd
ueventd
flush-179:96
kswapd0
irq/343-atmxt-i
installd
/init
ksoftirqd/0
ksoftirqd/1
flush-ecryptfs-
mmcqd/1
netd
mmcqd/0
watchdog/0
watchdog/1
zygote
kworker/1:3
kworker/1:2
flush-179:0
kworker/1:1
kworker/1:0
kinteractiveup
kjournald
khubd
wl12xx_wq
irq/260-wl1271
sync_supers
Any help would be appreciated .

Is there somewhere else I should ask this? Or does no one know how to fix this.

Kyton113 said:
Is there somewhere else I should ask this? Or does no one know how to fix this.
Click to expand...
Click to collapse
Download better battery stats and post screenshots. That is not enough info for anyone to help you
Sent from my BNTV250A using xda app-developers app

Obsidian_soul said:
Download better battery stats and post screenshots. That is not enough info for anyone to help you
Sent from my BNTV250A using xda app-developers app
Click to expand...
Click to collapse
Um ok. Not buying an app to fix this. What information would someone need to help me.

Kyton113 said:
Um ok. Not buying an app to fix this. What information would someone need to help me.
Click to expand...
Click to collapse
Here is a copy for you
http://db.tt/6B56eLlu
The info needed is what apps are waking up your phone. Signal loss and what apps are running in the background that don't need to be running.
Sent from my Icarus Bionic

Same problem
Hi there,
I have the same problem, I downloaded better battery stats, can anyone help me looking at the battery stats? I don't know what I should be looking at.
Thank you

fbxdadev said:
Hi there,
I have the same problem, I downloaded better battery stats, can anyone help me looking at the battery stats? I don't know what I should be looking at.
Thank you
Click to expand...
Click to collapse
Charge phone to full, use it normally until it gets fairly low. Then open the app, take screen shots of the main page, kernel wake locks, partial wakelocks, and alarms, and post them here. From there hopefully a more seasoned member can possibly spot the problem. I'm still learning myself but so far BBS has helped me track down a few problems.

Related

[INFO]CM7Weekly kernel Without Partial Wakelock by AlarmManager

EDIT 23 FEB 2012 :
=== THIS THREAD IS OBSOLETE.. THERE IS A LOT OF DEVELOPMENT FROM ATRIX-DEV-TEAM AND FAUX SINCE I LAST POST, AND WHOEVER FOUND THE SAME PROBLEM BETTER TRY THE NEWER KERNEL.. ===
Old Post :
This is CM7 stock kernel extracted from CM7weekly29jan. Credit goes to Atrix-dev-team.
I found out that this is the only kernel in Gingerbread for atrix doesn't have Partial Wakelock by AlarmManager. I know that stock froyo doesn't have wakelock too.
Half day using this kernel, AlarmManager only wake for less than 30sec, and take less than 1% of the whole partial lock, compared to before, it could take up to few hours and 90%+.
I create this thread so that CM based ROM (CM7,Miui,Neutrino) user can test this kernel, if this non-wakelock really improve battery or not, or its just show different kind of log and had no effect on battery.
I only got hold atrix for a few day, a friend ask me to unlock the bootloader, and I have returned it.
If this really improve battery, I hope this can brought attention to developer on how to fix partial wakelock by Alarmmanager on stock kernel. If this thread is no good, feel free to delete it.
This CWM replace boot.img and /system/lib/modules/dhd.ko from CM7weekly.
I used CWM script from faux's, and replace those 2 files.
It is recommended to backup your rom before installing this.
Edit 05feb2012:
I'm sorry, I shouldn't have started a thread of a device I don't hold anymore. Today faux have released his new kernel, it might already solve the problem as and I couldn't test it. But for clearer view on why I started this thread, what I mean is that I saw BetterBatteryStats shows this. This is screenshot from other device as example.
On my defy, the percentage never goes above 1%. But on atrix, it could go above 20%, I even seen it on 90%+. Using CM7weekly29jan kernel, it always stay below 1%. And about the time AlarmManager is on, maybe I was wrong, it was not below 30s, maybe 1minute+, but before, it could go hours. Problem is I only tested for around 6hour. I just install the kernel, no wipe or clear cache. On that short test, I left the phone idle with screen off. I check on Battery Monitor Widget, it seems that each 1% of the battery can last slightly longer than before.
I hope this can make things clear.
Note: For quick test, you should see the partial wakelock 'since unplugged', not 'since charged', because reboot will reset the timer in 'since unplugged', but the 'since charged' will not reset unless you plugged the usb port for charging.
More info : device is Atrix International, last fullsbf is 2.3.4.45.0.20SEA.
Click to expand...
Click to collapse
Could somebody point me a commit that fixed this issue? What was the reason of this issue? Could this fix be applied to the stock kernel too?
Very interesting! Will test this weekend, sounds promising if it really does improve battery life on cm7 based roms, maybe talk to clemsyn or faux about it.
Sent from my MB860 using XDA App
How long should one use this before giving appropriate judgment?
Sent from my MB860 using XDA App
Deggy said:
How long should one use this before giving appropriate judgment?
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
On other kernel, switch off screen for 10minutes. alarmmanager should wake for more than 1minutes. with this kernel, always below 30sec.
But whats important is the effect on battery life. A proper test would be night time battery usage, wether its the same as before, or gives better battery life.
I search for the commit too, but couldn't find it, I got no knowledge on building android from source.
Interesting.. anyone trying?
Sent from my CM7 Atrix
I will be trying this on Neutrino 2.2EE.
---------- Post added at 09:10 AM ---------- Previous post was at 09:03 AM ----------
Installed with just cache and dalvik cache wipes.
So...is it just ripoff from weekly 29?
Or did you modified something?
AndroidON said:
So...is it just ripoff from weekly 29?
Or did you modified something?
Click to expand...
Click to collapse
I'm sorry, this indeed just a rip off from weekly29jan, if this is not appropriate, I will take the zip down.
I make the zip so its easier for people who want to test. From my short test, BetterBatteryStats show smaller wakelock by AlarmManager, but I haven't test it long enough to make sure how the effect on battery. If this indeed have impact on battery, I hope enough to get dev's attention to fix the wakelock on stock kernel.
bobo9900 gave proper credit to the dev-team and is just posting the file for easy access with his thoughts on possible improvements of battery life. There is no need to give him a hard time for that.
Scary Guy said:
bobo9900 gave proper credit to the dev-team and is just posting the file for easy access with his thoughts on possible improvements of battery life. There is no need to give him a hard time for that.
Click to expand...
Click to collapse
I don't think anyone is giving him a hard time....
Sent from my unlocked Motorola Atrix.
schwann said:
I don't think anyone is giving him a hard time....
Sent from my unlocked Motorola Atrix.
Click to expand...
Click to collapse
AndroidON implied it by saying: "So...is it just ripoff from weekly 29?"
KCKitsune said:
AndroidON implied it by saying: "So...is it just ripoff from weekly 29?"
Click to expand...
Click to collapse
I didn't mean to offensive. Just wanted to make it clear.
Sorry.
AndroidON said:
I didn't mean to offensive. Just wanted to make it clear.
Sorry.
Click to expand...
Click to collapse
The word "ripoff" was probably what rankled a bit, as the word normally implies theft. Possibly a better phrase would have been "was this from the 29-Jan weekly?" or something like that. Less loaded phrasing that way.
After initial testing, I'm not seeing a reduction in alarm wake locks. Will give it a full cycle to test battery life
Sent from my Supercharged Atrix
Any updates on this?
I'm running MeanROM 3.1 with Anthrax RLS 06 and am seeing substantial wake time from AlarmManager.
I've used Gscript to dump the AlarmManager log, but I'm not entirely sure which parts to scrutinize. I also don't know how to wipe this log and start fresh... I recently flashed this rom/kernel combo after running Chad's modified superwipe, yet this log seems to span 50+ days.

Battery drain issue EVEN when the screen is off. Help??

My relative complained that he suffers from a steady battery drain somewhere around ~2% per hour even when he turned off the screen. If anyone is wondering, no it hasn't been flashed nor rooted before. Didn't get the chance to Help??
Sent from a Note using XDA
JC0406 said:
My relative complained that he suffers from a steady battery drain somewhere around ~2% per hour even when he turned off the screen. If anyone is wondering, no it hasn't been flashed nor rooted before. Didn't get the chance to Help??
Sent from a Note using XDA
Click to expand...
Click to collapse
Its really hard to tell exact solution without knowing cause. First try to identify cause, use betterbatterystats app to know which wakelocks are causing this, you will surely find problem using BBS and eventually solution !
A very common scenario is running app in a background which is either using location sharing using GPS or data sharing using internet connection..... might be syncing opetation as well........
There are lots of threads on battery use & battery drain. Look at a few and see what may be similar to your issue.
We almost need a separate forum for "Help: Battery is draining!" threads, no? The trouble is, they mostly have the same answers, so many of us get bored answering them.....
Okay will try. Thanks.
Sent from my GT-N7000 using XDA

Battery saving tip

Guys i would like to share with you a good battery saving tip, I Downloaded 2 applications that made my phone get twice the battery i used to get.
Go ahead and download wakelock detector and greenify apps. Wakelock detector will help you identify which apps continuosly wake up your processor and this is what mainly keeps your phone from deep sleep which means continuos battery drain, once you identify these misbehaving apps you can either do 2 things:
1. Uninstall those apps
2. greenify those apps(root required). This is very useful because this app allows you to hibernate the activities of the apps you want to control. This gives you the chance to manipulate apps and free your phone from constant battery drain.
For me Facebook app is the worse and heavy battery drainer so i keep it greenified. Just by this i get around twice the battery i used to get.
I hope this helps, i know there are many of us that have complained about battery life in this phone. In my case the phone was not the problem but poorly designed apps.
Sent from my LG-P880 using xda app-developers app
Hey
Thanks for your effort to give us those tips but if you'd search you'd see that most people know about this.
And BetterBatteryStats is even better than Wakelock Detector
Sent from my 4X HD via XDA Premium
i use greenify and one power guard . and battery hold too much
After the 4.1.2 update i have a strong battery drain because of baseband_xmm
sui785 said:
After the 4.1.2 update i have a strong battery drain because of baseband_xmm
Click to expand...
Click to collapse
Yes battery drain is strong is there any possibility to fix it ?
agentourisk said:
Yes battery drain is strong is there any possibility to fix it ?
Click to expand...
Click to collapse
No, i even tried with custom roms but no luck. Guess we have to stay on 4.0.3 forever lol.
sui785 said:
No, i even tried with custom roms but no luck. Guess we have to stay on 4.0.3 forever lol.
Click to expand...
Click to collapse
Lol I hope no. I was ready to install SuperXE-Intact-AOSP but i will wait whishing they announce kitkat for the 4xHD.
agentourisk said:
Lol I hope no. I was ready to install SuperXE-Intact-AOSP but i will wait whishing they announce kitkat for the 4xHD.
Click to expand...
Click to collapse
I suggest u try that one out if u want, because i only tried 3 or 4 roms a couple of months ago. Its possible the issue is fixed now, i dont have the time to look into it myself.
Let me know how it works out.

[Q] Android OS Battery Drain

Hello everyone,
I was wondering if anyone has noticed an increase in the amount of battery that Android OS uses. My battery was great prior to 4.4 and it seemed to have maintained that level immediately after I flashed the stock image. However, over the past few weeks I've noticed that my battery life has been abysmal. I am running 4.4 with GravityBox modifications on a CDMA Dev Edition X.
I used BBStats and GSAM Monitor and believe that some Kernel process is keeping the CPU running when it does not need too. Is there any way to flash a new kernel or is there something else that I should do?
I've attached picture from the stock battery screen as I unfortunately forgot to SS GSAM.
I did a brief search to see if anyone had a similar issue but I was unable to find any relevant topics. If there is one that I missed, please point me in the right direction. Thanks!
Someone posted this with the rather unhelpful title of "Help me figure this out!"
http://forum.xda-developers.com/showthread.php?t=2572336
Island_King said:
Hello everyone,
I was wondering if anyone has noticed an increase in the amount of battery that Android OS uses. My battery was great prior to 4.4 and it seemed to have maintained that level immediately after I flashed the stock image. However, over the past few weeks I've noticed that my battery life has been abysmal. I am running 4.4 with GravityBox modifications on a CDMA Dev Edition X.
I used BBStats and GSAM Monitor and believe that some Kernel process is keeping the CPU running when it does not need too. Is there any way to flash a new kernel or is there something else that I should do?
I've attached picture from the stock battery screen as I unfortunately forgot to SS GSAM.
I did a brief search to see if anyone had a similar issue but I was unable to find any relevant topics. If there is one that I missed, please point me in the right direction. Thanks!
Click to expand...
Click to collapse
Post a screen shot of the partial wakelocks using bbs....please.
Ryno77 said:
Post a screen shot of the partial wakelocks using bbs....please.
Click to expand...
Click to collapse
Sorry, it does not look like I took one of the partial wakelocks. I did take one of the kernel wakelocks which I've now included. I also realized that I did take a screenshot of GSAM as well. Hopefully this will help.
I charged my phone about before my initial post so I don't have up to date BBS just yet.
RoyalPeasantry said:
Someone posted this with the rather unhelpful title of "Help me figure this out!"
http://forum.xda-developers.com/showthread.php?t=2572336
Click to expand...
Click to collapse
I checked out that thread. It doesn't appear that the issue that I am having is similar to the one that they are experiencing. I believe that I've narrowed down the kernel as the problem whereas there's was something actively using the phone process.
Is the deleted wakelock the only kernel wake lock you're seeing?
Sent from my XT1060 using xda app-developers app
mawells787 said:
Is the deleted wakelock the only kernel wake lock you're seeing?
Sent from my XT1060 using xda app-developers app
Click to expand...
Click to collapse
At the time it was. However, I recently fully charged my phone so I'm going to see if clearing out several apps corrected the issue. I'll report back here tomorrow after I've had the opportunity to see how this charge goes.
I appreciate all of the feedback thus far.

Recent Android OS Battery Drain?

My android OS is about 32% today and about the same with my three other note 3 friends, rooted and non rooted. Anyone know what is causing it or if you have the same issue?
I'm just stock rooted.
Same issue here. It's very odd.
Sent from my SAMSUNG-SM-N900A using XDA Premium HD app
motive said:
Same issue here. It's very odd.
Sent from my SAMSUNG-SM-N900A using XDA Premium HD app
Click to expand...
Click to collapse
yeah, haven't installed any new apps either...
I have a Zerolemon 10,000mah battery, no issue here.
I'm seeing the drain here too but it's not hurting me too badly. Android OS is topping everything at 32% and has been since yesterday.
Seeing NipCollectorWakeLock as the number one partial wakelock on my system by a country mile.
zerojay said:
I'm seeing the drain here too but it's not hurting me too badly. Android OS is topping everything at 32% and has been since yesterday.
Seeing NipCollectorWakeLock as the number one partial wakelock on my system by a country mile.
Click to expand...
Click to collapse
you fixed it yet?
I tried the updated Google Play Services APK which is supposed to fix battery drain but it's still the top on my list. Can't say it's hurting me much though. 74% battery left after 12 hours (1 hour screen on time).
zerojay said:
I tried the updated Google Play Services APK which is supposed to fix battery drain but it's still the top on my list. Can't say it's hurting me much though. 74% battery left after 12 hours (1 hour screen on time).
Click to expand...
Click to collapse
i usually get 1 hr 30mins to 2 hrs of screen time around 70% with brightness half, but its not like that anymore
Anyone found a fix for this android is drain? Its annoying me. My phones is warm
Exact same issue here, tried everything I can think of... it's driving me crazy.
Synapse777 said:
Exact same issue here, tried everything I can think of... it's driving me crazy.
Click to expand...
Click to collapse
settings/connections/location services/ uncheck Use wireless networks
XiphoneUzer said:
settings/connections/location services/ uncheck Use wireless networks
Click to expand...
Click to collapse
Its been uncheck since day one.
There's no fix yet. For me it's network /signal related. Outside at work the process is awake for about 4 hour /12 while at home on wifi most of the time is under 1 hour. Still on top of the list though.
Sent from my SAMSUNG-SM-N900A
pham818 said:
Its been uncheck since day one.
Click to expand...
Click to collapse
Sorry, made a HUGE difference for me. I would continue to look at "location" stuff, notorious batt eaters.
Anyone know how to fix this?

Categories

Resources