Related
Another Awesome Tool From Fahrbot
Power Switch is a tool for devices with cases - somewhat like the SmartCover, it will turn off the screen when you shut the case. If you have a device with poor battery life, Power Switch can save tons of juice by switching it off entirely after a given amount of time asleep.
The app works best on phones using the proximity sensor. On tablets, the light sensor is the most efficient method of knowing that the case has been closed.
Features:
- Sleep seconds after shutting case
- Automatic shutdown (rooted devices only)
- Set up a schedule using Night Mode
- Configure sensor sensitivity
- Facedown to turn screen off
- Persistent notification
- Plays sound to let you know that the screen has turned off
The app has gone through an extensive testing process here at XDA under another name. Thanks to everyone who helped make it happen, you're the best!
However, this testing showed that some features of that app were not all that useful, and some were conspicuously absent. To save both you and us a lot of grief, we made the second-generation Killswitch.
Remember to adjust the light sensor sensitivity settings in a light environment for best performance, and use Night Mode if you are on a tablet with a poor ambient light sensor.
If you have any comments or suggestions, please use this thread or the in-app feedback tool. Please be aware that we ignore logs without descriptions.
Power Switch Lite
https://market.android.com/details?id=fahrbot.apps.powerswitch.demo
The Lite version of the app is exactly the same as the Pro, only the timers are restricted to a minimum of twelve seconds.
Screens:
Reserved for tech stuff.
Oh WOW! Ill give this a try
Let me know how it goes...
I have tried this on Galaxy note, it works fine when i test it with finger, but galaxy Note have cover, if i close with it, it doesn't work. I have marked also if there is white paper i keep over cover(black) it works. Does this bug? or sensor have problem to use dark color? itz really weired but true.
If you have a Note, you should be using the PROXIMITY SENSOR, which works regardless of color or density.
Thats the great thing abount my new Tab 7.7 - its the first real tablet with a proximity sensor! Works like magic
I have used proximity sensor. I have uninstalled it, anyway reinstalling n will put review again
Edit :
Set as tablet,
Used proximity + light then worked
Not worked with proximity only.( that i did y'day)
Thnx, had nice talk after long time, when u have launched root call blocker, participated lot on that thread, still using it on note too.
Sent from my GT-N7000 using xda premium
Does running the proximity sensor all the time when the screen is on reduce battery life?
edit: Just tested it on my Note, it works with Proximity only. It'd be great if it could turn the screen on as well when i flip open the cover, without affecting battery life too much!
eug said:
Does running the proximity sensor all the time when the screen is on reduce battery life?
edit: Just tested it on my Note, it works with Proximity only. It'd be great if it could turn the screen on as well when i flip open the cover, without affecting battery life too much!
Click to expand...
Click to collapse
Indeed dr.k good to see you back in action!
As for battery life, no, the sensor is on all the time anyway.
This is working with my black, light absorbant cover, where others have not. I now have my screen timeout up to 2 mins. Kudos!
I am also having to use both light and proximity in tablet mode.
beestee said:
This is working with my black, light absorbant cover, where others have not. I now have my screen timeout up to 2 mins. Kudos!
I am also having to use both light and proximity in tablet mode.
Click to expand...
Click to collapse
Please try using just proximity, then try both, then send some logs through "Write to us". Be sure to leave a description like "light and proximity works" or something so we know what to look for.
1.1.4
Added option to disable in landscape
Fixed issue with switching Night mode
Fixed many device specific bugs (Tab 7.7, 8.9, 10.1)
seems to be only working with the light sensor on my galaxy tab 7.7.
how do i calibrate the proximity sensitivity?
Using the sensor sensitivity...
set it to 50. still not working :-(
neonlite said:
set it to 50. still not working :-(
Click to expand...
Click to collapse
Hi. Im the dev and i have the 7.7. I also know that there are two roms only atm and it works fine for me at 50% just by putting my hand 3 inches away from the sensor.
Maybe your setting something wrong?
Anything to report?
Guys have a look at our new app META WIDGET:
http://forum.xda-developers.com/showthread.php?p=26094380
Anything to report?
Hmm, seems to work really well with my Transformer Prime, light sensor at 10% with a "Mini Suit" case.
Will buy the full version if this works reliably for the next few days.
Does the full version support "silent sleep" without a dialogue box if timers are set to 0 sec?
Hi, I made this app as a fork of the Xposed Enable Ambient Display app, because it would not work on my phone (which already has ambient display enabled, but not the handwave / proximity gesture)
The app when installed, and the service activated, will bring up the black screen that is used to peek at notifications (https://raw.githubusercontent.com/D...isplay/master/screenshots/ambient-display.png) when you wave at the proximity sensor, or take it out from your pocket.
Download link https://github.com/Rijul-Ahuja/Doze-On-Proximity/releases/download/V1.0/app-release.apk
Cheers!
There's no way of enabling this for samsung phones?
Sent from my SM-E700H using Tapatalk
Very interesting. Only one question: and about the battery? Consumption is high?
Chaninoza said:
There's no way of enabling this for samsung phones?
Sent from my SM-E700H using Tapatalk
Click to expand...
Click to collapse
Well, for starters, your kernel has to support it, I believe. I am not very sure - I don't delve into the realm of hardware.
On my device, it was enabled after this commit was merged : http://review.cyanogenmod.org/#/c/119408/
On some devices, this module might work http://repo.xposed.info/module/com.dvd.android.xposed.enableambientdisplay - it did not work on mine, but worked on my roommate's device - this module would actually disable ambient display on my phone for some reason, so I have made a standalone app from the service in it.
kryzeK said:
Very interesting. Only one question: and about the battery? Consumption is high?
Click to expand...
Click to collapse
In all, likelihood, yes. It will be high.
Wish this worked on nexus 5x. You ever think about making it a XPOSED module? I think lots of people would find it useful.
Rijul.A said:
Hi, I made this app as a fork of the Xposed Enable Ambient Display app, because it would not work on my phone (which already has ambient display enabled, but not the handwave / proximity gesture)
The app when installed, and the service activated, will bring up the black screen that is used to peek at notifications (https://raw.githubusercontent.com/D...isplay/master/screenshots/ambient-display.png) when you wave at the proximity sensor, or take it out from your pocket.
Download link https://github.com/Rijul-Ahuja/Doze-On-Proximity/releases/download/V1.0/app-release.apk
Cheers!
Click to expand...
Click to collapse
Your app is a life saver for people who need it, especially now that xposed is not available for nougat. Just awesome.:good::good::good:
Thread closed at OP's request!
The Flash
Forum Moderator
I've created an app that wakes ambient display when you take the phone out of your pocket or if you have the phone face down and turn it over. The app is in addition to Google's ambient display and does not change your lock screen in anyway. It can also set "pulses" of ambient display. The free version allows you to have it always pulse while charging.
I added a few other paid features for tilt or lift to unlock, wave to unlock, pulsing at an interval, and battery percentage display on the ambient display.
Please let me know if you have any suggestions or run into any problems. Thank you!
Check it out: https://play.google.com/store/apps/details?id=com.compass.ambiturner
Pulse means, as long as i have for exampel a unread whatsapp message, ambi is showing at the set pulse time?
Maybe ill test it on OP3 with CM14.1 running ... will report back!
MultiCulti said:
Pulse means, as long as i have for exampel a unread whatsapp message, ambi is showing at the set pulse time?
Maybe ill test it on OP3 with CM14.1 running ... will report back!
Click to expand...
Click to collapse
Correct. There is a filter for you to choose which apps can trigger a pulse. The pulse timeout is how long do you want the pulses to continue before it stops (to save battery). Pulse will temporarily pause when your phone goes into deep sleep. I could wake it up, but that's a much larger battery hit.
The other features seems to have little to now battery impact. Pulse is fine as long as the interval isn't set crazy low.
So far I've only personally tested it on stock Pixel XL.
ok, so far its working fine here!
Just the pulse isnt working (tried whatsapp and google messenger)
Love the idea off showing the battery, but its not that looking good :silly:
but i think, you just can manage this as "notification", or am i wrong?
anyways, good idea so far, will follow (bought it anyway) :laugh:
MultiCulti said:
ok, so far its working fine here!
Just the pulse isnt working (tried whatsapp and google messenger)
Love the idea off showing the battery, but its not that looking good :silly:
but i think, you just can manage this as "notification", or am i wrong?
anyways, good idea so far, will follow (bought it anyway) :laugh:
Click to expand...
Click to collapse
The battery level is a notification. I'll create a custom layout to improve the look in a future update.
The pulse is the least reliable feature. I'm still working out the kinks, but doze and deep sleep definitely are one problem. I'm testing various ways and will try to get it as consistent as possible.
Alarm Manager would work but it would drain battery.
Looks great! Just to confirm - you need to have a lock screen set up for it to work?
poczynek said:
Looks great! Just to confirm - you need to have a lock screen set up for it to work?
Click to expand...
Click to collapse
Yes, it works with androids Ambient Display. So if you have that and it's turned on it should work.
So I've done some limited testing with the app white listed from doze and so far it improves the responsiveness significantly. I don't know the battery impacts yet, but if it's not noticeable I'll add code to prompt users to white list it.
Other upcoming changes:
Advanced settings to adjust wait times for how long the phone has to be in your pocket or laying flat before a wake can occur.
A pulse option that initially pulses faster when a notification comes in, and progressively shows down until the timeout.
Possibly change in lock screen battery indicator appearance.
Filter on laying flat thresholds. I suspect the accelerometer incorrectly reports the phone tilted while it is laying flat on occasion.
New update posted.
I may have discovered what is causing the intermittent nature of wave to wake. I made some changes in how I'm using the proximity sensor so that should help. I'll have to wait and see after a day or so of use to see how consistent it is.
I also added an option to turn off the wake from pocket.
There's now a help screen with an email developer button and some troubleshooting hints. I've been getting a large number of 1 star reviews, and many of them are people who don't realize you need to have ambient display turned on and a lock screen set, so I included more info on that.
Oh, and the notification is now hidden unless you have the Battery Indicator selected!
If anyone is still having problems with tilt to wake please let me know. On my Pixel XL that has been working every time all day. There is sometimes a delay, but I think that's due to the aggressiveness of Android 7.1 putting the device into sleep.
Awesome app. I bought it mainly because of Wave To Wake, but for some reason it works two times on my Nexus 6 and then stops working until I turn my screen on and off again. Oh, and I've already whitelisted Ambi-Turner from the battery optimisation.
Also I would love if you could make Ambient Display work as soon as I turn the screen off, without having to wait for 10 or 3 seconds.
Thank you a lot for your hard work, I hope this can be fixed. Please contact me if I can help with anything!
Ygor Cortes said:
Awesome app. I bought it mainly because of Wave To Wake, but for some reason it works two times on my Nexus 6 and then stops working until I turn my screen on and off again. Oh, and I've already whitelisted Ambi-Turner from the battery optimisation.
Also I would love if you could make Ambient Display work as soon as I turn the screen off, without having to wait for 10 or 3 seconds.
Thank you a lot for your hard work, I hope this can be fixed. Please contact me if I can help with anything!
Click to expand...
Click to collapse
I'm trying to get wave to wake as consistent as possible. Did you update last night? Let me know if that helps it.
I'm actually working on some advanced settings to let you control those timeouts.
grokus said:
I'm trying to get wave to wake as consistent as possible. Did you update last night? Let me know if that helps it.
I'm actually working on some advanced settings to let you control those timeouts.
Click to expand...
Click to collapse
I'm testing it right now and it's still quite inconsistent. Though I never know if I'm waving too fast or too slow, you know? Maybe if there was a way to make it more sensitive? Thanks for the attention! ;D
Edit: just to be clear, Wave To Wake does only work two times, but I discovered that I don't actually need to turn the screen on for it to work, I can just move the device (then Ambient Display will turn on) and after that the Wave To Wake will work again (though still only two times). I believe it has something to do with the time after it's been awake or something like that.
Android Wear Issue
Ok...I love the app when its working and even bought the Pro. So worth it to me.
This morning I forgot my Android Wear watch (LG Urbane) at home and Ambi Turner was working perfectly. I had to run home at lunch, grabbed my watch, turned it on and now Ambi Turner isn't working.
Any thoughts how to get around this?
mschumacker said:
Ok...I love the app when its working and even bought the Pro. So worth it to me.
This morning I forgot my Android Wear watch (LG Urbane) at home and Ambi Turner was working perfectly. I had to run home at lunch, grabbed my watch, turned it on and now Ambi Turner isn't working.
Any thoughts how to get around this?
Click to expand...
Click to collapse
UPDATE: I turned off the 'Mute' for my watch and Ambi Turner started working again. Hmm...gotta thing this one through. Turning on Mute alerts my watch, but I also see them on Amber Display.
Ygor Cortes said:
I'm testing it right now and it's still quite inconsistent. Though I never know if I'm waving too fast or too slow, you know? Maybe if there was a way to make it more sensitive? Thanks for the attention! ;D
Edit: just to be clear, Wave To Wake does only work two times, but I discovered that I don't actually need to turn the screen on for it to work, I can just move the device (then Ambient Display will turn on) and after that the Wave To Wake will work again (though still only two times). I believe it has something to do with the time after it's been awake or something like that.
Click to expand...
Click to collapse
I'm adding some customization for the wave timeouts. I wish I could measure hand distance from phone but the pixel and nexus sensors don't have that granularity the way moto phones do.
mschumacker said:
UPDATE: I turned off the 'Mute' for my watch and Ambi Turner started working again. Hmm...gotta thing this one through. Turning on Mute alerts my watch, but I also see them on Amber Display.
Click to expand...
Click to collapse
Hmm that's strange. I'm using a garmin fitness watch that has notifications and haven't seen anything like that. Does your watch somehow mute notifications on your phone so that only the watch displays them?
grokus said:
Hmm that's strange. I'm using a garmin fitness watch that has notifications and haven't seen anything like that. Does your watch somehow mute notifications on your phone so that only the watch displays them?
Click to expand...
Click to collapse
Yes...there is a setting in Android Watch (Silence phone while wearing watch ) in the new version. It used to be 'Mute calls and notifications'. Its actually very handy so that when I'm in a meeting, I just get a vibration on my watch instead of my phone making any noise. Add the 'Feel the Wear' app where you can customize the vibration pattern per app...just a great combo.
EDIT: Since I just got a new version of Android Watch, it seems I can turn on the Silence option and the AmbiTurner, wake on wave, is working! Woo HOO!
Made tons of improvements. Tilt to wake should be extremely reliable now. There is also a lift to wake option. I reduced the speed you need to wave, so it should be much easier to trigger now. I also added an option to always pulse while charging.
Let me know how it works!
I had taken a break from updating it because I became a father but I have a little spare time now.
grokus said:
Made tons of improvements. Tilt to wake should be extremely reliable now. There is also a lift to wake option. I reduced the speed you need to wave, so it should be much easier to trigger now. I also added an option to always pulse while charging.
Let me know how it works!
I had taken a break from updating it because I became a father but I have a little spare time now.
Click to expand...
Click to collapse
@grokus is this app still being developed?
Sent from my LG-H990 using XDA Labs
I got my OP7 Pro today. Double tap to wake with screen off doesn't seem to work. Anyone know what the secret is? What am I missing?
jdgesmlls said:
I got my OP7 Pro today. Double tap to wake with screen off doesn't seem to work. Anyone know what the secret is? What am I missing?
Click to expand...
Click to collapse
You have to turn it on in display settings under ambient display. It's turned off by default, or at least mine was as well as pickup to show.
None of my screen off gestures are working...
truckerdewd said:
You have to turn it on in display settings under ambient display. It's turned off by default, or at least mine was as well as pickup to show.
Click to expand...
Click to collapse
I think he means the feature is broken. It's not working for a bunch of us after the day-one update. It works when it wants to. OnePlus has done nothing to fix this and I'm just about ready to get my money back. Just because it's working fine for you doesn't mean we're doing something wrong.
Yeah, lock screen gestures and single/double tap don't work on the latest update, but I believe they're working on fixing it, going through repro steps right now according to their bug page. I'm sure it'll get fixed soon, and it's not a make or break issue to me by any means.
What version are you guys on?
I'm on oxygen 9.5.5 T-mobile gm1915 not having any issues.
I came here to find this out. It's works randomly.
I don't know what I did, but it is working now. I have rebooted twice and it has persisted so +1 on the issue being random. I more wanted to know if others were experiencing the same behavior. Thanks for the replies!
Having tested this, It works randomly during low light situations, and all the time in normal/extreme light situations, such as outside in the sun or in a bright room.
EchoX860 said:
Having tested this, It works randomly during low light situations, and all the time in normal/extreme light situations, such as outside in the sun or in a bright room.
Click to expand...
Click to collapse
Yup. This is my issue.
So my double tap to wake completely stopped working. Single tap doesn't work at all either. Not happy at all right now. Completely stopped about a half hour ago. Reboots fix nothing.
Got my phone yesterday and rooted 10 min after opening it and took update to 9.5.3. no issues at work double or single tap to wake. Used it all night setting it up and playing with it. Lit room or dark. It's been pretty consistent so far. There is an occasional time I have to tap a second time but still work on the 2nd try.
Not sure why it's random like that. Only thing I can think of is after the update... Did any of you do a factory reset? Maybe some reminant install files are causing some issues
Eric214 said:
Got my phone yesterday and rooted 10 min after opening it and took update to 9.5.3. no issues at work double or single tap to wake. Used it all night setting it up and playing with it. Lit room or dark. It's been pretty consistent so far. There is an occasional time I have to tap a second time but still work on the 2nd try.
Not sure why it's random like that. Only thing I can think of is after the update... Did any of you do a factory reset? Maybe some reminant install files are causing some issues
Click to expand...
Click to collapse
I must be blind but how do you unlock the bootloader and root this phone? Thx
equlizer said:
I must be blind but how do you unlock the bootloader and root this phone? Thx
Click to expand...
Click to collapse
In developer options you have to turn on oem unlocking and USB defining. Have ADB and fastboot SDK installed on PC. Then while in the bootloader type... Fastboot oem unlock.
To root you need Magisk. Follow this thread
https://forum.xda-developers.com/oneplus-7-pro/how-to/guide-root-oneplus-7-pro-patched-boot-t3931205
The people here saying that it has to do with light are right. I have tested this myself. Even in fairly lit rooms, if the light isn't shining directly on the ambient light sensor, Ambient Display, double-tap-to-wake, and lift-to-wake are all completely disabled. If you shine a flashlight on the light sensor, they suddenly become available. This means that if you aren't using the phone in broad daylight or VERY well lit rooms, you have to hit the power button. Aside from the inconsistency of functionality that creates, I haven't used a power button to wake my phone in 3 years. I certainly hope they plan to fix this soon, as I'm of a mind to return the phone right now. This makes it very annoying to use on a daily basis for me. I keep my house fairly dark at night when I'm watching TV.
For some reason, OnePlus has it using the ambient light sensor rather than the proximity sensor and/or gyroscope for these features. This is not how it should work.
greyhulk said:
The people here saying that it has to do with light are right. I have tested this myself. Even in fairly lit rooms, if the light isn't shining directly on the ambient light sensor, Ambient Display, double-tap-to-wake, and lift-to-wake are all completely disabled. If you shine a flashlight on the light sensor, they suddenly become available. This means that if you aren't using the phone in broad daylight or VERY well lit rooms, you have to hit the power button. Aside from the inconsistency of functionality that creates, I haven't used a power button to wake my phone in 3 years. I certainly hope they plan to fix this soon, as I'm of a mind to return the phone right now. This makes it very annoying to use on a daily basis for me. I keep my house fairly dark at night when I'm watching TV.
For some reason, OnePlus has it using the ambient light sensor rather than the proximity sensor and/or gyroscope for these features. This is not how it should work.
Click to expand...
Click to collapse
But it seems it's different from device to device ? Double tap to wake, the lift feature and the only one tap to activate ambient light works in all light conditions for me.
Just a thought....is there an option to avoid accidental touches when in a pocket? This might explain why it works in well lit rooms and not in dark rooms.
greyhulk said:
The people here saying that it has to do with light are right. I have tested this myself. Even in fairly lit rooms, if the light isn't shining directly on the ambient light sensor, Ambient Display, double-tap-to-wake, and lift-to-wake are all completely disabled. If you shine a flashlight on the light sensor, they suddenly become available. This means that if you aren't using the phone in broad daylight or VERY well lit rooms, you have to hit the power button. Aside from the inconsistency of functionality that creates, I haven't used a power button to wake my phone in 3 years. I certainly hope they plan to fix this soon, as I'm of a mind to return the phone right now. This makes it very annoying to use on a daily basis for me. I keep my house fairly dark at night when I'm watching TV.
For some reason, OnePlus has it using the ambient light sensor rather than the proximity sensor and/or gyroscope for these features. This is not how it should work.
Click to expand...
Click to collapse
Yes! That reproduces the issue exactly for me. I am sure this is not the only one, but this thread on OnePlus support forums reports the issue.
https://forums.oneplus.com/threads/oneplus-7-pro-ambient-display-not-working.1034009/
You can see users reporting the problems inconsistency, and OnePlus seems to acknowledge the problem and they are "looking into it". Please go add your feedback as I am sure the more people that complain, the higher priority the bug will become.
.vermilion said:
But it seems it's different from device to device ? Double tap to wake, the lift feature and the only one tap to activate ambient light works in all light conditions for me.
Click to expand...
Click to collapse
This is where the inconsistency of the issue occurs... I am in my office which is lit the same way each day since I got the device (low light). The off screen gestures magically started working about 6 hours after I got the phone and were working up until this morning. Put the device close to a light source while the screen is dark, and you will see it wake up with no interaction with the screen. Screen off gestures work while in that lighting. I forced closed, cleared storage/cache of the Ambient display service and my phone now works in all lighting. It is almost as if the sensor becomes stuck in 'pocket mode' or something like that.
I noticed some funny:
Which cases are you using?
I was with the one in the box until now and everything worked fine (ambient display, double tap to wake, one tap to show fingerprint, wake when lifting up the phone,...). I'm with the Nylon case since a few minutes and since then the ambient display won't work anymore.
Maybe there's something related?
jdgesmlls said:
This is where the inconsistency of the issue occurs... I am in my office which is lit the same way each day since I got the device (low light). The off screen gestures magically started working about 6 hours after I got the phone and were working up until this morning. Put the device close to a light source while the screen is dark, and you will see it wake up with no interaction with the screen. Screen off gestures work while in that lighting. I forced closed, cleared storage/cache of the Ambient display service and my phone now works in all lighting. It is almost as if the sensor becomes stuck in 'pocket mode' or something like that.
Click to expand...
Click to collapse
Yes, you're totally right! I tested it! When light is shining on the display, my tap gestures will work again. I forced closed and cleared storage of ambient display but unfortunately it doesn't change my current situation, at the moment it won't work... ?
I can confirm this as well. In dark or even dim rooms, I must use the power button to turn the screen on, in well lit environments, I can use tap to wake. Hopefully this can be fixed in an upcoming update.
Sent from my GM1915 using Tapatalk
Am facing this from one ui2.5 wherever i turn off aod and unlock the phone display goes to the Yellow but if aod is on then everything is fine no problem but i need to turn off AOD for better battery please help me guys
I did factory and hard factory reset.
i don't think its a hardware issue am heavy user with aod turn on i can use it whole without any problem no display issue ...
Sounds like bad firmware.
Is blue light filter toggled off? Try toggling it the opposite from where it's set.
AOD should use little battery. Use at minimum manual brightness.
Have you tried the double tap to view AOD setting? Maybe you can tricked it...
blackhawk said:
Sounds like bad firmware.
Is blue light filter toggled off? Try toggling it the opposite from where it's set.
AOD should use little battery. Use at minimum manual brightness.
Have you tried the double tap to view AOD setting? Maybe you can tricked it...
Click to expand...
Click to collapse
Yes its off and tap aod working also but i dont want AOD please help me is there any way to fix?
Orayan DsouZa said:
Yes its off and tap aod working also but i dont want AOD please help me is there any way to fix?
Click to expand...
Click to collapse
If tap on AOD solves it be happy; that uses almost no battery or it should.
You could reflash and still have the same issue.
Eventually Samsung will hopefully patch it.
If it really keeps you awake at nights you could send it in for service.
Maybe someone here has a better idea though.
Can you help me i have wifi and pc both so i can give a try lets see if refreshing the frameware can fix this (and if i reflash am still gonna getting updates right)