[Q] What is keeping my phone awake (BBS screens)? - HD2 Android Q&A, Help & Troubleshooting and Genera

Hi,
I've noticed that my phone hardly sleeps these days and it's very annoying.
I used BetterBatteryStats to get an idea why, but I'm still miffed about it.
I enclose screencaps and ask for your wisdom in debugging this

Related

Random Turn on

Hi,
I seems to be having a strange problem with my newly aquired m5000 I noticed the other day when it was sitting on my desk but not plugged into anything (pc or mains) the screen would turn on at random intervals stay on for the 3 minutes i set and then go off!
I have tried uninstalling things like GPRS monitor and SPB PPlus but still get.
I wondered if anyone else has had the same problem or worked out a solution?
It does it in minilaptop and pda mode, obviously cant tell if it does it when closed.
Quite annoying as it will obviously affect battery life and i dont want it turning on on my pocket when and accidentally dialing etc.
Any of you guys got any ideas?
no ideas I'm afraid, but my K-Jam also does it every now and then since I've upgraded to the new ROM

battery life suddenly gone awry

hi all,
I've installed a raft of apps in the last few days (perhaps that was foolish) on my sim-free white Hero, and suddently the battery life has gone to pieces. It now won't even last the night *in standby with wifi off*.
Any ideas as to the known battery killers, or any way I can track down which is causing this? I don't really have to want to start removing apps at random and monitoring.
There's nothing particularly unusual in my list of running apps, following a power cycle (is there?):
Shake Awake, NetCounter, AK Notepad, OI Update & Countdown, Tube Status, Battery Widget, BBC News widget, Peep
(although that does raise a separate question: why do things like ShopSavvy, AK Notepad, start at boot, when presumably they're not really doing anything until you use them?)
Of course, I have other things that get started asynchronously, just not at boot, e.g. SMS Popup.
anyone got any ideas, please?
thanks much indeed.
cdmackay said:
hi all,
I've installed a raft of apps in the last few days (perhaps that was foolish) on my sim-free white Hero, and suddently the battery life has gone to pieces. It now won't even last the night *in standby with wifi off*.
Any ideas as to the known battery killers, or any way I can track down which is causing this? I don't really have to want to start removing apps at random and monitoring.
There's nothing particularly unusual in my list of running apps, following a power cycle (is there?):
Shake Awake, NetCounter, AK Notepad, OI Update & Countdown, Tube Status, Battery Widget, BBC News widget, Peep
(although that does raise a separate question: why do things like ShopSavvy, AK Notepad, start at boot, when presumably they're not really doing anything until you use them?)
Of course, I have other things that get started asynchronously, just not at boot, e.g. SMS Popup.
anyone got any ideas, please?
thanks much indeed.
Click to expand...
Click to collapse
I had the same issue when i put on battery widget, I saw the % going down while watching the phone.
oh! that's ironic
I do get the impression that it's more recent than that, but it could well be, I suppose. I'll remove it and see... thanks.
I've heard that the bbc widget drains the battery.
This is something Google should address with android market. The system should apply various forms of stress testing to all applications and rate them according to connectivity requirements, CPU load, power consumption etc.
I think for people who have a serious drain they need to hard reset and start again, put 1 program on at a time and leave it a day or so with that program on, finding out whats causing the drain.
Logically thinking, i'd expect it to be a program that is using internet in the background, like the bbc widget which could still be downloading without you knowing.
good points, ta.
I already noticed this. I checked the CPU load in idle mode and normally it should be around 10% (using "System Monitor").
Sometimes however, depending on what apps were running, it is increased to 30-40% and staying there constantly.
Closing all apps (incl. Sense) does not help either, the CPU load won't go down again until i make a complete device reset.
So i guess some processes are stuck in thise case causing the high load (and draining the battery empty).
My GPS did not disconnect, after foto geo-tagging, and that goes quick as well.
Also the BBC-app was installed, but got rid of it because I didn't use it. Might be a coincidence.
The BBC app polls really often. There's no setting to tell it how often to poll. It really kills the battery fast
I wonder though: even when the phone is in standby? something is killing me in standby. Oddly, it seems better if the phone is on
I'll try removing the BBC app overnight, and see...
then the battery widget tomorrow, etc...
cdmackay said:
I wonder though: even when the phone is in standby? something is killing me in standby. Oddly, it seems better if the phone is on
I'll try removing the BBC app overnight, and see...
then the battery widget tomorrow, etc...
Click to expand...
Click to collapse
Turn on usb debugging... download the SDK.. cd into tools.. and run
adb logcat
or to send it to a file:
adb logcat > log.txt
(and ctrl + C to stop logging)
Inspect the log file and you'll see what its upto pretty quickly. Maybe its overkill, but I fire that up when it starts behaving strangly.
EDIT: err to answer your question.. yeah the widgets wake the phone up to grab new data, which eats battery. The BBC news one seems to be polling reallllly often, which is unecesarily using power.
quick update: removed BBC News and Battery Widget (separately), no change; phone still dies overnight, in fact in about 5 hours on standby, from a full battery, to totally dead.
I just this minute discovered that my phone whilst in standby is still polling my IMAP server to try and connect, and I have a huge inbox, which it was prob failing to get the headers for. Seems like a possible bug that it still does this whilst in standby, but I've disabled that account anyway. It might be the cause...
What do you mean by Standby? Just inactive? Airplane Mode?
sorry, poor terminology, perhaps. No, not airplane mode, just the screen-off state it goes into after a few minutes.
It does seem a little bit of a waste, if the phone is going to spend all night checking for new Twitter, Gmail, etc, updates, when I'm not awake to read them? So I'd naively assumed that perhaps it wouldn't do that when it's in the screen-off state. Unless you've asked for notification other than on the top bar, of course?
cdmackay said:
It does seem a little bit of a waste, if the phone is going to spend all night checking for new Twitter, Gmail, etc, updates, when I'm not awake to read them?
Click to expand...
Click to collapse
To be fair, the phone doesn't know when you're going to asleep now does it? (especially if you're a night worker).
I notice that there's an application in the market now which can automatically turn airplane mode on according to a schedule, so that may help but of course this does mean you won't get phone calls!
Regards,
Dave
foxmeister said:
To be fair, the phone doesn't know when you're going to asleep now does it? (especially if you're a night worker).
I notice that there's an application in the market now which can automatically turn airplane mode on according to a schedule, so that may help but of course this does mean you won't get phone calls!
Regards,
Dave
Click to expand...
Click to collapse
No it doesn't but I'm developing a widget which will disable data access at certain times (dependent on user) so overnight it wont use data and save battery.
foxmeister said:
To be fair, the phone doesn't know when you're going to asleep now does it? (especially if you're a night worker).
Click to expand...
Click to collapse
Right; I really meant the following, but worded it wrongly...
I had expected apps not to do data access when the phone's screen is off, unless they have been configured to notify via sound, vibrate or light.
i.e. if an app either isn't notifying, or is only notifying via the top bar, then it should disable its data access when the screen is off.
That would mean a short delay in getting updates, when the screen is back on, but I'd rather have that than spending much battery time pointless checking for updates when I'm not going to see them for ages, whether that's at night or just when the phone is sitting on the desk for hours.
nicelad_uk said:
No it doesn't but I'm developing a widget which will disable data access at certain times (dependent on user) so overnight it wont use data and save battery.
Click to expand...
Click to collapse
aha! that sounds great, thanks in advance
would you update us here when you have something testable, please?
and if it's not pushing my luck to ask: any chance that it might also have a manual switch too, for those of us who go to bed at wildly different times?
Or perhaps there is already a way to disable data access manually, with a single setting change, without disabling the phone? I think there might be...
ah yes indeed, there's even an HTC widget to disable mobile networking, whilst leaving phone enabled. That will do for now

Something on the Xoom is grabbing a wake lock and not letting it go

Using the new battery usage info in Honeycomb/gingerbread, I can see that there is an app periodically waking the device in pretty frequent intervals.
The only third party apps I have installed on the Xoom I also have on my phone and consider them safe.
Can you guys look at your battery usage? In particular look for times your device is awake but the screen is off. Thanks.
Install spare parts from the markpet. Under battery use there is a wakelock category and you should be able to find the offending application.
At this point, my battery life's so darn good I'm not worried if something is exhibiting this behavior. Seriously, though, I'll take a look as well and see if I can find anything going on.
Think I found it.
I turned off the "backup my data" feature in the privacy settings area. Since I've done that the device now sleeps without interruption.
Before, it was waking up what appeared to be every 5-10 minutes or so. It also, at times, completely and totally wakelocked the device.
It may be too early to claim victory here as its only been a few hours but I'm pretty confident that was the issue.
EDIT: nevermind, still seems to be waking up. Argh.
Inphinitizeit said:
Install spare parts from the markpet. Under battery use there is a wakelock category and you should be able to find the offending application.
Click to expand...
Click to collapse
Crashes for me in Honeycomb.

Wifi issue

Hello,
I recently noticed an issue with my wifi (stock 2.3.3), where an app that needs to update regularly didn't seem to be doing it when the screen was off. As the phone always sits on its dock when I'm at home, I "solved" the issue by making the screen never turn off.
However, today I decided to give SIPdroid another go, as I tested it when I first got my phone and it wasn't working properly. I found out why, the second I put the phone to my ear, the screen turns off and the sound cuts. If I take the phone away, I suddenly get all the audio high speed as it catches back up.
A bit of googling showed this to be a known issue, the wifi goes into power saving mode when the screen turns off - on SIPdroid there's an option to keep the screen off and it seems to work well, it just dims the screen instead. But that's still an unnecessary battery drain.
I had trouble finding any recent info on the issue (within the past 6 months), maybe I was just using the wrong keywords. So I thought I'd ask here. Does anyone know anything about this issue? Is it likely to be fixed in the next version of android if it ever comes to the desire HD? Maybe there's a fix out there already (preferably without rooting and/or installing custom rom, my phone is just right as it is now...).
Settings>Wireless & Networks>Wifi settings>Hit 'Menu'>Advanced>Wifi sleep policy>Never
That'll prevent the wifi turning off when the screen turns off.
Sent from my Desire HD using xda premium
I tried that before posting, it makes no difference whatsoever (besides, the sleep policy is either never or 15 minutes, this problem occurs the second the screen goes off).
If u re root: change radio... try anyone.
stock: mmm default reset to try. (i think)
No:
http://code.google.com/p/sipdroid/issues/detail?id=268
http://code.google.com/p/sipdroid/i...Status Priority Milestone Owner Summary Stars
Reading through the comments, it seems a more general android problem. A reset wouldn't fix it.
Also:
http://code.google.com/p/android/issues/detail?id=9781

Need to restart every few days or phone wont enter deep sleep?

Like the title says, my phone stops going into deep sleep about 3 days after a reboot. I need to reboot the phone for it to go to deep sleep again. Would anyone know what might be causing this?
Japultra said:
Like the title says, my phone stops going into deep sleep about 3 days after a reboot. I need to reboot the phone for it to go to deep sleep again. Would anyone know what might be causing this?
Click to expand...
Click to collapse
In my opinion, that's not a bad thing. It's better to restart any device with an OS on it at least once a day or two maximum.
A computer device that stays on for days is similar to a human not getting sleep. Things slow down and become fragmented. VRAM, Page File, etc start getting cluttered.
I'm not surprised your phone won't enter deep sleep after three days of being on. After that much use, you'd have used various apps and services causing wakelocks.
That's what I experience, at least.
FiddleGoose said:
In my opinion, that's not a bad thing. It's better to restart any device with an OS on it at least once a day or two maximum.
A computer device that stays on for days is similar to a human not getting sleep. Things slow down and become fragmented. VRAM, Page File, etc start getting cluttered.
I'm not surprised your phone won't enter deep sleep after three days of being on. After that much use, you'd have used various apps and services causing wakelocks.
That's what I experience, at least.
Click to expand...
Click to collapse
My S6 didn't do this though. I could go for a couple weeks without restarting it and it would still enter deep sleep.
I had a similar problem. For me it wasn't every three days, but usually 24-36 hours. But same issue, suddenly wouldn't go into deep sleep and a restart would fix it.
I found my issue to be gas buddy app and it trying to poll locations via bluetooth. Google it, there are lots of threads on it, but basically due to bad programming it would just jam on.
I figured this out as i could get my phone to go into deep sleep by turning off bluetooth, so that might be a quick easy test for you.
Also remember my in case (and unfortunately for a lot of other people) it was the gas buddy app. but others have reported the same issue with other apps.
i don't know if android's implementation on bluetooth location is busted, or the way the apps are using it.

Resources