Showing posts with label Doze. Show all posts
Showing posts with label Doze. Show all posts

Monday, 12 October 2015

"Aggressive Doze" is a new experimental feature for all Android 6.0 adventurers



Within the new version 2.8 beta (rolling out), there's an early attempt for better Doze mode in control. It currently activate doze mode as early as the screen goes off, and deactivate it when the screen is back on or the charger is connected.

It is surely not the complete solution for a better Doze mode. It is expected to maximize the power-saving effect of Doze mode, but may also break some background functionality of your apps. So I'm listening to all your feedback and opinions, to build a smarter and finer-tweaked Doze mode in Android 6.0.

Together with the "Shallow Hibernation" released in version 2.7, let's start a new adventure of Greenify with Android Marshmallow.



Thursday, 8 October 2015

[Marshmallow] Preventing "High Priority" apps from waking up the device from Doze



As you surely know, Android M introduces Doze, which should increase battery life. Also unused apps are put into standby mode to further increase battery performance. However, high priority apps, will still be able to send you notifications and wake the device during Doze. There is one big problem: not users, but developers get to decide if their app qualifies as "high priority". Obviously every dev thinks that of his app, which would make Doze basically useless. Now I'm sure if devs start abusing this, Google will step in and let the users decide if they think those apps are high priority or not (similar to what happened with Heads-Up Notifications). But until Google decides to change this, is there any way for us to prevent apps from interrupting Doze, even if they are marked "high priority" by the dev? The same goes for Standby: can we prevent apps that have been put in auto standby from sending notifications?



Android M "doze" mode; When is it activated ...



So, I could not find the answer to this, when is it exactly the doze mode activated (becoming active).

All articles only mention, after some time when the device is stationary (no movement).

How long is that some time?

After some read, found this article:

https://newcircle.com/s/post/1739/20...android-m-doze

And here is the source code of the DeviceIdleController:

http://tools.oesf.biz/android-MNC/xr...ontroller.java

It looks like, the doze mode will be activated after 1 hour (2 times 30 minutes).

But again, I am not Java developer, probably there are much more detail in the process.

What if the device is moved? Will the doze mode "cancelled"?

Well, it would be nice if custom ROM developer could add some customization in this, like shorten the activation time. Or even better, after the doze mode activated, it will stay active even if the device is moved (inside pocket), until the user do something (e.g. waking up, pressing button).



Wednesday, 7 October 2015

Android M Doze and gmail sync.



Right This is probably more an android in geenral thing...
When I'm using my computer I tend to use my N5 as a notification device for emails (ever since google disabled support for gmail notifier).
Anyways, that's worked quite well for some time, my phone happily rings away whenever I get emails or I see the notification LED flashing away to let me know there's something there...until I've installed the OTA for Marshmallow.

Because of Doze and leaving the phone alone for quite a while at a time...it doesn't sync my gmail whenever i get a mail...which is kind of annoying as I do like to get my mail notifications as they come in.

Since monday I've been searching around trying to figure out if there's any way to get gmail to sync during doze but so far I havent had any luck at all...I'm starting to feel like it's impossible to keep gmail syncing during doze due to googles decision it shouldn't :| And I'm very much tempted to revert to 5.1.1.

Any ideas? Thanks



Android M Doze and gmail sync.



Right This is probably more an android in geenral thing...
When I'm using my computer I tend to use my N7 as a notification device for emails (ever since google disabled support for gmail notifier).
Anyways, that's worked quite well for some time, my tablet happily rings away whenever I get emails...until I've installed the OTA for Marshmallow.

Because of Doze and leaving the tablet alone for quite a while at a time...it doesn't sync my gmail whenever i get a mail...which is kind of annoying as I do like to get my mail notifications as they come in.

Since monday I've been searching around trying to figure out if there's any way to get gmail to sync during doze but so far I havent had any luck at all...I'm starting to feel like it's impossible to keep gmail syncing during doze due to googles decision it shouldnt :|

Any ideas? Thanks