[Q] Force Daydream when app is keeping the display on - Android Q&A, Help & Troubleshooting

I have a nexus 6, which uses an OLED screen. I also drive 8-10 hours a day, and enjoy contributing to the Sensorly coverage maps. Before the nexus 6, I would just leave my screen on as there was no burn-in possible. Now with an OLED screen, I have gotten around the issue by using daydream, which is basically a screen saver that doesn't allow a static image for more than a minute. This let's me keep the screen on without getting burn-in.
Daydream starts automatically when the phone is connected to power and starts when the display would have went to sleep. So if screen timeout is set to 2 min, daydream starts 2 min after not touching the screen.
The problem is that some apps like Sensorly keep the screen on, which prevents automatic Daydreaming. I can still manually force daydream, but it isn't very intuitive. Also, while daydreaming, apps function as if the screen were on (which it is).
I've had lots of ideas on how to force daydream to start even if an app is keeping the screen on, but I always get stuck on one thing or another. So I'm asking, what are your ideas for this problem?
I have root and can program and build a custom ROM if necessary (or a git repo with the modified stuff).

Related

lock screen timeout tied to regular screen timeout?

Ok, so after doing all my searching and what not, it seems that for whatever reason the time it takes for the lock screen to time out is tied to the regular screen timeout.
What I mean by this, is when you first hit the sleep/wake button and its on the lock screen, but you don't unlock it, the time it takes for that screen to go to sleep is the same as if you had unlocked it and not used it.
For me at least, this is a major battery life issue. I like to leave the screen timeout at minimum at 5 minutes, because I use my phone's LCD as a flashlight quite often (LGP500 doesn't have a camera flash), and read websites fairly often. Also, I tend to keep my phone in my pocket (who doesn't?), so when walking or moving it's very likely one of the hardware buttons (sleep/wake, home etc.) will be accidentally pressed inside my pocket at least once every short while, basically keeping the screen on permanently.
I'd like to know if anyone has any ideas on how to change this.
Just as a side note, I realize it's possible for rogue apps to keep the screen from timing out, but I've made sure that its not the case here - when the timeout is changed to 15 seconds, the screen turns off at the correct interval.
Anyone have any ideas?

Smart Stay functions

Hey Guys,
Initially before I got my phone I had another perception on how smart stay works and was a bit disappointed...
My thoughts were, that if you are reading something it checks up on you if you are still looking = Screen stays on and if you look away it turns off.
The breaking point in what I thought was, that after the screen has shut down and you look at it again (Lets say a time frame of 5-10 Seconds) it turns on again.
I hope some DEV reads this and could make a MOD or something like that. Would be really cool and I dont think, that programming that is that tough.
Regardless of this I would love to have Smart Stay as a toggle option in the 15 Toggle mode or something, is that possible?
Thanks in advance
think that you have put your phone aside after looking at it. And it will have to monitor your eyes on that time too. Too much battery drain because camera needs to be on all the time! this is why samsung didnt enabled this!
Ruchira88 said:
think that you have put your phone aside after looking at it. And it will have to monitor your eyes on that time too. Too much battery drain because camera needs to be on all the time! this is why samsung didnt enabled this!
Click to expand...
Click to collapse
The camera does not need to be on "all the time". The way it works is as follows:
- The screen timeout is set to a certain time - let's say 30 seconds. After 30 seconds have elapsed, the screen will turn off if Smart Stay is not activated.
- If Smart Stay is active, after 30 seconds the camera will switch on and determine whether you are looking at the screen. If it determines you are, it will trigger the screen to stay on for another 30 seconds, after which it will do the same again, and so on. Once it has confirmed you're looking at the screen, the camera will switch off again.
Hence in fact the camera only needs to go on for a very short period of time - just enough to see your eyes, basically. You'll know it's doing this because it briefly shows an eye icon in the notification bar.
Yeah and I meant that after the screen is off it just should monitor for another 30 seconds or so
Sent from my GT-I9300 using xda app-developers app
Which would increase battery drain tenfold.
anthropolyte said:
- If Smart Stay is active, after 30 seconds the camera will switch on and determine whether you are looking at the screen. If it determines you are, it will trigger the screen to stay on for another 30 seconds, after which it will do the same again, and so on. Once it has confirmed you're looking at the screen, the camera will switch off again.
Click to expand...
Click to collapse
ok lets say screen is turned off and camera is checking eyes once every 30seconds. what if I happen to look at it on the 15th second
i have put this in smart stay threads before, if only people would search before asking questions.
anyway, in order for smart stay to work well this condition must be met - open front camera and look at it if you can see your face and it isn't darkened then smart stay will work well. because some may ask that smart stay doesn't work even if lighting is good, that is because your face is darkened because of shadow and you are at the back of lighting.
if that condition is met then :
1. smart stay should be enabled obviously. set screen timeout to 15 seconds.
2. look at screen, you will see in 5 seconds the eye icon for smart stay will light up
3. turn your phone at an angle away from your face but enough that you can see the eye icon 5 seconds later.
- this time the screen dims but not turn off.
4. face phone screen again, 5 seconds later eye appears the screen brightens up.
5. repeat step 3, screen dims. then this time remain not looking at screen.
- after dim, 5 seconds later eye checks again and detects you're not facing screen thus it turns off screen.
now some will be thinking, having the front camera turn on at intervals will just use more battery. the thing is,turning the front cam to sense your face for just about 2 seconds at intervals won't consume as much battery consumed as compared to the display still turned on for 15,30seconds,1minute or more even when you're not using the phone.
purpose of smart stay:
1. already well-known since this is what they advertise for this feature, keep light on so you don't have to annoyingly touch the screen at intervals you think the screen timeout is nearing so as not to be inconvenienced by the screen turning off when you are reading or browsing.
2. THIS IS THE MAIN PURPOSE - to turn off display way before the screen timeout because there's no use having the display still on when you're not using the phone. we all know the display is one of the things that can drain battery fast. this is very helpful for those who set there screen timeout to 1minute or more.
note : the time interval for smart stay checking/eye appearing is different for the screen timeout interval you set.
a bit harsh but quite correct, he took time out to give you an explanation, and a very good one, a hit on the thanks button is what you should have done! Nice one radeon :thumbup::thumbup:
Sent from my GT-I9300 using xda premium
radeonxt said:
i have put this in smart stay threads before, if only people would search before asking questions.
anyway, in order for smart stay to work well this condition must be met - open front camera and look at it if you can see your face and it isn't darkened then smart stay will work well. because some may ask that smart stay doesn't work even if lighting is good, that is because your face is darkened because of shadow and you are at the back of lighting.
if that condition is met then :
1. smart stay should be enabled obviously. set screen timeout to 15 seconds.
2. look at screen, you will see in 5 seconds the eye icon for smart stay will light up
3. turn your phone at an angle away from your face but enough that you can see the eye icon 5 seconds later.
- this time the screen dims but not turn off.
4. face phone screen again, 5 seconds later eye appears the screen brightens up.
5. repeat step 3, screen dims. then this time remain not looking at screen.
- after dim, 5 seconds later eye checks again and detects you're not facing screen thus it turns off screen.
now some will be thinking, having the front camera turn on at intervals will just use more battery. the thing is,turning the front cam to sense your face for just about 2 seconds at intervals won't consume as much battery consumed as compared to the display still turned on for 15,30seconds,1minute or more even when you're not using the phone.
purpose of smart stay:
1. already well-known since this is what they advertise for this feature, keep light on so you don't have to annoyingly touch the screen at intervals you think the screen timeout is nearing so as not to be inconvenienced by the screen turning off when you are reading or browsing.
2. THIS IS THE MAIN PURPOSE - to turn off display way before the screen timeout because there's no use having the display still on when you're not using the phone. we all know the display is one of the things that can drain battery fast. this is very helpful for those who set there screen timeout to 1minute or more.
note : the time interval for smart stay checking/eye appearing is different for the screen timeout interval you set.
Click to expand...
Click to collapse
Also, don't forget to mention "SMART STAY doesn's work in dark". It can't see your face well.

disable screen time out in camera/fullscreen

ok, some info, i'm coming from the captivate (SGS1), on that phone if you were in a full screen app, or the camera was active, the screen wouldn't turn off regardless of the time out setting.
on this phone i have the timeout on 30 seconds with the stay on mode enabled for when i'm looking at the screen, this works really well except the above doesn't work, when the camera is on or the app is full screen it still times out. this becomes REALLY annoying when doing things like google hangouts as it hangs up the call when the screen turns off.
am i missing a setting? how can i keep the screen on when the app is full screen (games, movies, etc)?
thanks

[Q] Keep app running with screen off

Ok, I have a voice changer app that I want to use with the screen off. Ideally I'd start the app, turn on real-time processing, then turn the screen off. Currently, it only runs when the screen is on, as soon as I turn the screen off the app stops all voice processing. Screen needs to be off so the battery will last longer, and so the settings can't be changed accidentally (so touch has to be disabled as well).
I either need the app to keep running in the background, or have the screen turn off but not actually locked (I dunno the right term, but if the screen was off and didn't accept touch input, but the phone thought the screen was on...that'd be fine).
Closest I've found is to edit the AndroidManifest.xml file to set it persistent, then make it a system app. This will take me a while to figure out, and not even sure it'll work.
Is there some simple solution I'm overlooking? I've seen an app that turns off the screen with help from the proximity sensor...but I want the screen off whether it's in my pocket or lying on top of a table.
Edit: I tried some apps that use the proximity sensor to turn off the screen; as soon as the screen goes off, the voice changer app just stops. I have no idea what's triggering it (if the phone is actually entering a sleep state, or if the app is specifically watching for the screen to go off and suspends itself). Thought that might be a workaround, but nope.

Screen always on in developer mode keeps turning off

I like my screen to always be on when I am charging the phone, mostly becuase I drive a lot and it sucks to have the screen go off when you are using google maps. I seem that I have to keep changing the "screen always on" in the developer mode section in settings. Has anyone else been able to make this change stick?
I definitely had that option checked when I set up my phone after flashing beans v3 but when I went to check just now it was not selected. I guess I have the issue too, apparently.
Update: I just restated my phone and the option is unchecked again. Definitely not sticking after reboot for some reason.
Sent from my SCH-I605
I use the app *My Settings Pro* to set the screen to never time out whenever I have the phone docked in my truck.
It stays on until I set the screen timeout to 30 seconds & put it in my pocket.
There is a free app in the market called "Screen On"
It allows you to set the screen to stay "Always On" by a per app basis
So for example you can only select Google Maps and the only time the screen will stay on is when you are in Google Maps, etc..
My phone has been doing this since day one after reboot stay awake is unchecked I just use tasker now.
Sent from my SCH-I605 using xda premium
It mildly annoying. I like the screen on when its charging so I can just glance for notifications without touching it, or in the car mount. I guess I can just use my NFC tags for now.
Just a suggestion, but you guys may want to be careful how long you keep your screen lit while charging.
I had my old G3 set to never go out while charging (it was on all night at times) and now it shows some nasty screen burn-in on any white screen (like the gmail background).
Any time it is on a white BG, you can clearly see a gost image of the home screen and the clock widget/icons etc.etc.
I have a similar issue. I set the checkbox to always on when connected via USB directly after setting up the phone for the first time and now it's always on is re-on when deselect it and go to the settings again afterwards.
Could it be some side effect / conflict caused by some powerful apps like "NFC task launcher" or something like that who can change settings as well as the settings dialogues?

Categories

Resources