just a doubt..can doze mode used to wake device? - Nexus 5 Q&A, Help & Troubleshooting

doze mode always listening to motion sensor even if display is off or deep sleep.. can we use it for waking the device if we pick up.. some apps currently gets it done.. but with wakelocks.. this will be awesome if we can use it without battery drain
am no developer, no idea about how Android internally works.. just got a thought and asked about possibilities.
sorry for my English
thank you

Related

Suddenly getting crazy battery drain

Anyone else get stupid fast drain while its sleeping? I have wifi sleep policy set to turn off wifi when screen is off, and using the task manager nothing looks to be running that i havent launched myself. But usually i'd have the battery last DAYS and DAYS if i wasn't using it that much, but the last few charge cycles it's been nearly dead at the end of the day. Is there an app I can get to monitor stuff while its sleeping to see if something is keeping it from deep sleep? I can't remember what i've installed recently that could keep it in wake-lock or whatever. Thanks guys.
There's a build in feature in the settings menu to tell you what uses battery
Check that the wifi is actually sleeping when the screen is off. Tap the power button to wake up the tablet then look at the notification bar in the right hand corner to see if the wifi is turning on and connecting. If its not doing that then I dont think the wifi is disconnecting and turning off when the screen is turned off.
For battery issues, two "must have" tools are "better battery stats" and "cpu spy"
gary's right. download better battery stats here:
https://market.android.com/details?id=com.asksven.betterbatterystats
and since the developer of that app loves XDA, there's a free version for us!
OP: http://forum.xda-developers.com/showthread.php?t=1179809
DL: http://forum.xda-developers.com/attachment.php?attachmentid=833619&d=1325149176
Look into the partial wakelock and find the cuplrit!
Battery Drain
Try loading the free util Auto Airplane Mode which has helped fix the SOD issue and the related battery drain during the SOD.
Sorry to push the old post up again.
Recently im suffering from the weird battery drain, i didnt play/use my phone much on sunday , the idle battery drain is huge. like 8 hrs from 100%-40%.
I've installed both betterbatterystats and cpu spy already.
From battstats , it shows that kworker/0:1-3 and kworker/u:12-13 etc using up most of the batt , secondly is the doubletwist music player.
From cpu spy, most of the time is with 200mhz even i didnt use the phone at all, rarely goes to deep sleep mode.
for the process kworker it didnt show whats the process/app is about , anyone else know wt to do now ?
Same problem here :-(
Fully loaded at 7 o'clock and now I'm 34% - this really sucks!
faygo6464 said:
Sorry to push the old post up again.
Recently im suffering from the weird battery drain, i didnt play/use my phone much on sunday , the idle battery drain is huge. like 8 hrs from 100%-40%.
I've installed both betterbatterystats and cpu spy already.
From battstats , it shows that kworker/0:1-3 and kworker/u:12-13 etc using up most of the batt , secondly is the doubletwist music player.
From cpu spy, most of the time is with 200mhz even i didnt use the phone at all, rarely goes to deep sleep mode.
for the process kworker it didnt show whats the process/app is about , anyone else know wt to do now ?
Click to expand...
Click to collapse
All you can do is to check the apps you recently installed or updated. They might lock you from sleep. No easy way to control this
For me it was the "samsung-keyboard" - I froze it and now everything seems normal.

Battery dies over night.

I use awesome off to turn my pad on and off so I don't have to use the power switch all the time. I always do this so I don't have to go through the whole boot up process when I want to use it. I noticed that when I wake up in the morning the pad is dead or almost dead. Is there a better way to put this to sleep at night? There is always so much stuff running that kills the battery. I read on here somewhere that someone was not even losing 1% by putting it in some deep sleep. Is there a mode for long time sleep that does not use battery or run any processes? But without shutting it down all the way.
Sent from my Toasted Marshmallow using xda app-developers app
Toasted Marshmellow?
Can't you just set the tablet to sleep in 5 or so minutes after being inactive?
You can have the tab cut wifi off in sleep also.
I don't do the wifi off in sleep tho...sometimes it doesn't reconnect after a wake up.
I don't know what awesome off is...I'll have to check that out.
My tab just goes into sleep after 10 minutes when I set it down.
The problem is awesome off. It won't let the pad sleep and is constantly checking for movement, light levels etc. Dump it and use the power button to turn it off and on.
Battery dies
dpshptl said:
I use awesome off to turn my pad on and off so I don't have to use the power switch all the time. I always do this so I don't have to go through the whole boot up process when I want to use it. I noticed that when I wake up in the morning the pad is dead or almost dead. Is there a better way to put this to sleep at night? There is always so much stuff running that kills the battery. I read on here somewhere that someone was not even losing 1% by putting it in some deep sleep. Is there a mode for long time sleep that does not use battery or run any processes? But without shutting it down all the way.
Sent from my Toasted Marshmallow using xda app-developers app
Click to expand...
Click to collapse
I have Nook color power button donate that I got when I had my old rooted Nook color with flaky on off switch. It was in my google apps when I was loading apps on my infinity so I figured try it and see what happens lol It works remarkably well on my tab and does put it into deep sleep . See attached. I have not used my tablet much in last day but you can see that it does put it to sleep and turns wifi on and off and also reboots. Also BTW I then tried it on my rooted ICS leak Bionic and it gives reboot function instead of the long drawn out shut down then turn on process. It does not speed up any of these functions as far as rebooting.
Could be the "wifi location drain"-bug with google maps. From reading the forums it seems quite a few people have it without knowing it. You can of course disable wifi while sleeping, but this will not cure the main issue.
Turn the location settings on in google maps, then make sure that unneeded check boxes are disabled under location settings menu and you should be fine after that. The interesting part here is that google maps will drain the wifi even when the settings are not enabled, perhaps because you can't access the underlying menu without first enabling it. So only after you first enable this setting in maps will it work correctly.
Hopefully this helps, it did for me ..
Yoop,
I watched the awesome off YT video and it didn't look as though the tablet was being sent into full sleep.
I guess with it just grinding away essentially not shut down into a battery save mode it would die.
Doesn't the Tegra3 have a 5th core for minimum power processing or fast wake up?

Why not a "Deeper Sleep" (For Tablets)

I'm always impressed with how an ipad can keep it's battery life for so long when it's sitting around dormant, yet the Android tablets (like my TF101) seem to leak battery life constantly.
A tablet is not a phone (that needs to always be kept alive somewhat for IM's, phone calls, emails, etc)......, so why can't a custom kernel implement a "DEEPER SLEEP" option. When enabled, when the device goes to deep sleep, and nothing is going to wake it up except for the power button (or lid open). No more wakelock issues, nor rogue apps accessing data, or doing all the troubleshooting to find these apps that drain the battery during sleep cycles. It's like windows PC "sleep" mode...just enough power drawn to keep it's data in memory.
Most likely there is a reason for it...but I don't know what it is.
FYI: I already use tasker to put the device into airplane mode when I turn the screen off, until I unlock it, which helps a great deal.
Have you tried CPUSpy to see how much Deep Sleep your TF101 is actually getting?
Some people use BetterBatteryStats to see which apps are preventing the tablet from Deep Sleep.
Oh and there is a discussion about battery-leaks during sleep here
Theziggy said:
Have you tried CPUSpy to see how much Deep Sleep your TF101 is actually getting?
Some people use BetterBatteryStats to see which apps are preventing the tablet from Deep Sleep.
Oh and there is a discussion about battery-leaks during sleep here
Click to expand...
Click to collapse
Yep...many apps, many ways to snoop.
What I was proposing was a way to make all that unnecessary. A sleep mode that is unwakeable by apps.
sbliner said:
Yep...many apps, many ways to snoop.
Click to expand...
Click to collapse
In the BetterBatteryStats App - you can turn off all Internet reporting/Knowledge Base accessing etc, so no snooping.
There is an app that claims to put android into Deep Sleep
Description
Deepsleep battery saver constantly puts the device to deepsleep mode while screen off
LifeHacker: "Plenty of apps save your battery life, but this one takes the idea to a whole new level"
Click to expand...
Click to collapse
CPU Spy tells me that my TF101 enjoys a good night's deep sleep when the screen is switched off and wifi off.
I hate to be comparing apples to oranges but Apple builds specific hardware for their own software. Android development is the complete opposite. Many manufacturers with many different components that require many different drivers and most companies with Android seem to drop support quickly and stop supporting new versions of android. Lucky for all of us xda is around !
Sent from my Transformer TF101 using Tapatalk

Hibernate mode?

For the portable gaming device fast boot is a must.
I guess sleep mode will drain the battery anyway and pretty fast...
Power off/on take the time.
There is no hibernate mode like on PSP?
Also, can I put my shield to its case when it's in sleep mode?
Thanks
sf3 said:
For the portable gaming device fast boot is a must.
I guess sleep mode will drain the battery anyway and pretty fast...
Power off/on take the time.
There is no hibernate mode like on PSP?
Also, can I put my shield to its case when it's in sleep mode?
Thanks
Click to expand...
Click to collapse
I've tested sleep mode once
Full battery, with lid closed and nothing running, will survive for almost 2-1/2 days.
Music playing with lid closed is just over 30 hours
Bunch of apps running in background and in sleep will be just under 20 hours
donno exactly what you are looking for because with native deep sleep (lid closed) I get about 11 days of occasional use as a tablet. all my apps run normally in the background (I mean I don t force close what I use; I use it normally and let it manage my RAM as it wants)... practically it doesn't drain anything as long as it is lid closed and with no app is hanged on my processor in the background (when it happens, I can see it with batterystats and a restart solves it -it's an OS, it's not perfect, but the iteration on the shield it;s pretty close )
normal gaming (my habits), watching TV series on the go, some GPS and some internet and I get 1-2 days... battery capacity and management are right on the shield..!

Deep Sleep not working

Yesterday i flashed twrp and rooted 930f , it was all good ,at night i let the phone charging and when i woke up, it was hot, the charger wasnt though...i opened trickster and saw deep sleeep was 0% and i was noticing the percentage dropped really fast , i checked wakelock nothing suspecius, unchecked nearby scanning, restarted , still nothing the phone doesnt want to sleep...even tried to force the deep sleep like i did on the s6 after rooting it but the commands stuck at one point ,maybe they are only for s6...please if someone figured it out how to fix it ,help me and anyone else on the community having this problem
cheers .
Do you mean Dose?
Don't think Dose works while the phone is on charge
*Detection* said:
Do you mean Dose?
Don't think Dose works while the phone is on charge
Click to expand...
Click to collapse
not doze mate i know what doze its...the phone just doesnt wants to enter deep sleep mode while screen on
Kico. St said:
not doze mate i know what doze its...the phone just doesnt wants to enter deep sleep mode while screen on
Click to expand...
Click to collapse
With the screen on? Of course it won't enter deep sleep with the screen on, screen off and no wake lock apps, it should enter deep sleep
Screen on is the phone completely awake
*Detection* said:
With the screen on? Of course it won't enter deep sleep with the screen on, screen off and no wake lock apps, it should enter deep sleep
Screen on is the phone completely awake
Click to expand...
Click to collapse
mate i know how DEEP SLEEP WORKS!
Doesn't sound like it if you think it will enter deep sleep with the screen on
*Detection* said:
Doesn't sound like it if you think it will enter deep sleep with the screen on
Click to expand...
Click to collapse
u right ,i wrote it wrong but i meant off.... anyway nevermind i fixed this problem by disabling the most of the system packages and now phone sleeps like a baby

Categories

Resources