[Q] Yes, another battery issue.. 100% to 56% when idling/sleeping.. - AT&T Samsung Galaxy S II SGH-I777

My phone was fully charged before I went to sleep so I unplugged it.. When I woke up.. my phone was at 56%.. How did that happen!?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Get some data
Code:
adb shell cat /proc/wakelocks > wakelocks.txt
adb shell dmesg > dmesg.txt
Then zip up wakelocks.txt and dmesg.txt and post em' here.
40% drain overnight is symptomatic of something permanently inhibiting deep sleep. Only time I've seen this is when I attempted to get the I9100's BLN support working in my kernel.
If you don't know how to use ADB, Google it and learn. If you're on Windows, Droid Explorer can help you with this.

I know nothing about Android :/..
Does that require rooting the device?

runtohell121 said:
My phone was fully charged before I went to sleep so I unplugged it.. When I woke up.. my phone was at 56%.. How did that happen!?
Click to expand...
Click to collapse
Perhaps I am missing something obvious but it looks like you had wifi on the whole time? That would do it. Also, you may want to download BetterBatteryStats and CPU Spy. With BBS, you can see what is wake locking your phone and with CPU Spy you can see how long the cpu is in each freq state. Since the phone was idle, it should be in the deep sleep mode but clearly something (wifi perhaps) kept it from sleeping.

I always thought hitting the power/sleep button will put the phone to deep sleep mode. I've done that once before like 2 days ago and my battery was 100% to around 97%.. but this time.. some how it went from 100% to 56%.

runtohell121 said:
I know nothing about Android :/..
Does that require rooting the device?
Click to expand...
Click to collapse
No. It requires some software (and in the case of Windows, drivers) to be installed on your PC... Google is your friend, I gave you some good search terms to start with. Droid Explorer has been an easy way to get ADB working for a lot of Windows users from what I've heard.
tboooe said:
Perhaps I am missing something obvious but it looks like you had wifi on the whole time? That would do it. Also, you may want to download BetterBatteryStats and CPU Spy. With BBS, you can see what is wake locking your phone and with CPU Spy you can see how long the cpu is in each freq state. Since the phone was idle, it should be in the deep sleep mode but clearly something (wifi perhaps) kept it from sleeping.
Click to expand...
Click to collapse
BBs sometimes misses wakelocks. Also, wifi set to "never sleep" will not eat THAT much battery. For example, I had my cell radio turned off with wifi set to "never sleep" last night - dropped from 100 to 96% in 9 hours.
/proc/wakelocks is more complete which is why I asked him to pull it and post it for analysis. BBS is a lot easier to understand, but /proc/wakelocks is more complete for someone here to look at and analyze.
runtohell121 said:
I always thought hitting the power/sleep button will put the phone to deep sleep mode. I've done that once before like 2 days ago and my battery was 100% to around 97%.. but this time.. some how it went from 100% to 56%.
Click to expand...
Click to collapse
No, it won't - it tells the phone it CAN go into deep sleep mode, but it won't automatically do it. Imagine if you had an app doing something when you hit the button - the app might get really hosed if it can't finish what it's doing. Also, there's the background data Android use for mail syncing and such. That's why wakelocks are there - for an app to say, "I cannot be interrupted, do not interrupt me." The problem is, some apps misbehave and hold wakelocks when they shouldn't, preventing deep sleep from being entered.

Related

[Q] Deep Sleep vs 200mhz and the epic battle for battery life...

