Time Without Sleeping - myTouch 4G Q&A, Help & Troubleshooting

Currently running TDJ's CyanogenMod 7.2 and it seems my phone will not go into sleep mode. It has been off battery for about 7 hours time spent without sleeping is at about 6 hrs and 50 minutes and I have barely used it. I noticed that the running services are pretty much only Facebook (refresh and notifications disabled) and Maps. So why wont the phone go into sleep mode?

I'm not sure this will help, but it's worth checking the "Stay awake" setting in Settings > Applications > Development.

It wasn't enabled and since it isn't charging I don't believe it would matter. =/

What about your "Screen timeout" setting?

Screen timeout is set to 1 minute, but I always lock the screen on my own.

Related

(QUESTION) What wifi setting are you using?

I'm curious what wifi setting people are using with the new 3.1 update?
Off with screen off
Always on
Always on while charging
Sent via Tapatalk
Off with screen off.
Get tired of notification sounds when not using it.
Also, battery life seems even better with 3.1 - now regularly getting 12 hours per charge.
I have it always on. It doesn't really use much more battery and I like to have IM applications on most of the time. I just tap on the clock on the bottom-right corner and turn airplane mode on when I'm sleeping and turn it off when I awake. Simple and efficient.
Also "always on". WiFi used almost exactly 1% battery life per hour when I left my tablet alone for two days, not going to worry about a 4day "standby" timer

Tasker setting for battery saving

Hi,
I thought that I could use Tasker (https://play.google.com/store/apps/...EsIm5ldC5kaW5nbGlzY2guYW5kcm9pZC50YXNrZXJtIl0.) to save battery life. So, what I did was to prepare the following profiles:
a) Disable autosync, enable it to 3 minutes every 30 minutes. Sync only between 6:30 and 23:05.
b) Enable autosync while on AC power, disable when not.
c) Disable wifi, enable it for 15 seconds every 15 minutes so the system would have time to connect to a known wifi if available. Then disable wifi unless its already connected.
d) When a wifi connection starts, do nothing. When it gets disconnected (like when I leave home), disable wifi.
I only use EDGE. I only sync gmail, contacts and calendar.
Before this, I had autosync and wifi on all the time so I believed this setting should conserve battery. Everything works, Tasker app itself is not draining much from the battery (according to Betterbatterystats its really negligible) but still, I have a considerably higher energy loss than with default setting.
Do you know whats the reason for this? Is is caused by the wifi enabling and disabling - taking more power? Is it caused by the fact all sync gets done at the same time? Or why is that?
Im generally happy with the Nexus S battery life but this outcome makes me curious ...
EDIT: My advanced wifi system setting always was "never disable wifi when screen is off". Also, for the purpose of this test, I disabled wifi AP on my router to check just for the outcome of the wifi search.
Check out your Awake time (can find this in BetterBatteryStats), you'll probably notice the phone stays awake for longer than it would normally. Normally the phone would go into a practically permanent "sleep" state, powering nothing but your radio, when the screen is off and doing nothing. It would just wake up every X minutes to autosync or for other alarms (exchange sync, etc) and then go back to sleep. I wouldn't be surprised if it is solely the wifi option.
Depending on the advanced setting in the wifi options, it keeps the connection indefinitely or drops it after a certain amount of time, i think around 15mins - 30 mins. This may need to be changed to fit the circumstances.
Overall though, benefiting from the use of Tasker or similar program for battery life purposes doesn't gain much over what android already does (albeit still with alot of room for improvement).
Well, I should've mentioned this: My advanced wifi system setting always was "never disable wifi when screen is off". So thats not possible reason.
Also, for the purpose of this test, I disabled wifi AP on my router to check just for the outcome of the wifi search.
I basically believed that before, the phone had wifi on and checked around every now and then. And with the new setting, it would check less often, therefore saving battery.
Awake time is about 40 minutes in 7 hours sleep.
EDIT: Maybe it would help to adjust the times better.

[Q] Screen off while charging?

I notice that whenever the phone is charging the display never shuts itself off despite being set to 1 minute. It happens in Stock and now in FreeGS4 v2.0.0.
I cannot find a setting to change that.
FreeGS4 at least disables the wakeup on charge so it does not sit half the night with the screen burning in but I would like to know if there is a way to enable the display timeout while charging.
gharlane00 said:
I notice that whenever the phone is charging the display never shuts itself off despite being set to 1 minute. It happens in Stock and now in FreeGS4 v2.0.0.
I cannot find a setting to change that.
FreeGS4 at least disables the wakeup on charge so it does not sit half the night with the screen burning in but I would like to know if there is a way to enable the display timeout while charging.
Click to expand...
Click to collapse
First, check whether Developer Options in settings is ON/Off and if ON make sure "Stay Awake" is not checked.
If dev options are not ON, might try turning them on and see if that fixes anything.
CCallahan said:
First, check whether Developer Options in settings is ON/Off and if ON make sure "Stay Awake" is not checked.
If dev options are not ON, might try turning them on and see if that fixes anything.
Click to expand...
Click to collapse
Thanks!
Stay awake was checked in Dev Options. Exactly what I was looking for.

