Doze motion sensor requirement? - Nexus 5X Q&A, Help & Troubleshooting

So a lot of the day I have my 5X in my pocket, which is moving around slightly. Is there a way to force the phone to go into Doze pretty much whenever the screen has been off for more than lets say 10 minutes?
My battery life has been pretty good with Elemental X kernel, but if I could force the phone to go into Doze more often it would probably be even better.

No but it would be nice.
Sent from my Nexus 5X using Tapatalk

Assuming you are rooted, it can be done. Look for Doze or Naptime editor on PlayStore.
Sent from my Nexus 5X using XDA Forums

Pat123 said:
Assuming you are rooted, it can be done. Look for Doze or Naptime editor on PlayStore.
Sent from my Nexus 5X using XDA Forums
Click to expand...
Click to collapse
Thanks!

Pat123 said:
Assuming you are rooted, it can be done. Look for Doze or Naptime editor on PlayStore.
Click to expand...
Click to collapse
Unfortunately that is not correct, you can play with various doze timer values but the motion sensor will still wake up the phone if it moves.

maxmax0 said:
Unfortunately that is not correct, you can play with various doze timer values but the motion sensor will still wake up the phone if it moves.
Click to expand...
Click to collapse
I second that. You could even set doze aggressively at lets say 30 seconds, but it still will not doze entirely if you keep moving. No way to turn the motion sensor dependancy off yet sadly.

I hope we will see kernel hacks, xposed modules etc. to disable/tweak the motion sensor soon. The concept is so promising!

What worked for me, on stock, was -> settings -> screen -> since I am on a different language than english, its the 7 row from top, below daydream I guess. Try turning that off.

morteniversn said:
What worked for me, on stock, was -> settings -> screen -> since I am on a different language than english, its the 7 row from top, below daydream I guess. Try turning that off.
Click to expand...
Click to collapse
No, that's the setting that wakes up your screen when you pick up the phone.
It has nothing to do with doze. It does keep your phone awake longer though.

Hey guys, look at this http://forum.xda-developers.com/android/apps-games/root-doze-settings-editor-android-t3235130 also in this thread its mentioned that aggressive doze in greenify makes doze kick in even if the device is in motion.

Related

[App] Wave Control - Control your phone without even touching it

