Sleep-Mode and other logcat errors - Sprint LG Optimus G

I am running a completely stock (just ran lgnpst) system. I ran logcats with both eco mode on and off and there are a lot of errors that...look bad. Some of them seem like they could be related to the high Android OS battery usage, like this very frequent error:
MP-Decision(1191): Error setting a sleep mode for secondary cores - -19
If anyone is planning on just modifying the stock rom, hopefully these will be of some use to you. I'll take a look at them but i'm not much of a dev yet so idk if i can do anything.
The logcats are attached. If they are worthless....oh well. I will run more on anything if they help.

This could explain why my phone is using more battery when asleep than awake. This morning I unplugged it at 8:30am, 100%. at 11:30 am with no usage at all it was down to 67% Android OS was the main consumer.
From then till now, I'm down to 26% with 4 hours and 5 minutes of screen on time, various calls and texts. Kind of wierd.

Related

Android System eating the battery

Hey all, I don't know if anyone has even noticed on their Evo's but on mine, the Android system usually eats most of the battery. I noticed there is a ton of processes under Android system that are running compared to like five on my Hero. I've never seen the core system processes take up more than maybe 15% of the battery, but right now, I'm at like 41% with 16m 6s of CPU total and 47s of CPU foreground. If anyone knows why this is or a way to fix it, please let me know. I'm on the first MR update. I've been able to get a lot of battery stuff figured out, if I can get the system to calm down, then I should be able to get even better battery life than my Hero.
I'm seeing the same thing, android system is at 96% battery use after letting the phone sit overnight. Never saw that on my nexus, this is strange.
Could be related to the fact that everything is syncing up, I just activated last night too.
-------------------------------------
Sent via the XDA Tapatalk App
Yeah, the system seems to have calmed down a bit today, though I also have the OC widget running to keep the processor lower during sleep. I'm guessing its helping, but I'm not sure if there is something else to get it down. I almost never even saw the System show up in usage on my Hero, now its one of the top contributers. I got used to having custom roms on the Hero, but so far all I need on the Evo is unrevoked. I know a lot of people around here don't like it, but I found I only needed a couple of apps that require root and so far love it. That OC widget really comes in handy.
maybe i can clear things up a little bit for you guys...what you see in the battery use section is distributed across 100% of the time since you last had it plugged in. if you notice all the percentage numbers add up to 100%.
if you plug your phone in and turn it on and off on you will see that android system is probably around the 90's thats because android system has used 90+ percent of the phone since you plugged it in....over time that number will lower, becuase other things will start using the battery power... what you see is a percentage based on time. not based on whats actually working RIGHT THEN AND THERE do you guys understand?
I too am having that problem and at 15% battery life warning - it still shows my Android system @ 40-44% usage after 8hrs of work.
I mostly text message all day long due to work - make phone calls and recieve calls from work every hour. GPS on for no more than 15min all day long to get direction when my keymap book doesnt help.
4g off, bluetooth off, background data 15 min only (gps) than off, gps off when not in use, mobile network (3g) off when not in use.
I would have figured my screen being on would have drained my battery life since I check text message every 10-15mins for 8hrs...
So went to work at 9am, 100% life
got off work 6pm, 25% life
I've done all the tricks, cdma only, force stopped a bunch of apps, goggle talk off, sync off, making sure maps/gps has been closed (forced or not)
still disappointed with battery life.
Unrooted Evo
My crappy AT&T Razr lasts me 2-3days with text message + call + 1.5hr of playing Bejeweled a day
*facepalm* you guys don't get it....
grrgrrgrr said:
I too am having that problem and at 15% battery life warning - it still shows my Android system @ 40-44% usage after 8hrs of work.
I mostly text message all day long due to work - make phone calls and recieve calls from work every hour. GPS on for no more than 15min all day long to get direction when my keymap book doesnt help.
4g off, bluetooth off, background data 15 min only (gps) than off, gps off when not in use, mobile network (3g) off when not in use.
I would have figured my screen being on would have drained my battery life since I check text message every 10-15mins for 8hrs...
So went to work at 9am, 100% life
got off work 6pm, 25% life
I've done all the tricks, cdma only, force stopped a bunch of apps, goggle talk off, sync off, making sure maps/gps has been closed (forced or not)
still disappointed with battery life.
Unrooted Evo
My crappy AT&T Razr lasts me 2-3days with text message + call + 1.5hr of playing Bejeweled a day
Click to expand...
Click to collapse
check your hardware version there is a thread about different types of evos and it seems like everyone who has the hardware revision 0001 has really bad battery life. i would exchange your device.
Yes we know, Freelancerx, or at least I do. But after over 8 hours and the system is still using more of the battery than anything else is a little disturbing. Never seen that on any other device. I have Hardware 0002.
I have this same issue with hardware version 0002. I run Fresh 1.0.1, i use Netarchy-toastmod kernal, have latest radio. I have also tried Damage Control (did get slightly better battery life out of DC but not amazingly different)
after 7 hrs since unplugged my andriod system is at 39%, cell standby 28% phone idle 20% display 9%.
i dont have bluetooth, wifi or 4g on. I use juicedefender+ultimate to turn off apn when screen is not on. I use set CPU to underclock when i am unplugged and go down to 128 when screen off and i am Stilll lucky if i make it all day with moderate usage.
Every day it is the same andrioid system is around 40% of the usage for the time it was unpluged.
the following is listed under included packages (not sure if this shows the same for everyone or if it shows what packages are running)
BRCMBluetoothService - Bluetooth is not on so if it shows packages running this may be an issue
Sync Feeds - I have all android syncs off and mail at 6 hours
settings storage
Rosie Utility
Acounts & syync
Account and sync settings
settings
HTC Widget Download Manager
Network Location
Setup
HTC Checkin service
Checkin serivce
VPN services
Android system
Wonder if there is something to the android system on these (ie something not turning off that should) or if we are all just crazy and happen to get the same results.
I had a hardware 0002 model and often experienced the same thing with high system % usage.
My phone was replaced, due to a screen issue, and now I have the 0003 model and seems system % is much lower so far.
I haven't installed any system update yet, so I am on the first original release rom (not rooted yet).
Going to be testing it for a few days before I update and root, so I can make a fair comparison between the original and current oem's.
If your phone is on....Android system is being used.
satch12 said:
If your phone is on....Android system is being used.
Click to expand...
Click to collapse
I think everyone here understands this. the question i think we are trying to figure out is why with similar usage and configurations some people get 40-60% android systems usage while others get 10% over the same period of time.
Android system is way too high.
satch12 said:
If your phone is on....Android system is being used.
Click to expand...
Click to collapse
Yes but if it is configured in an optimal way then android system is always beneath cell standby and phone idle.
For example, today after 15h 28m 23s since unplugged I have...
Cell stanby 38%
Phone idle 37%
Android System.....12%
That is with background processing with auto syncing every hour or so.