I just checked with CPU Spy and found that my phone is sitting at min processor speed 58% of the time. Deep sleep is under 18%. Could this be the reason my battery life is so terrible?
Little background, I ran stock for 15 minutes (literally, in the AT&T store and in the car on the way to office). I followed this tutorial to get stock + root and made a glorious nAndroid backup.
That worked, but of course now I have the Yellow triangle on boot. Should have followed creepyncrawly's Guide How to Flash Custom Binaries Without Ever Incrementing the Flash Counter (but of course hind sight is 20/20). JIG has been ordered, on its merry way.
Next step was to follow Atinm's instructions for installing CM7 nightly which includes instructions to flash a different version of CWM 5.0.2.3 found here: http://forum.xda-developers.com/showthread.php?p=18052303
Ok... still with me? Simple enough. Ran CM7.1 for a week (it's great btw). Then I flashed another CWM from ROM Manager so I could easily run with the nightlies. But kept reading about UnNamed ROM, so let's try that out. Now I'm on 1.2 with Entropy's Daily Driver 11/03. But my battery drains pretty quick and I noticed my system isn't really going into Deep Sleep as it should.
I take it after all that, it is because I have facebook set to sync every 30 seconds? j/k Seriously though, here is my decidedly long apps list of Market apps. Anything troublesome in there? I turn off all automatic sync / notification features of Twitter, FB, Words with Friends. But I do use push email for Exchange and Gmail.
Here is the troublesome screengrab from CPU Spy that started my downward spiral.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So did I screw something up along the way? Should I just be happy I bought a second battery with charging dock?
same boat here....
This would drain your battery life when your screen is off, not on. I am still in the process of figuring out my wakelocks. Strangely it would appear my JuiceDefender is unlocking my phone. Maybe that's normal when it is turning my wifi/data off.
I check everything manually, so typically I just turn off wifi/data in the UnNamed notification bar. Same with bluetooth/gps.
Note that deep sleep percentages are invalid if any of that time was on-charger time.
It's gotta be an app using a wake lock that is screwin me over. Some light reading:
[REF] Known identified battery drainers
...and here I thought I had searched the forum!
To be fair, I thought maybe I screwed up the radio or kernel by following the ODIN instructions for gaining root and flashing CWM, but looks like that is just paranoia. More than likely one of the many MANY market apps.
GOing to use Titanium and freeze the apps in Entropy's thread, including Facebook. I like the desktop web view better anyway. And no, I don't need Notified every time someones cat is super cute. That is what MMS is for
Installing Better Battery Stats from XDA http://forum.xda-developers.com/showthread.php?t=1179809
Will see what I can do
Deep sleep seems to sip about 1/5 to 1/8 as much power when idle, so it's very important. Some voltage control apps break deep sleep mode. And like they said, better battery stats is the way to find wakelocking apps. My phone is pretty always in deep sleep when I'm not using it.
Exchange email sync wake lock was the culprit. Specifically, for some reason it was hung synching my corporate calendar and draining about 15% per hour.
Going to remove sync account and wipe app cache, re setup and cross fingers.
::edit:: actually looks like Google Music was syncing constantly also...

battery drain issue

Sometimes, in idle mode mode, my phone drained battery very quickly (see picture). The best way to meet this case is restart phone, everything is back to normal. And battery life very good on idle mode, about 3-4 hours for 1%
I have tried many ways but can not find the cause. Please help me.
I use stock room .62
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You are not stock.... you have something misbehaving. Suggest you think carefully about the tweaks, mods, widgets and apps you deploy. And your settings, like WiFi screen off and so on. This is stock .62...
MaxMedia said:
Sometimes, in idle mode mode, my phone drained battery very quickly (see picture). The best way to meet this case is restart phone, everything is back to normal. And battery life very good on idle mode, about 3-4 hours for 1%
I have tried many ways but can not find the cause. Please help me.
I use stock room .62
Click to expand...
Click to collapse
I'm not sure you're interpreting the graph correctly. The drop from 70% - 50% seems to happen much faster than the area you have circled in the screenshot.
I use the "stock room" and remove bloatware. Root by "root xperia", unlockbootloader.
battery 70% - 50% drop faster because i use wifi for web browser.
list bloatware.
http://forum.xda-developers.com/showthread.php?t=1366314&highlight=bloatware
MaxMedia said:
I use the "stock room" and remove bloatware. Root by "root xperia", unlockbootloader.
battery 70% - 50% drop faster because i use wifi for web browser.
list bloatware.
http://forum.xda-developers.com/showthread.php?t=1366314&highlight=bloatware
Click to expand...
Click to collapse
I see. Have you tried Juice Defender? The paid version is excellent!
You may therefore have a crappy app running after browsing... which I haven't as you can see from my curve. What app are you using for browsing?
Avoid "fix-it" widgets like you have and any task killers.... let Android do its thing. It works.
I use default web browser.
Hmmm... so do I. I've just run the browser for a few minutes and closed it. I will check the battery status shortly and report.
How did you update to .62? I did it like this...
http://forum.xda-developers.com/showpost.php?p=20842024&postcount=45
... to avoid "issues" due to flashing over previous builds.
No problem several hours after using Browser...
Also check that the phone is deep sleeping.... other image attached
I have this problem from fw .283, .42 and now .62. I have tried "Force Stop" a few applications running, but have not found cause.
And I will try by installing the new fw .62 and do not delete anything including bloatware.
I have the same problem for fw 0.42.
I had problem with 0battery lvl so I follwed this tut to alteast get the phone working:
http://forum.xda-developers.com/showthread.php?t=1332399
Now I can use the phone without the charger but after 2-3hours the phones dies and needs recharging. Can't find the problem. :/
Today, I switch from "2G" to "3G" to browse the web. And after return to idle mode, battery drained very fast.
When switch to flight mode, all back to normal (2mA on idle mode).
I think a problem in 3g/2g modes.
Story continues....62 stock (rooted)
Linear discharge
PS: Just noticed that you have a history of "Battery Drain" going back to October... with all sorts of weird builds. Perhaps you should avoid installing loads of half-baked apps and widgets. And builds.

[Q] Please help with battery issue

I'm running ICS Passion with Kiss kernel 2.2 right now. My battery has always been iffy however, so i don't think it's the ROM.
I'd appreciate any help though:
This was last night. battery was fully charged at around 3 am.
I killed all apps.
by 11 am with very little use, it was down to 10%
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
When i look at the Top Apps, nothing looks like it's using too much CPU, so i'm not sure what's going on. Can anyone explain?
Why would i lose so much battery, when it looks like the phone was sleeping?
What am i missing here?
Thank you!
Have u tried a app call CPUSPY?
Its in the play store (android market)
That app let's u see if your phones really in deep sleep...
Hi krackerjac,
Thanks for the advice. I installed CPU Spy this morning....
1000 MHz 7% 0.35.45
200MHz 89% 6.51.47
no deep sleep, even though i didn't use the phone mch all day.
System Panel shows a 100% drop in 8 hours.
Any advice?
Thanks in advance!
It should be on deep sleep most of the time. What background apps are you running?
Sent from my LG-P999 using XDA
That's what I can't figure out. I think google sync is always on, From the Top Apps screen of System Panel, it seems that system and system processes are the highest consumers, but I'm not sure how else to tell?
Download Watchdog and see what apps are using your CPU. Also, turn off auto sync, as they might be keeping the phone awake by constantly trying to fetch new emails, contacts, etc.
Sent from my amazing G2x running Bionix Reloaded v1.4
I have Watchdog. it says Android System 5.4%, System UI 1.6%, Google Services Framework 1.0%. Everything else is below 1%
With auto-sync, is there a way to control this automatically. For example, i don't need autosync to operate between 1 and 7am, but want it to turn on again at 7am, and need it on the whole day so i can get my emails.
riskaa said:
I have Watchdog. it says Android System 5.4%, System UI 1.6%, Google Services Framework 1.0%. Everything else is below 1%
With auto-sync, is there a way to control this automatically. For example, i don't need autosync to operate between 1 and 7am, but want it to turn on again at 7am, and need it on the whole day so i can get my emails.
Click to expand...
Click to collapse
I don't think so, you can change the frequency of the fetching(updating) however. Or put the power control widget on your home screen and turn it on when you need to, and off when you don't.
Sent from my amazing LG G2x running Bionix Reloaded v1.4
theking_13 said:
I don't think so, you can change the frequency of the fetching(updating) however.
I've never been able to find that setting. How do you do that?
Click to expand...
Click to collapse
Ugh, must've been a part of TouchWiz or LG's skin, because I cant find it off of the stock app.
Sent from my amazing LG G2x running Bionix Reloaded v1.4
Try the Icy Glitch Kernel and see if that helps with battery life.
Also, try the AOKP rom, its more or less the same thing as Passion, but works a lot better than Passion did, at least for me.
Ended up downloading an app called Better Battery Stats. Found that my GPS location provider was running down the battery. This was because the Beautiful Widgets was set to geolocation, and so gps was pretty much running all the time.
Much better battery life now.
Thanks for all your help!

[PROBLEM]Strange problems with my GS2 XWLS8 ...

I am experiencing various problems that seem quite strange.
When I plug my charger into my phone, nothing happens.
Usually I'd get the charging tone instantly, but it can take upto 5mins until registering the charge now. Its also the same with USB connection to pc/laptop/console.
Whats worse is that when I remove it from charge/usb , the galaxy still displays the charging icon or 'connected as media device' stays in my notification bar?
Only until I reboot it goes back to normal but most of the time I can't even get to boot animation because it just shows the charging screen!
I charge my phone every night to 100%. If I turn my phone off, then back on, it'll either show me the charging boot screen symbol - or when I do manage to boot up successfully my battery drops MASSIVELY. It was 49% earlier, I rebooted and I had 8% left!
Im worried that my connecter may be damaged also as I dropped my phone whilst on charge and bent the charge port (not the phone port)... but there is another issue which isnt related to my battery which is my brightness/display problem.
If I let my phone screen turn off itself it turns off but then comes back on and stays on until i lock it manually using power?
If I cannot get this problem sorted do you think a wipe and re-flash would rid me of these annoyances?
Thanks!
sent from the unknown
Hey,
it listen like a battery probably, but u can first check if it's system related when u do a factory reset (BACKUP before).
If this won't help, try to change battery (maybe a friend have same phone).
CHEERS
Sent from my GT-I9100 with RootBox
Thanks man. I fully charged my battery last night and took it off charge, woke up and it was on 55%!
sent from the unknown
match_stick said:
Thanks man. I fully charged my battery last night and took it off charge, woke up and it was on 55%!
sent from the unknown
Click to expand...
Click to collapse
kindly provide details on ROM/kernel etc in order for other members to help you out.
First you need to see what is eating you battery. though you have other issues. You can try reflashing the firmware with fullwip/factory reset.
1. install cpu spy and see whether the device is going to deep sleep properly. if not try the following. enable aeroplane mode, power-off, power-on, disable aeroplane mode.
2. you can install BBS and GSam battery monitor to see which application is consuming more battery
3. dont install new apps, monitor the device after flashing & installing above mentioned apps.
kmaq said:
kindly provide details on ROM/kernel etc in order for other members to help you out.
First you need to see what is eating you battery. though you have other issues. You can try reflashing the firmware with fullwip/factory reset.
1. install cpu spy and see whether the device is going to deep sleep properly. if not try the following. enable aeroplane mode, power-off, power-on, disable aeroplane mode.
2. you can install BBS and GSam battery monitor to see which application is consuming more battery
3. dont install new apps, monitor the device after flashing & installing above mentioned apps.
Click to expand...
Click to collapse
Completely Stock firmware and kernel. (xwls8- spain.). No root.
I flashed again but still have the problem. Ive just installed NeatRom 4.1 to see if a rom change would help but still the same.
Just an example of what im dealing with ↓
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The sudden changes in the graph show when I reboot my phone.
One thing i haven't tried is a full wipe, which is what I intend to do now.
I will report back to post a report.
Thanks for the help. Much appreciated
sent from the unknown
match_stick said:
Completely Stock firmware and kernel. (xwls8- spain.). No root.
I flashed again but still have the problem. Ive just installed NeatRom 4.1 to see if a rom change would help but still the same.
Just an example of what im dealing with ↓
View attachment 1711987
The sudden changes in the graph show when I reboot my phone.
One thing i haven't tried is a full wipe, which is what I intend to do now.
I will report back to post a report.
Thanks for the help. Much appreciated
sent from the unknown
Click to expand...
Click to collapse
That's crazy, looks like a cliff next to a colorful forest!
Flasb new JB ROMs, media scanner is likely to go away.
Sent from the little guy

Battery Draining and Charging

Hey guys im using this AOSP rom http://forum.xda-developers.com/redmi-note-2/orig-development/rom-saosp-project-t3228656 .
Since a few days my phone shows 75 % battery usage for "phone idle" and its charging extremely slow. when i use it while charging it even loses battery while still on ac .
Does deep sleep not work anymore? i uninstalled some apps i installed because i thought they might cause this but nothing changed. im trying to calibrate the battery now
but charging to 100 % takes like 12 hours even if i dont use my phone. Does anyone know what suddenly happened?
I have also noticed a constant battery drain since I got my phone a few days ago (I'm on the other AOSP rom on this forum, the one by susch19).
It appears to be common knowledge that MediaTek chips have wifi problems, preventing the wifi module to go to sleep when it should.
If that is your problem, you can see several long-running kernel wakelocks using Wakelock Detector, for example md1_cldma_peer and EINT - mine had been active for about 50% of the time during two days of stats collection.
I have just finished charging my phone to 100% and disabled wifi and will check the battery drain overnight and throughout the next day.
I am using that rom and no problem at all.
Use wakelock detector and greenify/uninstall all offending apps...
i think your are right about the kernel/wifi. here's a screen of wakelock detector.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
No idea what those apps are but u should definitely greenify them or do something.
There is an app that switch off net and gps when screen is off with some conditions... don't remember the name.
this is the kernel how am i supposed to greenify it ? there are no apps causing this. i greenified all apps even uninstalled the most and still this battery drain. its probably like Xabin said and has sth to do with the wifi/kernel and the MediaTek chip having wifi problems, preventing the wifi module to go to sleep when it should.
Yep that's why I suggested a smart manager to switch off completely the radio when not in use. Google is your friend.
it is able to reenable radio time to time to catch up with emails or messages...
anyone suffering massive battery drain when using lightly? 15mins of simple browsing and youtube and it drains from 100 to 85%. Im on miui7 lhmmici 7.0.5.0
I was disappointed with the battery drain in miui, but it seems much improved since installing the AOSP Hybrid rom. Also doesn't seem to drain so much with screen on, though I've not quantified it.
Had same problems with wakelocks, but Greenify and Amplify module in Xposed have made a noticeable improvement. Occasionally get a 100% wakelock with aee_core_forwarder. Still not sure what causes it; haven't found a fix other than a reboot.
But overall, I'm satisfied with the battery life now.

Categories

Resources