Wave Control uses the proximity sensor to detect hand gestures to control music playback (free version) and more (paid version).
Update (10/11/2012): Half of proceeds from app sales from October will be donated to Breast Cancer Research
More Info Here
Update (9/7/2012): New Tasker Support for changing profiles in Wave Control!
Update (31/08/2012): Jelly Bean users are getting force closes in the Play Store app when navigating to Wave Control -- The free version's apk is available to download on this post. Please if it's working for you in Play Store download from there.. I need the install count
I developed this on the Note and luckily it happens to have one of the best proximity sensors (at least for my uses). Works best on the Note and Galaxy Nexus. Not so great on HTC phones and SGSII due to their particular sensors (much slower).
There are 4 basic gestures:
-Hover
-1 Wave
-2 Waves
-3 Waves
By default they correspond to Play/Pause, Next, Previous, Enable/Disable Controls respectively.
In the Pro version, they can be remapped to any of those plus: Turn Screen On, Volume Up, Volume Down, Launch Google Voice Search, Alt Play/Pause (for MX Video Player), and do nothing.
Popular uses are:
When driving, don't have to take your eyes off the road to try to hit a button
When your hands are dirty so you don't smear crap all over your phone like when cooking or working on car
While on the computer, you don't have to bother waking the phone to change the song (works even when the screen is off)
I'd like to see what you guys think of it. If you have any suggestions for new features or any feedback, I'd love to hear it.
Google Play Store Links:
Free Version
Paid Pro Version
Here are a couple youtube video demos:
and more of the Pro features:
I've got an identical post in the Galaxy Note forum. I'm limiting the call for feedback to these two devices for now since they have the most responsive sensor.
Holy crap, this is awesome.
Sent from my Galaxy Nexus using xda premium
Looks good, so far. I already paid for it, in support of where I think it might go. It would be interesting to see the ability to launch other apps besides Voice Search, chosen by the user, rather than hard coded. This would open up lots of possibilities.
I think this would not work in the night or in dark rooms?!
Otherwise this is really cool!
Meep70 said:
Looks good, so far. I already paid for it, in support of where I think it might go. It would be interesting to see the ability to launch other apps besides Voice Search, chosen by the user, rather than hard coded. This would open up lots of possibilities.
Click to expand...
Click to collapse
Yeah been rolling this idea around for some time. I've been kind of lazy about implementing it. I think I'll start coding it up to include in the next update unless a bug pops up first.
Thanks for the support!
kickr said:
I think this would not work in the night or in dark rooms?!
Otherwise this is really cool!
Click to expand...
Click to collapse
If I used just the light sensor then, yeah it would have that limitation. The proximity sensor (on the same chip) uses an IR LED to light up the near object and the light sensor to detect the IR reflection.
Hows the battery usage of the app? I am presuming that app is always running in the background polling for some action in the proximity sensor.
Pat123 said:
Hows the battery usage of the app? I am presuming that app is always running in the background polling for some action in the proximity sensor.
Click to expand...
Click to collapse
For me, it's been a little under what the music player uses. The system broadcasts on state changes of the sensor so I don't have to poll. Which is quite nice.
This is phenomenal. I like the potential!
I'm a little concerned about the battery life implications of this app. OP mentions that the app works even when the screen is off. Does this mean that a constant wakelock is maintained at all times which prevents the device from going into deep sleep?
ArmanUV said:
I'm a little concerned about the battery life implications of this app. OP mentions that the app works even when the screen is off. Does this mean that a constant wakelock is maintained at all times which prevents the device from going into deep sleep?
Click to expand...
Click to collapse
I was thinking the exact same thing too. Awesome, but potentially a battery drain.
Blazing on my Nexus Prime using xda premium
ArmanUV said:
I'm a little concerned about the battery life implications of this app. OP mentions that the app works even when the screen is off. Does this mean that a constant wakelock is maintained at all times which prevents the device from going into deep sleep?
Click to expand...
Click to collapse
15israellai said:
I was thinking the exact same thing too. Awesome, but potentially a battery drain.
Click to expand...
Click to collapse
Yeah, it holds a Partial Wakelock.
If someone knows how to still receive state changes from the proximity sensor without a Partial Wakelock, please let me know!
I'm always looking for ways to make the app for energy efficient. Working with the screen off saves a lot of battery since the screen is usually the biggest consumer of power.
If you want to know for sure how much battery it uses, just try it out. If it uses more battery than you feel is acceptable for the functionality, stop using it. It's not something to leave running in the background indefinitely.
I would love a sensitivity toggle. For me, the response time seems slow.
MarksThinkTank said:
Yeah, it holds a Partial Wakelock.
If someone knows how to still receive state changes from the proximity sensor without a Partial Wakelock, please let me know!
I'm always looking for ways to make the app for energy efficient. Working with the screen off saves a lot of battery since the screen is usually the biggest consumer of power.
If you want to know for sure how much battery it uses, just try it out. If it uses more battery than you feel is acceptable for the functionality, stop using it. It's not something to leave running in the background indefinitely.
Click to expand...
Click to collapse
it doesn't have to be that way. Why not give the user an option to disable the wake lock so that the app works only when the screen is on?
Also, can you explain the Pocket mode and the "Headphones unplug exit" options? I read the description about Pocket mode but I'm not sure I understand: Is a false positive 3 wave gesture so common that there needs to be workaround for it? Furthurmore, when does the app need to be in front? If the screen is on but the app is in background, chances are the user is actually using the phone.
ArmanUV said:
it doesn't have to be that way. Why not give the user an option to disable the wake lock so that the app works only when the screen is on?
Also, can you explain the Pocket mode and the "Headphones unplug exit" options? I read the description about Pocket mode but I'm not sure I understand: Is a false positive 3 wave gesture so common that there needs to be workaround for it? Furthurmore, when does the app need to be in front? If the screen is on but the app is in background, chances are the user is actually using the phone.
Click to expand...
Click to collapse
Yeah perhaps that could be a replacement for the pocketmode.. just disable the wakelock.
Pocket Mode was a user request. I guess the person had fairly baggy pants such that the controls were getting reenabled and music started playing while they were walking. So all it does is prevent that from happening. It's raised more support questions than it addressed so it does need to change.
The headphones unplug exit is an auto exit of the app when you unplug your headphones. It used to just be the way the app behaved but I had a request to be able to disable it.
Having to have the app in front is more of a carryover from before I had the notification icon change with enable/disable. It was just to make the user see the status change. I had kinda forgotten about it.
All good points! Thanks for the feedback.
I think I'll change Pocket Mode to something like Only Work With Screen On and then just toggle the wakelock. More straight forward.
Thanks again!
Pocket Mode
Galaxy Nexus CM9 nightly, Pro version - Pocket Mode is turned on in settings, but app continue to work with screen turned off.
200mpx said:
Galaxy Nexus CM9 nightly, Pro version - Pocket Mode is turned on in settings, but app continue to work with screen turned off.
Click to expand...
Click to collapse
Yeah the current implementation only prevents a re-enable. So, until you disable it, it'll still work. I'll be changing that soon to avoid confusion.
------
So this fun... it still works without the wake lock. Now I'm thinking back to why I put it there in the first place.
I think I had read that on some phones it's required to still receive sensor data, but not all. So I guess my Note doesn't require it. I get down into deep sleep without the wakelock (as long as music isn't playing) and am still able to start music back up. Sweet.
Now how to word the option to not confuse non devs....
MarksThinkTank said:
Yeah the current implementation only prevents a re-enable. So, until you disable it, it'll still work. I'll be changing that soon to avoid confusion.
Click to expand...
Click to collapse
It will be great to have real Pocket Mode - if Hover lasts more that 1 sec (or other time, better make it adjustable in settings) turn on real Pocket Mode - disable controls
---------- Post added at 01:53 PM ---------- Previous post was at 01:44 PM ----------
MarksThinkTank said:
I think I had read that on some phones it's required to still receive sensor data, but not all. So I guess my Note doesn't require it. I get down into deep sleep without the wakelock (as long as music isn't playing) and am still able to start music back up. Sweet.
Now how to word the option to not confuse non devs....
Click to expand...
Click to collapse
Great news, hope it is the same for Nexus. As for the wording - "allow deep sleep" maybe?
200mpx said:
It will be great to have real Pocket Mode - if Hover lasts more that 1 sec (or other time, better make it adjustable in settings) turn on real Pocket Mode - disable controls
---------- Post added at 01:53 PM ---------- Previous post was at 01:44 PM ----------
Great news, hope it is the same for Nexus. As for the wording - "allow deep sleep" maybe?
Click to expand...
Click to collapse
Yeah that might a good way to activate it.. hmm.
I ended up just settling on Wake Lock.. see how many questions I get about it.
I just posted V1.50:
-Wake Lock as an option, default is off
-Pocket Mode now disables everything when the screen is off
-Tweaked the timing for the SGSII
-Fixed a bug for the play/pause on MX Video (forgot to put this in the app's changelog)
-Pro gets Screen Off command
Thanks for great feedback guys! It's helping me quite a bit.
Still to come:
For Pro: Launch any installed app
Adjustable timing for the gesture window
Ingenious.
Sent from the future.
This is awesome.
Sent from my Galaxy Nexus

Ambient Display Fix?

If any of you clever developers / tinkerers know of a 'lite' app to use to fix the non working ambient display issues I.E. pick up to wake doesnt work, a recommendation would be soooo welcome. I looked at apps like gravity etc in the play store, but they are a. rather large and b. the permissions they require are a bit suspect. Thanks in advance
Did not know something was wrong.
So I pick it up it does not wake up, I think is a good thing. When I pick it up and I want a display, I press something and have no problem with that.
This maybe one reason the Pixel XL has an excellent battery life.
At the suggestion of another user here, I installed https://play.google.com/store/apps/details?id=com.tomer.alwayson
It's reminiscent of Samsung's version but has a lot more customisability. There's also an option to turn of the display completely when the proximity sensor is activated. All of the permissions make perfect sense fit the features you select and it doesn't cause a terrible battery hit.
raynan said:
At the suggestion of another user here, I installed https://play.google.com/store/apps/details?id=com.tomer.alwayson
It's reminiscent of Samsung's version but has a lot more customisability. There's also an option to turn of the display completely when the proximity sensor is activated. All of the permissions make perfect sense fit the features you select and it doesn't cause a terrible battery hit.
Click to expand...
Click to collapse
Cool app, appears to hit battery fairly hard in my test.
bmtbandit said:
Cool app, appears to hit battery fairly hard in my test.
Click to expand...
Click to collapse
That's why I said it wasn't terrible... Lol. It's definitely not great on your battery, but I can still make it through a day with quite heavy usage.
Ambient display is only meant to flash notifications on the screen in black and white for a short period then turn off. As far as I know, the pick up and bump to wake is an OEM added feature that Motorola, Samsung, and likely others added, but it isn't in stock Android.
Sent from my Pixel XL
imnuts said:
Ambient display is only meant to flash notifications on the screen in black and white for a short period then turn off. As far as I know, the pick up and bump to wake is an OEM added feature that Motorola, Samsung, and likely others added, but it isn't in stock Android.
Sent from my Pixel XL
Click to expand...
Click to collapse
On the Pixel XL it flashes only once which i find to be a disappointment. Also on the Nexus 6 , 6P and 5X the notification/time flashed once upon picking up or moving the phone a bit. This is not enabled on the Pixel models for some reason.
AstroDigital said:
Did not know something was wrong.
So I pick it up it does not wake up, I think is a good thing. When I pick it up and I want a display, I press something and have no problem with that.
This maybe one reason the Pixel XL has an excellent battery life.
Click to expand...
Click to collapse
I'm the same way.
But obviously the OP feels different so why bother to post.
This feature does not even work for me at all (but I am able to get the light to pulse). After talking to pixel support for about 30 minutes they did confirm that Ambient display has an engineering problem they are currently working on.
kmdavisjr said:
This feature does not even work for me at all (but I am able to get the light to pulse). After talking to pixel support for about 30 minutes they did confirm that Ambient display has an engineering problem they are currently working on.
Click to expand...
Click to collapse
Damn !! I was going nuts trying to figure out why this phone was not acting like my Nexus 6. lol I loved the Moto display then had to end up liking the Nexus 6 version afterwards. Then this Pixel XL only flashing the notice once then never again was aggravating. and of course no good app on the play store to emulate this function with 7.1 lol
well I hope this engineering problem can be fixed with software. :silly:
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.
I added a few other paid features for pulsing at an interval, wave to unlock, and battery percentage display on the ambient display.
I would love to have a few beta testers for the extra features, as it's a work in progress. Message me if you'd like a free code to redeem for the paid features.
Check it out: https://play.google.com/store/apps/details?id=com.compass.ambiturner

customize ambient display?

any way to edit what's on the ambient display?
would love to get a battery% on there.
Agreed. That would be nice.
Sent from my Pixel 2 XL using XDA Labs
I don't understand why Google doesn't put battery percent on the screen I would also like to be able to adjust the size
Have there been any updates on this subject now that we have the working root and TRWP?
Really love to have options to change clock colors and display battery percentage.
mngdew said:
Have there been any updates on this subject now that we have the working root and TRWP?
Really love to have options to change clock colors and display battery percentage.
Click to expand...
Click to collapse
Nope, not yet...
I want to know why the font changes. Sometimes its tall & skinny other times, short & fat.
winstonbyrd said:
I want to know why the font changes. Sometimes its tall & skinny other times, short & fat.
Click to expand...
Click to collapse
In order to prevent burn-in.
mngdew said:
In order to prevent burn-in.
Click to expand...
Click to collapse
Isn't that (also?) why it moves around?
It would be nice if Google could do something simple like say, have an automatic off setting so it's not wasting power during the night.
Must Samsung lead the way with everything Google does? Seriously?
TokyoGuy said:
It would be nice if Google could do something simple like say, have an automatic off setting so it's not wasting power during the night.
Must Samsung lead the way with everything Google does? Seriously?
Click to expand...
Click to collapse
So you'd like to see ambient display start but only run for a set amount of time? I know I've seen it get really dim, dimmer than when it starts
winstonbyrd said:
So you'd like to see ambient display start but only run for a set amount of time? I know I've seen it get really dim, dimmer than when it starts
Click to expand...
Click to collapse
Yes. It's something Samsung has had for ages now. I mean Google took the time to create a scheduled system for blue light reduction, yet couldn't bother to do the same with Ambient Display. It's either on 24-7 or off.
The best solution I've found is to put a piece of paper or such over the top sensor at night so the phone will think the device is in a pocket and turn off the screen.
TokyoGuy said:
paper or such over the top sensor
Click to expand...
Click to collapse
The best ideas are the easiest sometimes. I stay away from Samsung. I can't stand trying to figure out where they put stuff at. Why change menu structure even. I've tried several times because of the awesome hardware but never make it past about 2 months.
byproxy said:
any way to edit what's on the ambient display?
would love to get a battery% on there.
Click to expand...
Click to collapse
Want Ambient Display to show battery level? Star this issue and let Google know (but don't comment)
http://www.androidpolice.com/2017/1...how-battery-level-star-issue-let-google-know/
If you comment you *will* get spammed by Google notifications, just Star, do NOT comment. (don't ask how I know )
Google Issue Tracker
https://issuetracker.google.com/issues/62319884
Pkt_Lnt said:
Want Ambient Display to show battery level? Star this issue and let Google know (but don't comment)
http://www.androidpolice.com/2017/1...how-battery-level-star-issue-let-google-know/
If you comment you *will* get spammed by Google notifications, just Star, do NOT comment. (don't ask how I know )
Google Issue Tracker
https://issuetracker.google.com/issues/62319884
Click to expand...
Click to collapse
Cheers for the tip! :good::good: We've done my part now let's wait
I just got my pixel 2 XL and can't believe google has not enabled this already, it's a very basic item and a must have for many.
Pretty pathetic, hopefully once roms start dropping this will fix many shortcomings on the device.
As mentioned in an different thread, using Accubattery will display the battery level on the AOD. In my brief testing, Google reported the app as not consuming any measurable amount of power overnight, so no appreciable battery draw. Also, there is a root app from an XDA RC that displays the music you are currently playing/streaming on to the AOD. This is different from the existing "now playing" feature already built in, and at the end of the article HERE it says that almost any "text" can be displayed on the AOD. It's not the built in Google controls for the AOD we are expecting, but there is hope for customization for those with root, and in the coming ROMs.
Well, got this notice, just don't know what "Changed" (shrug)
https://issuetracker.google.com/issues/62319884
Changed
_______________________________
Reference Info: 62319884 [Feature request] Show battery level on active/ambient display
component: Android Public Tracker > Android Developer Preview
status: Assigned
reporter: [email protected]
assignee: [email protected]
cc: [email protected], [email protected]
type: Feature Request P4 S4
blocked by: 62436205
hotlist: Dev-Preview-O, Platform
Generated by Google IssueTracker notification system
You're receiving this email because you are subscribed to updates on Google IssueTracker issue 62319884 where you have the role: starred.
Click to expand...
Click to collapse
Pkt_Lnt said:
Well, got this notice, just don't know what "Changed" (shrug)
Click to expand...
Click to collapse
It just means there was another comment left. You will be spammed eternally! :silly:
v12xke said:
As mentioned in an different thread, using Accubattery will display the battery level on the AOD. In my brief testing, Google reported the app as not consuming any measurable amount of power overnight, so no appreciable battery draw. Also, there is a root app from an XDA RC that displays the music you are currently playing/streaming on to the AOD. This is different from the existing "now playing" feature already built in, and at the end of the article HERE it says that almost any "text" can be displayed on the AOD. It's not the built in Google controls for the AOD we are expecting, but there is hope for customization for those with root, and in the coming ROMs.
Click to expand...
Click to collapse
After I read your post I downloaded accubattery and it works quite well. Thanks for the heads up
I hope they enable the ability to keep the icon on the lockscreen while removing it from the notification panel.. that would be perfect.
sent from my Pixel 2 XL or Note FE

"AOE" Notification Light Alternative

This app is a great substitute for OnePlus 6T and no LED. Allows you to get colorful notifications from your favorite apps.
https://play.google.com/store/apps/details?id=com.used.aoe
App Developer: jeaddh alworood
Tips and Tricks: Things that work for me
1. Battery Optimization don't optimize
2. Do not check my lock screen as background. ( helps get customized app color )
PapaMag said:
This app is a great substitute for OnePlus 6T. Allows you to get colorful notifications from your favorite apps.
https://play.google.com/store/apps/details?id=com.used.aoe
Click to expand...
Click to collapse
How much batery it eat per hour?
efkka23 said:
How much batery it eat per hour?
Click to expand...
Click to collapse
Very little, I guess that would vary depending on the duration and the amount of notifications.
Couldn't get it to work
Doesn't work for me either
meljohnsony2k said:
Couldn't get it to work
Click to expand...
Click to collapse
Augustin79 said:
Doesn't work for me either
Click to expand...
Click to collapse
Make sure you have the app set to Don't Optimize if you haven't already. I'm not sure why it isn't working for you and not sure what you have for set up.
It is an amazing app!
I'm using this, had figured it out even before this thread.
Turn on 'New Notifications' in Ambient Display and also do not optimise the app.
It works. And it's the coolest alternative to a notification LED.
efkka23 said:
How much batery it eat per hour?
Click to expand...
Click to collapse
On my 6T, it drained 6% in 3 hours..also, fingerprint unlock is not smooth with this app.
Sometime noticed issues with auto brightness turned off automatically after unlocking screen.
Fir3lordZuk0 said:
On my 6T, it drained 6% in 3 hours..also, fingerprint unlock is not smooth with this app.
Sometime noticed issues with auto brightness turned off automatically after unlocking screen.
Click to expand...
Click to collapse
Mine uses little or no battery at all. Right now I have been up for 13 hours and AOE doesn't even register and I have been getting all my notifications
Use it for 2 days because I thought plus beat not working anymore ( I accidentally turn off lock screen notifications).
AOE working well but lack of feature I want - battery full notification.
Now back to plus beat.
Paresh Kalinani said:
It is an amazing app!
I'm using this, had figured it out even before this thread.
Turn on 'New Notifications' in Ambient Display and also do not optimise the app.
Click to expand...
Click to collapse
Just installed this and it appears to be working. This is the first app that I see doing what I wanted (a very unobtrusive way of telling if notifications have arrived).
Did not need to to activate "New Notifications" under Ambient Display for it to work. Are you sure it's needed?
I'm not managing to customize the color of the colored stripes according to the app sending a notification. Not that I care too much, on Nexus 6P LED color was mostly irrelevant to me. I just needed a visual cue that something needed my attention if I missed the audio one.
gorman42 said:
Just installed this and it appears to be working. This is the first app that I see doing what I wanted (a very unobtrusive way of telling if notifications have arrived).
Did not need to to activate "New Notifications" under Ambient Display for it to work. Are you sure it's needed?
I'm not managing to customize the color of the colored stripes according to the app sending a notification. Not that I care too much, on Nexus 6P LED color was mostly irrelevant to me. I just needed a visual cue that something needed my attention if I missed the audio one.
Click to expand...
Click to collapse
I didn't do anything with new notifications either, but I am glad it's working for you.
removed
I got it working but it times out after 1 minute. I have my display set to sleep after 1 minute of inactivity but if this follows that rule it's kind of useless for notifications.
Maybe I'm missing a setting?
Edit: found the setting I was missing.
bp328i said:
I got it working but it times out after 1 minute. I have my display set to sleep after 1 minute of inactivity but if this follows that rule it's kind of useless for notifications.
Maybe I'm missing a setting?
Edit: found the setting I was missing.
Click to expand...
Click to collapse
What setting? I also see this behaving strangely. It seems that, as other apps, it gets killed in the background even if one opts not to battery optimize it.
OP behaves exactly like Apple in this regard: they get to decide how I should use *my* smarphone.
gorman42 said:
What setting? I also see this behaving strangely. It seems that, as other apps, it gets killed in the background even if one opts not to battery optimize it.
OP behaves exactly like Apple in this regard: they get to decide how I should use *my* smarphone.
Click to expand...
Click to collapse
The setting at the top when you go into select apps
gorman42 said:
What setting? I also see this behaving strangely. It seems that, as other apps, it gets killed in the background even if one opts not to battery optimize it.
OP behaves exactly like Apple in this regard: they get to decide how I should use *my* smarphone.
Click to expand...
Click to collapse
These right here let it run indefinitely. I tested last night and it was telling me I had a notification until I actually dismissed it after 30 minutes.
PapaMag said:
The setting at the top when you go into select apps
Click to expand...
Click to collapse
bp328i said:
These right here let it run indefinitely. I tested last night and it was telling me I had a notification until I actually dismissed it after 30 minutes.
Click to expand...
Click to collapse
Yeah, I set all that. Results have been inconsistent as far as working after long inactivity is concerned.
I wish OP had thought of baking something similar in their OS, when they decided to take away the LED.
gorman42 said:
Yeah, I set all that. Results have been inconsistent as far as working after long inactivity is concerned.
I wish OP had thought of baking something similar in their OS, when they decided to take away the LED.
Click to expand...
Click to collapse
I agree, I wish OnePlus had baked something like this into the stock ROM. My second screenshot doesn't look like it posted for some reason so here it is.
5% battery usage. Not cool. This with "Stable" edge styling, which should be the best for battery.
Uninstalling.

[No root] Finally, an app to enable native Lift To Wake (lockscreen)

OnePlus Lift To Wake
TL, DR. Where is the download?
github.com/xubowenhaoren/OPLiftToWake/releases
What does it do?
This is a simple app to enable Lift To Wake for OnePlus 7 series.
It is not the Lift To "Ambient Display" in the stock Settings App; it enables the true Lift To "Lock Screen" like other phones.
Why do I want this feature?
You've probably already known that OnePlus, in Android 10, reveals the notification content on the lock screen after Face Unlock.
But to see those notifications, you either need to:
1. Pick up the phone and unlock with your finger at the Ambient Display. A two-step process.
2. Pick up the phone and press the power button. Again, a two-step process.
Now with the app, you can pick up the phone and the lock screen immediately shows up.
How does it do this?
It listens to the native system sensor (`oneplus.sensor.pickup`). In my testing, it is very power efficient.
What phones does it support?
I have tested this on a OnePlus 7T with Android 10. It should also work with other OnePlus 7 series.
Note that for earlier OnePlus phones, there is also a [pickup sensor] but with a different name.
If you want this app to work with earlier OnePlus phones, you should try replacing this line in `Utils.java` with the correct sensor name:
```
mSensor = Utils.getSensor(context, mSensorManager, "oneplus.sensor.pickup");
```
How do I use it?
You probably want to turn off the Ambient Display first.
After installing the app, turn on the "Lift To Wake" toggle.
You should also consider turning off the battery optimization of the app for a more consistent background performance.
Do I need Magisk for this?
No, it is root-free.
Credits
Much of the code is from the Lineage OS team.
Other code references can be found in the code comments.
This is brilliant!! Appears to be working great... Will provide an update on power efficiency in a while
How do I install
Works great on OP7 pro ?.
Jdhal21 said:
How do I install
Click to expand...
Click to collapse
github.com/xubowenhaoren/OPLiftToWake/releases
Works so well with face unlock auto unlock and PIXEL AOD mod.
is there any way to make the screen lit up time response a bit faster ?
umair shaikh said:
Works so well with face unlock auto unlock and PIXEL AOD mod.
is there any way to make the screen lit up time response a bit faster ?
Click to expand...
Click to collapse
I am afraid no. That's determined by the system sensor.
bwx074 said:
I am afraid no. That's determined by the system sensor.
Click to expand...
Click to collapse
Ahh. Good work tho
This works great. Any way to get it to run automatically after a reboot? I have to enable after every reboot.
Thanks, again!
GeneFitz23 said:
This works great. Any way to get it to run automatically after a reboot? I have to enable after every reboot.
Thanks, again!
Click to expand...
Click to collapse
I've made efforts to enable this service after reboot. It wasn't successful, however. Oxygen OS has a strict whitelist of apps that may start automatically after a reboot. One way to work around this is to use Accessibility Service, but that could cause more battery drain. Lol, I think it's better to leave things this way.
Very useful app, this was my most demanding functionality after bought OP7T
Thank You For this
Can u add to the store please?
Nice app. Thnks
It works great for op7t, but doesn't work for Op7.
On op7, the screen lights up, but faceunlock is not available.
You need to click on faceicon first to work (screens in atach).
But, if you unlock op7 via the power button (second screen in atach) - faceunlcok works great!
Is there any solutions for op7?
Works as it should! But screen wakes a lot while inside the pocket.
Very useful mod, thx for that
Only issue that it doesn't work anymore after some hours,i need to start the app again to get it working again for a few hours. I already have disabled battery optimisation. Any ideas to fix this?
Regards ysco..
Hello, how can i make it work on Oneplus 8?
This app is great, something I've been looking for a while. But, it doesn't work consistently. It stops after a few hours after I enable it. Then I have to open the app and then it will 'realize' the switch is still on and start working again. Is there a solution for this?
Thanks bud!! It works like a charm!!
Looks really helpful.
Works good also.
Thanks.
Tapatalk via OnePlus 7T

Categories

Resources