[Q] Sleep Battery Life

Hey everybody,
Just made the jump from the iPhone 4S and have done the custom ROM/kernel thing the past week. Things were good at the start but I feel them slowly deteriorating.
I find my battery life during sleep has become much worse than before. I mean, it still kills the 4S which would see ~25% overnight. But I'm seeing 10% overnight right now, and was ~2% earlier in the week. I normally have my phone on the charger at night, but didn't last night and I'm kinda glad I got to see this. Makes me realize why I was likely chewing through more in the day too.
You can see what I'm running below in my signature. Last night I had 5 instances where the phone woke on its own. Likely due to emails coming in.
Am I expecting too much from my modifications? Am I doing something wrong? I'm ready to toss AOKP aside because of other issues anyway, but yesterday I also read it was known to have some excessive battery drain as well. Without turning this into a battle to defend the ROM you use (like half the threads in here), if you have other suggestions, feel free to throw in a ROM suggestion. I'll attach some pictures of my battery screen so anyone willing to give me a hand can help.
Thanks in advance.
I had this problem when I was running franco too. Switched to leankernel and never looked back. I get about 4-6% drain overnight as long as I dont do something stupid like leave something running by exiting with home instead of the back button. I also have wifi on 24/7 and gps off unless im nav'in. No BT
Screwedupsmitty said:
I had this problem when I was running franco too. Switched to leankernel and never looked back. I get about 4-6% drain overnight as long as I dont do something stupid like leave something running by exiting with home instead of the back button. I also have wifi on 24/7 and gps off unless im nav'in. No BT
Click to expand...
Click to collapse
I'm hesistant to blame the kernel. I was using franco prior to AOKP without issue. I didn't make that clear in the OP. I went 4.0.4 Stock -> Stock + franco -> AOKP b31 + franco. Things were good the first two steps and I'd like to think the first few days on AOKP.
Perhaps I have some background processes chewing battery - but there's nothing with a higher battery drain than Chrome beta with 2%. My phone idle and Cell standby had huge drain though. Could a weaker than normal signal cause this? Could my radio be the culprit?
Steps to best diagnose idle battery drain.
-Install CPU Spy and Better Battery Stats.
-Charge phone to full and let it run for several hours undisturbed (easiest to charge before bed, then unplug it when you know it won't be used till morning).
-Take quick note of your % loss per hour. Around 1%, you're golden. 1-2 is pretty normal. >3 and you've got issues.
-Launch CPU Spy. Most of the time should be deep sleep (we're talking about 95%). If your phone has been awake a lot, there's either an app that refuses to let your phone rest, or an OS/Kernel issue. If it's not extreme but noticeable, you likely just need to reign in settings on some apps to keep them from syncing so often or working in the background.
-Launch Better Battery Stats. Select Partial Wakelocks from the menu. These are all cases of apps waking the phone up, sorted by length. Go look at problem apps' settings/consider uninstalling if you don't need them. Kernel wakelocks should be low too.
Keep in mind that the goal here isn't really to get all these things to zero so do not obsess over small showings. Facebook with push notifications but updates set to never keeps my phone awake for about a minute or two every night, for instance. So does Handcent SMS. If you flash a rom and your phone needs to do a lot of syncing it's likely to show up in this kind of test as well. But for a night with nothing going on, nothing should be keeping your phone up for more than a few minutes total.
myrdog said:
I'm hesistant to blame the kernel. I was using franco prior to AOKP without issue. I didn't make that clear in the OP. I went 4.0.4 Stock -> Stock + franco -> AOKP b31 + franco. Things were good the first two steps and I'd like to think the first few days on AOKP.
Perhaps I have some background processes chewing battery - but there's nothing with a higher battery drain than Chrome beta with 2%. My phone idle and Cell standby had huge drain though. Could a weaker than normal signal cause this? Could my radio be the culprit?
Click to expand...
Click to collapse
Weaker than normal signal can kill a phone battery, when I'm in lecture out in the bumfuck nowhere school I go to, I get -100 to -120dbm, which kills my battery while i'm at school. If thats your situation not much to do besides hope radios may increase your signal, but if not then your basicly as SOL as i am and may have to just charge it
JoeSyr said:
Steps to best diagnose idle battery drain.
-Install CPU Spy and Better Battery Stats.
-Charge phone to full and let it run for several hours undisturbed (easiest to charge before bed, then unplug it when you know it won't be used till morning).
-Take quick note of your % loss per hour. Around 1%, you're golden. 1-2 is pretty normal. >3 and you've got issues.
-Launch CPU Spy. Most of the time should be deep sleep (we're talking about 95%). If your phone has been awake a lot, there's either an app that refuses to let your phone rest, or an OS/Kernel issue. If it's not extreme but noticeable, you likely just need to reign in settings on some apps to keep them from syncing so often or working in the background.
-Launch Better Battery Stats. Select Partial Wakelocks from the menu. These are all cases of apps waking the phone up, sorted by length. Go look at problem apps' settings/consider uninstalling if you don't need them. Kernel wakelocks should be low too.
Keep in mind that the goal here isn't really to get all these things to zero so do not obsess over small showings. Facebook with push notifications but updates set to never keeps my phone awake for about a minute or two every night, for instance. So does Handcent SMS. If you flash a rom and your phone needs to do a lot of syncing it's likely to show up in this kind of test as well. But for a night with nothing going on, nothing should be keeping your phone up for more than a few minutes total.
Click to expand...
Click to collapse
This is what every user should use to diagnose battery problems at first.

Android OS Bug or Something Else Draining Battery

Hey there, i'm using MM stock with root now. My battery draining fast because of Android OS. It just keeps awake all the time, i dont understand why. I used to BBS and/or WakelockDetector for tracking but nothing seems to waking phone up that much. I do some research and found some thoughts about fast dormancy and i tried both on and off still problem persists. And today i noticed something weird.
Android OS was had 3 hours awake time and i just restart my phone. After restart, Android OS's wake up time was gone?! It says only 0 seconds and not incrementing. Problem was like solved and i move on.
After full charge, i unplug my phone but again Android OS drive me crazy. And yet i restart my phone again and again Android OS was gone.
Then i switch to Safe mode. Charge my phone fully and unplug. Waited for 30 mins and Android os has 10 mins of wake up time.
Because of Android OS's this bug or idk what; i can only get 2 hours of SoT.
Any idea or something?
okanb3 said:
Hey there, i'm using MM stock with root now. My battery draining fast because of Android OS. It just keeps awake all the time, i dont understand why. I used to BBS and/or WakelockDetector for tracking but nothing seems to waking phone up that much. I do some research and found some thoughts about fast dormancy and i tried both on and off still problem persists. And today i noticed something weird.
Android OS was had 3 hours awake time and i just restart my phone. After restart, Android OS's wake up time was gone?! It says only 0 seconds and not incrementing. Problem was like solved and i move on.
After full charge, i unplug my phone but again Android OS drive me crazy. And yet i restart my phone again and again Android OS was gone.
Then i switch to Safe mode. Charge my phone fully and unplug. Waited for 30 mins and Android os has 10 mins of wake up time.
Because of Android OS's this bug or idk what; i can only get 2 hours of SoT.
Any idea or something?
Click to expand...
Click to collapse
check in bbs which process is contacting android os, it is probably just a rogue app that keeps calling the system delete caches while you are at it (in twrp)
As o said earrlier there is nothing in bbs. Also same problem occurs when i use safe mode. Also i tried deleting caches.
Absolutely the same issue here with LG G4.... drives me crazy, charging the phone every single day with up to 1h SOT. Even LG G6 with brightness 100% lasts longer.

Battery Life - Idle drain?

I was wondering if anybody else had this issue or had any suggestions.
Battery life is normally great on the tablet, except every once and a while it gets stuck awake overnight. There doesn't seem to be a 3rd party app that is holding it awake, as Android system and OS is what's using most of the battery.
As you can see in the screenshot, Doze works fine and barely any better is drained, I used it briefly, came home from work and half the battery had been drained.
Thanks for the help
Not sure if it's normal but mine does the same.
Sent from my Nexus 6 using Tapatalk
I've seen a 30ish % drain sitting overnight a couple of times over the past 2 weeks. Can't seem to find a rhyme or reason for it.
I can't imagine it being "normal" since, with Wifi set to off while sleeping that the device should drain that much.
It's odd and happens randomly, I'm on the same page as you bluestang.
It happened to me once, at night it wastes a 15% battery.
I changed in wifi advance options to not maintain WiFi always awake, only in charge.
sabisavi said:
It happened to me once, at night it wastes a 15% battery.
I changed in wifi advance options to not maintain WiFi always awake, only in charge.
Click to expand...
Click to collapse
That's the setup I have though - so I get no notifications or anything when it's not on. Yet something is still keeping the device up.
I have *exactly* the same problem with an all new device, and with nothing but a game installed on it. After a reboot, if I let the Pixel C right there for a night, then it only drains ~3/4%.
Then I play the only game I have for 5 minutes, and let the device again for a night => it now wastes a 20% battery!
No idea what's going on... "Android OS" appears first in the list of app, but this does not help me so much to find what is actually happening...
The issue still appears even after a full reset of the system (I'v tried, without success).
sylar12 said:
I have *exactly* the same problem with an all new device, and with nothing but a game installed on it. After a reboot, if I let the Pixel C right there for a night, then it only drains ~3/4%.
Then I play the only game I have for 5 minutes, and let the device again for a night => it now wastes a 20% battery!
No idea what's going on... "Android OS" appears first in the list of app, but this does not help me so much to find what is actually happening...
The issue still appears even after a full reset of the system (I'v tried, without success).
Click to expand...
Click to collapse
Exactly. If I reboot the device and let it sit, doze works fine, the second I open an app, use it and put the tablet down, something hangs and keeps it awake. Always Android OS that is keeping it awake as well...
I have this issue too. Are you guys on xceed Kernel?
Whats really interesting even better battery stats Shows no culprit.
I'm on the stock-just-reset-again last version of the system.
Freak07 said:
I have this issue too. Are you guys on xceed Kernel?
Whats really interesting even better battery stats Shows no culprit.
Click to expand...
Click to collapse
I'm on stock - not even rooted
I'm on stock MM here as well.
Also, not sure if it a coincidence or not, but I changed this and haven't seen overnight battery drops anymore. In Settings>Location I changed the Mode from High accuracy to Battery saving. Since the Pixel C doesn't have GPS device, then why use it.
Like I said, not sure if it a coincidence, but battery life has been great overnight since.
bluestang said:
I'm on stock MM here as well.
Also, not sure if it a coincidence or not, but I changed this and haven't seen overnight battery drops anymore. In Settings>Location I changed the Mode from High accuracy to Battery saving. Since the Pixel C doesn't have GPS device, then why use it.
Like I said, not sure if it a coincidence, but battery life has been great overnight since.
Click to expand...
Click to collapse
So last night, I rebooted before I went to sleep, but overnight the battery drained from 85% down to 57% in about 8 hours.
I decided to check my location settings as per your post and found it was set to high accuracy, so I changed it to "Battery Saving".
I did nothing else(no reboot) until I checked my battery now about 3 hours later, it has only dropped by a further 2%.
Looking at "Battery Monitor Widget Pro" history statistics, it is clear to see that overnight the battery was draining considerably more.
It takes readings every 10 minutes and was showing between 450 and 275 mA being used every 10 minutes overnight.
Since I changed the location settings, most of the time it is 15mA with occasional jumps up to a max of 297mA.
Although this could not be classed as conclusive proof, it does seem to have had an effect, I will keep monitoring it to see how it goes.
Yep, I change that setting on the 19th or 20th and haven't seen any major drains overnight.
I think I may have found a winner with that little tweak
So far so good for me too. I don't know if it is related to the GPS settings, but no more inconsistent major drains so far.
if location services is on it can drain a good deal
Just to add that I had exactly the same issue on stock 7.1.2, tablet was staying awake and draining. Reduced location precision and now only a 2% drain during an 8 hour sleep which is a massive improvement.

Battery Drain In use (yes i know this sounds dumb)

I´ll cut right to the chase: I bought an lg g3 used, so far loving the device but I´m getting intense battery drainage when phone is in use. It´s a d855, fulmics 5.3 and xceed kernel underclocked at 1.5. I also have greenify, powernap, naptime and amplify installed and configured so stand-by time is great, if not awesome! My only issue is this: as soon as i start using the device (listening to spotify, browsing, texting etc, i can literally see the 1% dropping almost by the minute! I only manage 1-2hours SOT and i have BBS & Gsam installed, both don´t seem to show ANYTHING out of the ordinary, i can post screenshots if necessary but i honestly don´t see anything wrong... On occasion if device is rebooted 2-3 times in a row it might lose up to 40% in one go and then just hang there for a while so as to catch up... Despite this phone charging really quickly, it is not enough. I should be able to hold at least a semi-decent charge right?! Also occasionally if in standby for an extended period the batrry gauge might go up by up to 6%.. I live in finland so getting a new battery might be a bit of an issue (really expensive, if i can even find it) Unplugged today at 7:40 amd now at 12:24 I have 44% left with minimal browsing, no games just texting and listening to Spotify (downloaded playlist, not non-stop maybe 45min). I should note that I bought this phone used and it used to have random reboots until rooting and custom rom with everything set up, no more random reboots really... Could this still be a battery issue even though all apps show that battery health is good?
If your device is rooted, one way to get information would be to open a terminal window, (requires BusyBox) and enter the command "top". This runs the 'top' utility which gives real-time data regarding system load. While running the utility, there are single letter commands available to sort the display list of processes in different orders such as by highest load. At the top of the display is a summary of data, one of which is total system load. A high number near 100% would be abnormal except for very short period of time. If it stays up near 100%, then you can start looking deeper to find out what the problem process might be.
Most likely, you just have a battery that is near end of its life cycle.
Sent from my VS985 4G using Tapatalk
If ur using xceed kernel dont use xposed and battery saving apps its already mentioned by kari zeroblade the dev ...also u need to use the 4v beta version of the kernel for MM which is the latest not mentioned on his site check the thread ...also try replacing the stock battery..n try going back to stock as well
SofaSpud said:
If your device is rooted, one way to get information would be to open a terminal window, (requires BusyBox) and enter the command "top". This runs the 'top' utility which gives real-time data regarding system load. While running the utility, there are single letter commands available to sort the display list of processes in different orders such as by highest load. At the top of the display is a summary of data, one of which is total system load. A high number near 100% would be abnormal except for very short period of time. If it stays up near 100%, then you can start looking deeper to find out what the problem process might be.
Most likely, you just have a battery that is near end of its life cycle.
Sent from my VS985 4G using Tapatalk
Click to expand...
Click to collapse
ok THANKS!

Categories

Resources