Wi-Fi Not Allowing Deep Sleep

So I posted this in a different thread but figured I would post it here to see if anyone could duplicate my findings. I have a Note3 from T-Mobile and for whatever reason leaving the Wi-Fi on will not allow the phone to go into deep sleep mode. I noticed when I was down to 40% battery after 10 hours with only one hour of screen on time. After running some tests I had only 2 minutes of deep sleep those entire 10 hours (tested using BetterBatteryStats) I tried setting "Keep Wi-Fi on during sleep" to Never and unchecking "Always allow scanning" under advanced network settings but neither of them fix the issue. In fact, after several tests I concluded that setting never for "Keep Wi-Fi on during sleep" wasn't even functioning as my access points still showed the client connected while the phone was asleep.
Can anyone else confirm this issue is actually a bug and not just my phone being defective?
Here's my original post on the topic regarding how I found the problem and what I have tested so far:
OK so after only 2 days of owning this phone (got it late Monday night, the T-Mobile variant) I finally figured out why I'm getting such bad battery, and I suspect the same thing may be happening for the other people in this thread. Hopefully this information helps at least one person.
My battery stats was almost identical to all the other users in this thread that had bad battery, I would get barely around 10-12 hours on the phone with less than 2 hours of screen on time. After using multiple apps to track down the issue I finally got what it was.
Wireless. Yes, wireless was my cause. But the thing is Wi-Fi didn't show up at all in any of the battery apps so I assumed it was a non issue. I've had other phones and have always kept the wireless turned on the entire time without problems. The basic problem is not that Wi-Fi is using power itself but it's that by default the phone cannot enter deep sleep while connected to Wi-Fi. This is why trying to use apps like BetterBatteryStats will lead you nowhere initially (though they were useful in finding out what was causing the issue) You can discover this by turning on Wi-Fi and connecting the phone to a charger, then disconnecting it so your BBS information will reset. Then power off the screen and power it back on after 10 minutes. You'll notice in the other section that deep sleep will have less than a minute time while awake probably has close to 9 minutes, if not more. This is with everything else turned off, almost no apps, and no special Samsung stuff enabled.
Under Apps > Settings > Wi-Fi > Menu > Advanced there are two options that should help this: "Keep Wi-Fi on during sleep" and "Always allow scanning" I set the "Keep Wi-Fi on during sleep" to Never and unchecked Always allow scanning and rebooted the phone. And low and behold...nothing. Yes, these options don't work (at least not to fix this problem) The phone still won't enter deep sleep mode while the wireless is enabled. Based on my company's wireless devices I can see that even with the screen off for well over 10 minutes it still shows connected as a client meaning the wireless is not turning off properly while it's in sleep mode. Or perhaps it can't go into sleep mode because the wireless is on which stops it from going into sleep mode and turning off the wireless. My guess is that it's a Samsung bug.
The reason why there's so many people here to get good battery usage is because they're either used to turning Wi-Fi on only when needed and keeping it off. You'll also not notice it if you have more than 6 hours of screen on time because you could easily assume that it would make sense that you phone would only last 10 hours total with that much screen on time, even though it should have technically lasted 20+ hours with only 6 hours of screen on time if the phone could have entered deep sleep.
So what's the real fix for this? Unless it's by design my belief is that it's a bug and won't be fixed until Samsung/T-mobile notices. I can't test to see if the same thing happens on other carriers so if someone feels like testing this theory out it would help.
For now, I guess we're just left to manually turning Wi-Fi on only when needed and leaving it off in all other cases. For those that have the T-mobile variant, make sure you also go into Settings > General > Backup and reset > Collect diagnostics and uncheck the "Allow Diagnostics" as that will probably be the highest offender of Partial Wakelocks (it'll show up as com.carrieriq.tmobile.wakelock or System Manager Application)
If anyone wants more information on my testing let me know!
Click to expand...
Click to collapse
That's because the 'Keep WiFi during sleep: Never" setting only disconnects, it doesn't shut down the WiFi radio.
You're going to have to use a manager (Like Deep Sleep Battery Saver).
Or just hit the toggle yourself... If you're going to keep it disconnected in sleep anyway, just swipe down the notification bar and hit the bloody toggle.
ShadowLea said:
That's because the 'Keep WiFi during sleep: Never" setting only disconnects, it doesn't shut down the WiFi radio.
You're going to have to use a manager (Like Deep Sleep Battery Saver).
Or just hit the toggle yourself... If you're going to keep it disconnected in sleep anyway, just swipe down the notification bar and hit the bloody toggle.
Click to expand...
Click to collapse
The problem is that it doesn't disconnect, the access point 100% shows it is connected and transferring data every now and then. But the real issue isn't weather it disconnects or not but it's the fact that Wi-Fi will not allow the phone to go into deep sleep mode. For now I am fine with switching Wi-Fi off and on as needed, but with no other phone have I needed to do this before and definitely seems like a bug.
But regardless, what I'm trying to figure out if this is a legit bug that I should submit to Samsung/T-mobile or if it's just my phone and I should ask for a replacement. If anyone has BetterBatteryStats and could test this with their Note3 that would help.
My stupid phone has just started this same issue!!!! Freaking annoying, after only 8 hrs from 100% charged state, the battery is at 46% with only 26 mins screen ontime, I checked out that the phone never goes into deep sleep. What is going on and what can be causing this? Did you manage to resolve your issue?
PS I checked out wakelock detector but doesn't tell me a thing, as what program is keeping the phone awake all the time. Starting to hate this phone and miss my S3
What is your GPS accuracy setting set to? GPS, Wifi or Networks? Try setting it to GPS only.
GameBoiye said:
So I posted this in a different thread but figured I would post it here to see if anyone could duplicate my findings. I have a Note3 from T-Mobile and for whatever reason leaving the Wi-Fi on will not allow the phone to go into deep sleep mode. I noticed when I was down to 40% battery after 10 hours with only one hour of screen on time. After running some tests I had only 2 minutes of deep sleep those entire 10 hours (tested using BetterBatteryStats) I tried setting "Keep Wi-Fi on during sleep" to Never and unchecking "Always allow scanning" under advanced network settings but neither of them fix the issue. In fact, after several tests I concluded that setting never for "Keep Wi-Fi on during sleep" wasn't even functioning as my access points still showed the client connected while the phone was asleep.
Can anyone else confirm this issue is actually a bug and not just my phone being defective?
Click to expand...
Click to collapse
Well, your issue looks pretty similar to mine, which I solved with this Xposed mod (you could give it a try if you're on KitKat): http://forum.xda-developers.com/xposed/modules/mod-wi-fi-deep-sleep-t2752947. I was experiencing that even when "Keep Wi-Fi on during sleep" is set to Never, Wi-Fi still was awake most of the time according to battery stats.

No deep sleep and high battery usage

Hi everyone,
most of the time, my Axon 7 eats the battery absurdly fast, when only lying around (Standby). I opened a different thread that I caught it once discharging the battery even when turned off, but several other times, it did not do that again.
I noticed that BetterBatteryStats tells me that there is almost 0 time for "Deep Sleep" (3s) while it is "Awake (Screen Off)" almost all the time. Since I have no root, I do not know how reliable the data is (100% Awake + 21% Screen On + 0% Deep Sleep = 121% = lol).
I have checked the power management for all apps. All have "Allow deep sleep" activated.
The battery discharging is so heavy that one charge is not enough for one day of usage (with some hours screen on time).
Do you have experienced something like this, even with a different phone? Any ideas are welcome.
Regards,
Puni
You must have some app eating your battery. Try to remove some latest apps and reboot. If that doesn't work clear cache.. After that is only factory reset left...
FATPunisher said:
I noticed that BetterBatteryStats tells me that there is almost 0 time for "Deep Sleep" (3s) while it is "Awake (Screen Off)" almost all the time.
Click to expand...
Click to collapse
Okay, this is not really specific to the Axon 7, but it will work anyway. I precise I'm NOT ROOTED as well.
First :
- you better also install Gsam Battery Monitor, you'll have access to a better looking stats for Doze Mode. However, under Battery Manager (sorry, doesn't know how it is in english) / Battery Usage / Time battery used, you should have "Awake time" and monitor it here as well
- install Greenify as well, to try to apply Doze mode asap.
Second:
- Wifi on the axon, even when "turned off while screen is off", isn't. Manually switch the wifi off if needed.
- The same is for the GPS/Location services. Even when the toggle is OFF, you are still being tracked. Long-clic on the toggle, and make sure location is disabled (unless you need it). It will reset if you 'allow' Google Maps to enable location for yourself. Don't do it.
Third :
- Fiddle with Energy management, and learn about the 4 available toggles (disallow at startup, force close when screen is off, delay wake up, do not allow wakeup when in doze mode). Be careful about notifications tho, activating some switches might remove or delay them
- Go to security, administrators : do you have an app that shouldn't be there (which can wake up the phone)?
- Go to acessibility, same
- Do a reboot
- Watch what happens next
- Please report back here with BBStats + Gsam + Energy manager screenshots at least
Thanks a lot!
I will try your hints.
But disabling Wifi and GPS/Location is not really useful for me, because I need both all of the time. Could try it for seeing if it helps though.
Activating Air Plane mode allows Deep Sleep. Not useful, but nevertheless interesting.
I noticed that my Medion tablet with Android 4.4.2 (!) has the same issue. Must be an app installed on both I guess.
Wakelock Detector says it's Android System, AlarmManager. That is not too helpful.
On my Axon 7, Bluetooth triggers the Wakelock. It's 100% reproducible. Cannot be the whole story though, there must be more. The battery lasts at least twice as long without Bluetooth.
Solved!
Solved it!
It was the app MeinVodafone. It causes Wakelocks when Bluetooth is enabled.
I found a forum posting by somebody else confirming that.
Very nasty.
Thanks everybody!
P.S.: My tablet is a different story. Bluetooth is never active there. The wakelock vanished, but I have no idea what happened. Doesn't matter, unrelated.

Categories

Resources