[APP/OPEN SOURCE]Screen Standby ♯ Root [2.0]-Screen off while keeping device active - Android Apps and Games

[APP/OPEN SOURCE]Screen Standby ♯ Root [2.0]-Screen off while keeping device active
SCREEN STANDBY ♯ ROOT 2.0
TURN OFF SCREEN AND AVOID OVERHEATING PROBLEM FROM PROLONGED STREAMING/GAMING OVER HDMI / MHL | DOWNLOADING DATA OVER WIFI
SAVE YOUR SCREEN AND BATTERY WHILE PHONE IS STILL RUNNING!
OPEN SOURCE!
AUTO SCREEN OFF / ON WITH HDMI CONNECTION / DISCONNECTION
Git Repo: https://github.com/nkahoang/screenstandby
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Remote Controller Feature - Public Review
Setting Wizard
Search Plugin
Selectable UI
Outgoing call automator
​
TURN YOUR SCREEN INTO TOUCHPAD, NO NEED FOR BUYING AN EXTERNAL MOUSE!​REMOTE CONTROLLER FEATURE!​SCREEN STANDBY IS NOW LIVE ON GOOGLE PLAY STORE!
The app is published under the name "Screen Standby ♯ Root"
VIDEO CLIPS SHOWCASING THE APPS:
SEE NEW FEATURES IN ACTION!
SEE APP IN ACTION! (thanks Doctor.Krouch so much for the awesome clips)
All About Android - Episode 86 with a short review of Screen Standby
XDA TV Review of Screen Standby!
CooLoserTech·Top 10 Best Apps of the week # 171
Click to expand...
Click to collapse
INTRODUCTION
Hi everyone,
This is originally for HTC One X, however, I have ported it to the Galaxy Nexus and now it could work on all devices! (Galaxy S3 / Moto Razr / etc). "Screen Standby" will completely turn off the backlight while keeping the phone running for MHL / HDMI streaming|gaming. That means you can now watch movie / play games on big screen and can still turn off the screen (touch screen still works!).
Click to expand...
Click to collapse
ROOT REQUIRED (Non-root method also available but not as effective & battery saving as root)
FEATURES
- Switch off the screen temporarily without actually putting the phone into 'sleep mode'. The phone is still running! It saves your battery, avoids heating to prolong battery life
- Since 1.96, screen can be optionally turned into touchpad!
- It has a nice little widget that let you quickly turn the screen off from your homescreen
- Since version 1.5 beta 2, shaking your device will temporarily toggle between complete screen off and lowest brightness level (so that you can perform quick action without playing a blind guessing game)
- Non-root method now available with 1.98 Beta 7
- One two dimmer: Turn off screen automatically after an idling time (no user interaction)
- Simple interface
Click to expand...
Click to collapse
WHY?
This little app will temporarily turn off screen backlight, however, unlike putting the phone to sleep, the phone is kept running. It is perfect for keeping the phone from heating from prolonged HDMI streaming over Medialink HD or MHL connection (the screen is off yet image/movie/games continue to be streamed) / or wifi data downloading, etc.
HOW DOES IT WORK?
It attempts to perform various actions (cutting screen voltage / brightness / light switch / writing a blank image to frame buffer, etc)
(Since 1.5, the voltage method is temporarily disabled)
For some devices, the screen may shutter a bit if Automatic Brightness is turned on. However, the app will automatically detect it and put the backlight into sleep again. So if you want to avoid the problem, set Automatic Brightness to false.. Since 1.7, enable auto brightness handling in app setting helps preventing this flickering
HOW TO TURN ON THE SCREEN AGAIN?
+ Click on the app notification on your status bar (since version 1.3) or
+ Simply put the phone into true sleep (short press power button) then turn it on (power button again)
+ Temporarily lid the light a bit by shaking the device (since 1.5b2, enable it in Menu -> Settings)
+ If you can't turn on using any of the above methods, press emergency button (in main app interface) to turn on / or use 2 by 1 widget
Click to expand...
Click to collapse
SCREENSHOTS (Updated for version v1.97)
Installation
Install as normal apk No big deal
Remember, install and use as your own risk, even though I can't think of any damage this little app can cause to your phone
Click to expand...
Click to collapse
Changelogs:
ßeta 2 Changelog:
Add toggable UI: Metro and Android Dark Holo (in Settings -> Extra)
New feature: Outgoing call automator !
First ßeta Changelog:
- New! Setting Wizard to help user quickly and easily set up Screen Standby. Simply select your known-supported device (the list is expanding!
Please help me) and your use-case (Streaming movie / Playing ingress / Playing Youtube etc) and the wizard will automatically select the optimised preset for you!
- New! Screen Standby Search Plugin to help automate Screen Standby from Search key (long press search hardware-key or softkey) or Google Now gesture (swipe up from Home softkey on Jellybean device). The plugin can now open Screen Standby interface, activate / deactivate / toggle screen off or launch Remote Controller
- Added better Root & BusyBox checker and helper
- Added new Tasker intent to control screen standby:
com.nkahoang.screenstandby.action.TOGGLE : to toggle screen on and off automatically
com.nkahoang.screenstandby.action.REMOTE_CONTROL: to launch Remote Control from tasker
- Added new option to broadcast an intent to Tasker when HDMI is detected (go to my app's settings -> HDMI Detection -> Enable broadcast on HDMI Connection/Disconnection. Specify intent action (case-sensitive) for each case. Go to tasker, add New System Event -> Intent Received, type exactly the action intent you provided in Screen Standby). The best part is, HDMI Intent can also be broadcast without activating Screen Standby (yeah, so you can use SS as a HDMI sensor for tasker)
- Added ability to use Remote Controller with Wifi-Direct (if a warning message is shown, just click 'Continue Anyway')
Optimizations:
- Continued optimisation for Nexus 4
- Added wake-lock to One Two Dimmer
- Slightly tuned sensors
From user report:
Normally, with the same amount of time watching movie, battery drain drops from 30% down to just 2%!!!!!!!!!!!
Click to expand...
Click to collapse
Please report bugs / feedbacks / suggestions.
To help me solving your issue faster, since version 1.31, you may want to open the app, hit "Menu" key -> Print debug info. It will then generates a log file containing the required information. Please send that file over pm to me. Thank you
Click to expand...
Click to collapse
Special thanks to:
- ppmeis (helps with S2, now S3 / Transformer and lots of other stuffs)
- winsettr (helps with Galaxy Nexus compatibility and constant reports)
- mnsk (helps with his Sony and Iconia)
- cocatriz (helps with S2)
- TheDarkLux (helps with Galaxy S3)
- evilmtv (helps with problems on GB devices)
Coffee buyers:
Styles Vancleave
- agronick from AppRadio / ARLiberator forum
- jjwatmyself (and also thanks for his mention of my app on his thread)
- jdbaldi
- jhanson
- MichaelMotes
Youtube clip:
- Doctor.Krouch
Click to expand...
Click to collapse
Tutorial: Setup app to work with tasker / Llama
Follow the instruction of this post:
http://forum.xda-developers.com/showpost.php?p=33073452&postcount=92 (Tasker)
http://forum.xda-developers.com/showpost.php?p=33073452&postcount=565 (Llama, thank Buzzthebuzzsaw)
DOWNLOAD
Stable version of app can be downloaded in attachments section on through Google Play Store. In addition, this thread will receive beta / experimental build in the future.
Archived build (1.1 to 1.96) can be downloaded from here
Click to expand...
Click to collapse

I like this great idea
Sent from my SPH-L710 using xda premium

Good idea finally something like this
Sent from my SGH-T989 with Darthstalker

Awesome app. I don't know if this makes sense, but on my Galaxy Nexus the previous version was much quicker to turn the screen off...
Sent from my Galaxy Nexus using Tapatalk 2

OCT 14 2012. App updated.
UI rework + Add notification to quickly turn off screen without put phone into sleep (see screenshot)
winsettr said:
Awesome app. I don't know if this makes sense, but on my Galaxy Nexus the previous version was much quicker to turn the screen off...
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
It should be slower the first time you use it only (since now it will manually find screen device for every phone, not hardcoded like before)

Working on TF300T almost perfect. The only "issue" is that when I turn off display, keyboard dock doesn't work (touchpad and usb works but not keyboard).
It doesn't work on my sgs2...I'll try at home with mhl connected and I'll report again. Nice work man. A must have app!
Confirmed it doesn't work on SGS2. It turns brightness at lowest level without standby screen.
Device Info:
Samsung Galaxy S II GT-9100 International
OS Version: 4.0.4 ICS (tested on GB 2.3.6 too)

Awesome app, one thing is that is a bit of a guessing game when trying to select apps and actions inside apps. Could be a tiny bit higher, so we can see at least barely what we are tapping on?

ppmeis said:
Working on TF300T almost perfect. The only "issue" is that when I turn off display, keyboard dock doesn't work (touchpad and usb works but not keyboard).
It doesn't work on my sgs2...I'll try at home with mhl connected and I'll report again. Nice work man. A must have app!
Confirmed it doesn't work on SGS2. It turns brightness at lowest level without standby screen.
Device Info:
Samsung Galaxy S II GT-9100 International
OS Version: 4.0.4 ICS (tested on GB 2.3.6 too)
Click to expand...
Click to collapse
Please download the latest version (1.31) which have print debug info ("Menu" -> "Print debug info") and sends the file it generates over to me. I don't have either of your devices so this may be the only way I can fix that bug.
jgaf said:
Awesome app, one thing is that is a bit of a guessing game when trying to select apps and actions inside apps. Could be a tiny bit higher, so we can see at least barely what we are tapping on?
Click to expand...
Click to collapse
Ugh, i'm not sure what you mean. Can you explain it a bit clearer? If it is possible then I shall implement that.

I think he's asking if you can make it have a little bit of light so he can barely see the screen. When you are using the phone with a TV, you have to guess where to touch the screen.
Perhaps an adjustable brightness setting or just a barely on setting would be helpful for some.

That really defeats the purpose of this app... If you need that functionality, look into Screen Filter or something similar that will lower the brightness but keep the screen on.
Sent from my Galaxy Nexus using Tapatalk 2

How about this:
Pressing the button will now toggle(circle) between three modes:
- Brightness On (app not functioning)
- Lowest brightness possible (but not completely off) and
- Zero brightness (completely turn off screen)

I HAVE BEEN LOOKING FOR THIS.!!!!! THANK U.! LOL
Sent from my PG86100 using xda app-developers app

nightwinn said:
I think he's asking if you can make it have a little bit of light so he can barely see the screen. When you are using the phone with a TV, you have to guess where to touch the screen.
Perhaps an adjustable brightness setting or just a barely on setting would be helpful for some.
Click to expand...
Click to collapse
Yeah this what I meant. Specially when playing games it is very hard, for stuff that can't be mapped into a gamepad
winsettr said:
That really defeats the purpose of this app... If you need that functionality, look into Screen Filter or something similar that will lower the brightness but keep the screen on.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
The thing with screenfilter is that it lowers the brightness on the TV too.
I just had another idea, don't know how complicated it would be to implement though. Would it be possible to add "an always on top or floating button" that would toggle the screen on and off. For example there's an app for exploiting games called Game Guardian, this app has a very small, semi transparent and movable icon that lets you access it from anywhere. This way when we need to open mxplayer and select a movie from our library we can easily turn the lights back on and then turn them off after selecting the video.
Sent from my ASUS Transformer Pad TF300T using Tapatalk 2

nkahoang said:
Please download the latest version (1.31) which have print debug info ("Menu" -> "Print debug info") and sends the file it generates over to me. I don't have either of your devices so this may be the only way I can fix that bug.
Click to expand...
Click to collapse
Here's the log. I hope it'll help to find the issue.

Hi, i have a I9300 SGS3 and i doenst work.
Here's the debug log.

TheDarkLux said:
Hi, i have a I9300 SGS3 and i doenst work.
Here's the debug log.
Click to expand...
Click to collapse
Your log has nothing inside! Is it because you didn't grant root access to my app? Try uninstall / reinstall and answer "Allow" when superuser/supersu asks you.
ppmeis said:
Here's the log. I hope it'll help to find the issue.
Click to expand...
Click to collapse
Sent you a pm for beta version.

nkahoang said:
Your log has nothing inside! Is it because you didn't grant root access to my app? Try uninstall / reinstall and answer "Allow" when superuser/supersu asks you.
Click to expand...
Click to collapse
It has, i tried uninstall/reinstall now, with same result. Log is empty
It is in my SuperSU app an has root access.
Here the log of SuperSU, because the app is writing anything in the log.
first log:
find /sys/devices -name 'brightness'
exit
sh: <stdin>(1): find: not found
second log:
find /sys/devices
sh: <stdin>(1): find: not found

BIG UPDATE: VERSION 1.4 BETA
+ Now have another way to turn off screen: SET SCREEN VOLTAGE TO ZERO VOLT. With this we have some bonus advantages:
- Much faster turn off time
- No more shuttering with auto brightness!
- Should work with AMOLED Devices (Galaxy S2 / S3 owners, please report!)
However, you should upgrade only if previous version does not work for your devices since this method is still a bit unstable.

Thanks a lot mate, now it works
Confirm working on SGS3.
Bug Report (1):
I have the app VirtualSat.eu to watch tv. When i'm in the app menu, display is off/black (tv still on) when i then select to watch something, the display powers on again.
Bug (2):
after the first operation, i pushed the home button (display powers off again), then scrolled down the notification bar to disable screenOff, it disappears from the notification bar. But display is still off. So i pushed the power button to get to the lock screen (this method is working).
Edit(1)
Tested a bit more, (for bug 2): If i reopen the app an repush on the screen off button (to get the app back in the notification bar), and then tried to reactivate the display, the display powers on for about 2-3 seconds and then again powers off.
For Bug(1): Tried another TV app (Zattoo) there the display stays off if i select a station to watch. So i think it's the app who uses a command that gets the display back on.
But in anyway thanks for your work. Will test with some other apps.

TheDarkLux said:
Yeah thanks a lot mate, now it works Big up
Click to expand...
Click to collapse
Can you test your S3 with MHL as well? I want to make sure that my method guarantees MHL and HDMI works

Related

[App] Wi-Fi Keep Alive 1.4.2 - Don't let wi-fi turn off when screen goes off

UPDATE: Potential work arounds for folks having problem in sleep policies not working correctly have been put in version 1.2.0 onwards. Please redownload to test and let me know. Read this for more details.
IMPORTANT: If you are having wi-fi issues in sleep even after using this app, please let me know the following
1. Device/Phone Name and Rom version
2. What is the app version that you have?
3. Did you try all the combinations of various workarounds in the advanced options?
4. Can you please enable logging in the advanced options and send me logcat dump for this duration
I did an app to change the wi-fi sleep policy quickly so that you can control whether wi-fi is disconnected or not whenever screen turns off. What's more is that I also did a widget for it, so you can just tap on it to cycle through the various sleep policies.
I hope this can help some people out who get frustrated when their download breaks off as the screen goes down or worse, it switches to slow and expensive mobile data connection which runs your account balance down in a jiffy before you realize it..
You can look for more details on this page (and also report any bugs or suggestions):
Android Wi-Fi Keep Alive
Just try out this app by searching for "wi-fi keep alive" in market or scanning this barcode:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Note: Many would wonder what would be the need of this app when we have a setting for this built-in in android. These are the reasons:
Yes, that is true but as I mentioned earlier in the thread. The reasons to do this app are:
1. Quick access. The setting for this is buried too deep and I wouldn't like to have this set to "never" (e.g.) all the time. I'd like to do it in a tap whenever I'm doing something that doesn't require me to look at the screen but wi-fi needs to be on. You can just tap on the widget and on you go. Otherwise you have most of the settings anyways in Android (for wi-fi/gps/sync/etc), why would you need widgets for them?
2. The android in-built settings don't work always. Although the app provides pretty much the same options to the user as the in-built setting provides but I'm trying to include work-arounds in the back end that would really make it work.
TODO/Coming Soon
* Configurable pinging interval
* Suggestions welcome
Known Issues:
1) Known issue with “on when plugged in” policy is that if you are already plugged in while changing anything in the app, workarounds don’t take place until you plug out and plug in again
2) This is not a known issue with the app but with wi-fi on some devices itself that it stops working on leaving it idle even if the phone is not sleeping. This is not the purview of this particular app and it might not solve it, although few folks say that this app helps in this scenario as well.
3) Some routers/settings are also known to cause issues with wi-fi in sleep. The correct pattern has not been identified yet but many people report that they can stay connected to wi-fi in sleep with some routers but with other routers, it fails. (Work Around 3 might help in such cases but not always)
4) While adding widget, the main app screen will pop-up for widget configuration. You need to choose any one policy (even if desired one already selected) otherwise widget will not be added
Notes:
1) Please press Menu key in the app and select “Help” to see details about policy and workaround options.
2) Please report any bugs here along with the above mentioned details (labeled IMPORTANT so that i can fix the issues.
Changelog:
02-August-2010 -> 1.4.2
* Better looking & smaller icons (including widget). Thanks a lot to "rori~" for designing the icons Do checkout his other work in the forum. He has designed a lot of nice morphs/themes etc (Note: If the new icons don't appear on existing widget, please delete the widget and add it again)
* Space optimization so that the app takes lesser space on phone.
22-July-2010 -> 1.4.1
* Fixed a bug that can cause wi-fi to keep reconnecting in quick succession in certain situations.
22-July-2010 -> 1.4.0
* Added workaround 4 (Re-associate automatically with access point if all else fails. Needs workaround 3 to be enabled)
* Support for small screens (e.g. XPeria X10 mini)
* Widget/Icons size optimizations for older Android versions
* Resource optimizations for lesser space and faster loading
* Misc. under-the-hood UI tweaks for better/consistent layouts across different screen sizes/densities/android versions.
11-July-2010 -> 1.3.0
* Added workaround 3 (Ping the router gateway regularly)
* Lot of optimizations for battery savings.
* Apply workarounds without needing to select the policy again
06-July-2010 -> 1.2.1
* Changed "Advanced options" to button instead of text
* Bug Fix for a Force Close
* More Optimizations
* Help and Info Menus (to explain options and workarounds)
* Option to disable/enable debug logging
04-July-2010 -> 1.2.0
* Added workarounds to take care of sleep policies not working on some phones
* Optimized the code a bit for faster operations
* Added Configuration screens to widgets (pops up whenever widget is added)
28-June-2010 -> 1.1.0
* Added Widget
27-June-2010 -> 1.0.0
* Initial Version
For those that didnt know, you can set the policy in the wifi menu area by hitting menu>>advanced
bobtentpeg said:
For those that didnt know, you can set the policy in the wifi menu area by hitting menu>>advanced
Click to expand...
Click to collapse
yes but wifi still doesnt maintain as stable a connection for some reason
bobtentpeg said:
For those that didnt know, you can set the policy in the wifi menu area by hitting menu>>advanced
Click to expand...
Click to collapse
But the "never sleep" option never work for me. For example, with the setting "Never" on, when I tried to transfer file over wifi with SwiFTP, the transfer will stop at the moment the phone screen is off, and I hv to unlock the screen again to resume the transfer. Same thing happens to Market download.
I m running stock nonroot Nexus One Froyo FRF83. Solution for me now is using screebl lite and hold the phone to keep the screen on until the transfer is done... a pain in the ass.....
Just installed and tried the app: I tried copying a 300MB video file from phone to PC over wifi via SwiFTP, the transfer stop a bit after the screen is off, still hv to unlock the screen to allow the transfer continue.... Thanks for the effort though, this is really bugging me and I hope at some point the "never sleep" policy will actually work.
Thanks guys, for trying out the app..yeah this setting is available pretty deep into the menus but my reason of doing this app was:
1. To make it quick (especially through widget)
2. To really make it work..
The first release essentially takes care of the first point.. However to take care of the concerns pointed out, like by lou and flybyme, I'm adding some more workarounds to it to keep wi-fi working.. I'll probably have some more news for you guys around weekend
Yes, thats a bad bug on NexusOne.
I can't stream Music to the phone. When screens getting off, the stream stops.
Very bad.
Make a pingtest to your phone.
With screen on, everything is fine, screen off it went crazy.
No Dev here, who can make changes to this?
bobtentpeg said:
For those that didnt know, you can set the policy in the wifi menu area by hitting menu>>advanced
Click to expand...
Click to collapse
For those didn't know, that option doesn't actually work on android.
Formel-LMS said:
Yes, thats a bad bug on NexusOne.
I can't stream Music to the phone. When screens getting off, the stream stops.
Very bad.
Make a pingtest to your phone.
With screen on, everything is fine, screen off it went crazy.
No Dev here, who can make changes to this?
Click to expand...
Click to collapse
I have a couple of workarounds that are working.. but I still need to do a lot of work to make them optimal. Will be released soon in 1.2.0
The other thing that compounds the problem is that apart from the phone itself, there is a lot dependent on the routers as well.. That part I'm still trying to figure out a workaround for..
Thank you, sounds good ;-)
Great, please keep on working on this app
(and dont forget to read this, when u find time )
rori~ said:
Great, please keep on working on this app
(and dont forget to read this, when u find time )
Click to expand...
Click to collapse
Hah, I like how you snuck that one in there
couldn't you manipulate the stay awake while charging set up to make the phone stay awake forever? That works, I know if I have that checked and the phone plugged in the screen never turns off!
Gr8gorilla said:
couldn't you manipulate the stay awake while charging set up to make the phone stay awake forever? That works, I know if I have that checked and the phone plugged in the screen never turns off!
Click to expand...
Click to collapse
Your right, this is a standard feature android has had for a long time. Basically going to setting>wireless & networks>Wi-Fi settings>press menu> select advanced>Wi-Fi sleep policy> select from these options "when screen turns off", "never when plugged in", "never"
Of course by selecting "never" your wifi never disconnects while your phone sleeps.
rori~ said:
Great, please keep on working on this app
(and dont forget to read this, when u find time )
Click to expand...
Click to collapse
haha.. thanks for reminding me.. I'm pretty lousy with graphics though.. I'll try coercing one of my creatively-non-challenged friends to do some work for me
Gr8gorilla said:
couldn't you manipulate the stay awake while charging set up to make the phone stay awake forever? That works, I know if I have that checked and the phone plugged in the screen never turns off!
Click to expand...
Click to collapse
Yes, that would work but:
1. It won't work for times when your phone is not plugged
2. It slows down the charging rate
Lou2serious said:
Your right, this is a standard feature android has had for a long time. Basically going to setting>wireless & networks>Wi-Fi settings>press menu> select advanced>Wi-Fi sleep policy> select from these options "when screen turns off", "never when plugged in", "never"
Of course by selecting "never" your wifi never disconnects while your phone sleeps.
Click to expand...
Click to collapse
Yes, that is true but as I mentioned earlier in the thread. The reasons to do this app are:
1. Quick access. The setting for this is buried too deep and I wouldn't like to have this set to "never" (e.g.) all the time. I'd like to do it in a tap whenever I'm doing something that doesn't require me to look at the screen but wi-fi needs to be on. Otherwise you have most of the settings anyways in Android (for wi-fi/gps/sync/etc), why would you need widgets for them?
2. The settings mentioned don't work always. Although the app provides pretty much the same options to the user as the in-built setting provides but I'm trying to include work-arounds in the back end that would really make it work.
Will put this in the OP as well..
JCopernicus said:
For those didn't know, that option doesn't actually work on android.
Click to expand...
Click to collapse
Actually it works perfectly fine for me. At work I have it set to Airplane mode but with Wifi on. I still receive all my Google Talk, Emails, etc just fine with the screen off.
Formel-LMS said:
Yes, thats a bad bug on NexusOne.
I can't stream Music to the phone. When screens getting off, the stream stops.
Very bad.
Make a pingtest to your phone.
With screen on, everything is fine, screen off it went crazy.
No Dev here, who can make changes to this?
Click to expand...
Click to collapse
+1 here with that Problem on Nexus One.
I tried many ROMs (CM, MCR......), every Radio and some "WiFi Alive"-Apps on the Market (They are developed for Android 1.5) and NOTHING changed the Situtation:
Music-Streams always disconnect when the Phone goes into Stand-by. It's horrible. There are some Posts from different People about this Problem in the ROM-Threads from Cyanogen & Co but it seems most of the People dont have this Issue so its not recognized by the Devs?
Same problem here. I'm trying to stream shoutcast radio stations with Xiialive, but it's buffering all the time as soon as the screen turns off :-( ...htc desire
Guys, could you help me a bit in figuring out the solutions..
Please also report the ROM you are using if it doesn't work for you..

[APP][FREE][2.2+] IntelliCover - Proximity Sensor Based Screen Control (And MORE)

Finally got my app up and running on the Market and being a die hard xda user, I thought it would only be appropriate to post it here for fellow users to enjoy. =)
IntelliCover is a utility which uses your device’s proximity sensor to control its display and allow fast and efficient access to your phone or tablet.
It turns the screen turns off automatically when you put your device in your pockets, close its flip cover, store the device in a bag, or even just leave the device facing down on a table. As soon as the device is back in your hand the proximity sensor is triggered again, the screen turns back on and your phone is instantly ready for use.
IntelliCover is more feature-filled than any other similar application on the market. And the best part? It's FREE!
Click here to visit the market page and download the app for free
P.S. If you find a bug, I'd appreciate if you could report it to me before giving a bad rating because it usually only takes me less than a day to fix.
*** Features ***
Calibration:-
Proximity Sensor Delay – Add a delay to the time takes to trigger the sensor and turn the screen off.
Application Settings:-
Automatic Unlock – Automatically dismiss the Unlock Screen, provided there is no password. *Experimental*
Disable in Landscape Mode – Disable the proximity sensor when an application is in landscape mode.
Go to Home Screen – Show the home screen when the screen turns on.
Screen Off Only – The screen will turn off but not on when the proximity sensor is triggered.
Screen On Only – The screen will turn on but not off when the proximity sensor is triggered.
Start on Boot – Automatically start the IntelliCover service when the device turns on.
Notifications:-
Proximity Warning – Vibrate every time the proximity sensor is triggered.
Status Bar Notification – Show an ongoing notification in the status bar.
Screen On and Off Actions:-
Airplane Mode – Enable or disable airplane mode.
Auto Rotate (will be removed) – Activate or deactivate.
Auto Sync – Activate or deactivate auto-sync.
Bluetooth – Enable or disable Bluetooth.
Haptic Feedback (will be removed) – Activate or deactivate haptic feedback.
Ringer Mode – Switch ringer mode to Normal (Sound with Vibration), Vibrate or Silent.
Wi-fi – Enable or disable wi-fi.
*** Frequently Asked Questions ***
Q) Is it really free? Where are the ads?
Ans) IntelliCover is completely free and has no ads whatsoever!
Q) Do I require a rooted device to use IntelliCover?
Ans) Nope. IntelliCover works on all supported phones and tablets, rooted or unrooted.
Q) Doesn’t using the proximity sensor consume a lot of battery?
Ans) Actually, the proximity sensor consumes minimal power, almost little enough to be insignificant.
Q) What are the ‘Screen On’ and ‘Screen Off’ actions?
Ans) IntelliCover allows you to set events to be triggered when the screen turn on or off. For example, by setting wi-fi to turn on when your screen turns on and setting it to turn off when the screen turns off, you could save a huge amount of battery power.
Q) Can I request a feature?
Ans) Of course! Head over to the Contact section to drop me an e-mail.
Q) Why does IntelliCover keep running in the background?
Ans) It has to run in the background to know when the proximity sensor is triggered.
Q) Can I donate to the developer?
Ans) Not yet but hopefully I’ll have something set up soon.
*** Permissions Required ***
INTERNET - Required for error logging (to send crash reports)
WAKE_LOCK - Required to unlock screen
WRITE_SETTINGS - Required to toggle ringer mode
VIBRATE - Required to vibrate phone
RECEIVE_BOOT_COMPLETED - Required to detect phone boot
WRITE_SYNC_SETTINGS - Required to toggle autosync
READ_SYNC_SETTINGS - Required to toggle autosync
BLUETOOTH - Required to toggle bluetooth
BLUETOOTH_ADMIN - Required to toggle bluetooth
ACCESS_WIFI_STATE - Required to toggle WiFi
UPDATE_DEVICE_STATS - Required to toggle WiFi
CHANGE_WIFI_STATE - Required to toggle WiFi
*** Contact ***
Feel free to contact me at [email protected] with any issues, bug reports, feature requests, suggestions or queries. Please read the FAQ above before sending an e-mail to avoid redundancy.
Click here to visit the market page and download the app for free
Hello! I love the app! I just installed it, and it works great so far keep up your good work!
Sent from my HTC Sensation Z710e using xda premium
Seems good, some questions though.
1. Is it supposed to be able to turn the screen on? Take phone out of pocket, proximity sensor detects values that indicate there's nothing near (Sorry, dunno how / what values are calculated / used) and viola, screen on?
2. Dunno if I've set it up incorrectly. But, currently, if I turn on my screen, via the power button (Sony Xperia S), the stock lockscreen will show, and either one of two things will happen. Either I unlock it successfully, and the split second I'm completing the unlock, the phone will screen off, and engage the lockscreen - after unlocking this, can I get into my phone. OR it'll do what I've previously mentioned, without input.
timmy-kidd said:
Hello! I love the app! I just installed it, and it works great so far keep up your good work!
Sent from my HTC Sensation Z710e using xda premium
Click to expand...
Click to collapse
Thanks! Glad you liked it! =)
Profool said:
Seems good, some questions though.
1. Is it supposed to be able to turn the screen on? Take phone out of pocket, proximity sensor detects values that indicate there's nothing near (Sorry, dunno how / what values are calculated / used) and viola, screen on?
2. Dunno if I've set it up incorrectly. But, currently, if I turn on my screen, via the power button (Sony Xperia S), the stock lockscreen will show, and either one of two things will happen. Either I unlock it successfully, and the split second I'm completing the unlock, the phone will screen off, and engage the lockscreen - after unlocking this, can I get into my phone. OR it'll do what I've previously mentioned, without input.
Click to expand...
Click to collapse
Yup, it turns the screen on as well. The values are pretty much just FAR and NEAR for most proximity sensors, so once it detects that there's no object close to it, it should turn the screen on. If it's not turning on at all, that might be the root of the problem i.e. it might be causing the unlock issue as well...Hmmm...I checked out your phone specs and since you said "stock lockscreen", I think it's safe to assume you're on the stock ROM but are you still on Gingerbread? If so, that partially explains the issue. Some Gingerbread ROMs have compatibility issues with the app that are very similar to what you've described, I have no idea why but I'm still looking into it. I had to fix ALOT of Gingerbread issues to get it working this far lol. If you're not on GB though, I guess I need to hunt for an Xperia and begin testing/debuggin. :fingers-crossed:
HUGE update released! V2.0 Hope you all like it. =)
Thanks a lot for sharing your app, it looks grate but unfortunately it is not working with my Galaxy note 10.1
Sent from my GT-N8000 using XDA Premium HD app
I like it! Works fine in my SII stock rom. It will be perfect if i could enable a sound notification when turns off the screen. Not really necessary but cool 4 me (car unlock beep-beep)
Thanks mate!
Frank
thanks for the update
working good.
I'm working on adding a widget and changing the design, but if anyone has any better suggestions, I'd love to hear them because design is not as important as functionality.
Love it. great app, and working fine on both my LG Optimus 3D and Samsung Galaxy Note II.
could we have a choice on the notification icon, would be nice to have a small black dot or something. i just like a empty notification bar but understand the need for it to actually be in the notification bar
thanks
other than that this is my fav ap on my phone
won't this drain battery
mikeschevelle said:
could we have a choice on the notification icon, would be nice to have a small black dot or something. i just like a empty notification bar but understand the need for it to actually be in the notification bar
thanks
other than that this is my fav ap on my phone
Click to expand...
Click to collapse
Yea, it's unfortunate that foregrounding requires the notification icon. You could try using the app without foregrounding, it works for some people. Adding more notification icons should be easy, won't take much time. =) Which ones do you think I should add? A small black dot would disappear on most black status bars (but it'll look like there's an empty space in the status bar so it'll look a little weird)...
skyrocketeer said:
won't this drain battery
Click to expand...
Click to collapse
The proximity sensor uses very little battery and the app itself is pretty light (4-5MB RAM). So far I've only gotten one deep sleep complaint out of 3500+ downloads but no battery issues.
im fine with the black dot, it will keep my bar looking empty
mikeschevelle said:
im fine with the black dot, it will keep my bar looking empty
Click to expand...
Click to collapse
Finally! Found a way to completely remove the icon and the notification from the status bar when the app is foregrounded. It'll be in the next update (today or tomorrow). It can still be enabled manually from the Notifications section but yea, enjoy the emptiness of your status bar. xP
Pretty Huge Update. Hope you like it!
Version 3.0
-Added Screen On Fix for some phones (Enable in settings)
-Status Bar Notification/Icon will no longer automatically show up when app is foregrounded.
-Added Pocket Mode
-Added Table Mode
-Added Widget
-Fixed Screen On/Off Actions bug
One thing I notice (which is NO WHERE CLOSE to a big deal)
The launcher I use (Nova) I hide the status bar and use a gesture to bring it down. When ever Intellicover turns the screen on, the status quickly shows itself and then goes back hidden, not more than a half second of this, but I cannot select anything on the screen until after that status bar thing happens
I like the concept of the app, and it works fine with my sensors. I have one complaint though, I don't like how when the phone screen turns on, it opens to the Intellicover App. Sure I can set it to go to the home screen, but I don't always want that. Once Intellicover is running, I don't want to ever see it again unless I manually launch it from the app drawer. If I have Chrome open and I have to suddenly put my phone down or in my pocket, I'd like to pull my phone back out and have Chrome still be on the screen, just like happens now using the sleep button.
Turns my dumb flip cover on my note 2 into a smart cover. Thanks
Sent from my SPH-L900 using xda premium
garfnodie said:
I like the concept of the app, and it works fine with my sensors. I have one complaint though, I don't like how when the phone screen turns on, it opens to the Intellicover App. Sure I can set it to go to the home screen, but I don't always want that. Once Intellicover is running, I don't want to ever see it again unless I manually launch it from the app drawer. If I have Chrome open and I have to suddenly put my phone down or in my pocket, I'd like to pull my phone back out and have Chrome still be on the screen, just like happens now using the sleep button.
Click to expand...
Click to collapse
Actually, that shouldn't be happening. Once set you never have to see it again. I'm not quite sure what could be triggering this but if you could provide a little information about the OS/phone model/etc. I could try to get a hold on the device and try to replicate the error...

[APP][2.2+] Gravity Screen > Turn Screen On/Off Automatically - Keep Screen On

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I was tired of pressing the power button whenever I need my phone for a second. Thus I created the Gravity Screen Off app which can turn automatically the screen ON when I grab my phone and turn it OFF when I put it into my pocket or onto a table. Basically, no need to touch any button and you are ready to go.
HOW IT WORKS:
The app turns the screen off by monitoring the orientation of the device through the gravity sensor. When your phone is pointing downward by its top, below a certain angle, it's likely to be out of use. In this situation the proximity sensor is activated to determine if it is covered. If yes, the screen turns off because probably you placed the phone into your pocket or onto a table.
The screen turns on when you lift up your phone. The phone wakes up if the proximity sensor is uncovered or if it was not covered the app is looking for movements to detect the action.
The Keep Screen On feature based on screen orientation and motion detection as well. If the device is pointing upward and small movements are detected it's probably held in hand and the screen timeout is extended.
MAIN FEATURES:
- Pocket Sensor: Recognizes if your phone is in your pocket. By turning your phone below the angle you set, it'll prepare to turn the screen off.
- Table Sensor: Detects your phone is lying on a table and turns the screen off.
- Turn Screen On by Motion: If the screen is off and it's facing up the device can be woken up by any movements (ex. lift up by hand) according to the sensitivity set.
- Keep Screen On by Motion: It's a Screebl like feature but it's relying on the small movements you are doing by your hand while holding the phone. If small motions are detected while the screen is facing up the feature keeps the screen on because it can be suspected that the phone is held and probably you are reading something. If the phone is steady the timeout will work as normal in any position you leave your device unlike in another apps.
- Turn Screen On by Proximity: Turns the screen On when you take your phone out from your pocket and Off when you put it back. By swiping your finger over the proximity sensor the phone can be woken up as well.
- Turn Screen Off by Proximity: If the device is pointing downward it takes the proximity sensor into account. By turning this off the program will rely only on the gravity sensor.
- Tasker, Llama, Locale supported by plug-in.
- 3 widgets/shortcuts: (available in Unlocked version)
(i) pause/resume
(ii) turn screen off: It's like pressing the power button
(iii) turn screen off persistently: turn screen off and keep it off until power button is pressed. It's good when you have to keep the phone in your hand or while driving and do not want the screen turned on by the app. After pressing the power button it will work as before.
- Power Toggles plug-ins
BATTERY USAGE:
You can set the app to minimize the energy consumed by the screen and by this you can extend your battery life. Or you can extend your own life by using another features of the app In the first case the battery usage should be not significant. I experienced about 7 per cent extra consumption on the test device. However it can be higher if you are activating often the Turn Screen On by Motion feature by leaving your device face up on table and you set a relatively long timeout for the feature. Read FAQ [4] for more details.
IMPORTANT
On some devices if it's lying face down the alarm clock is switched off by the app after it had gone off! Please check if it's the case for you. If, yes, use a third party app, for example: https://play.google.com/store/apps/details?id=com.vp.alarmClockPlusDock
DOWNLOAD
Gravity Screen
NOTE
Probably not all feature will work for everyone. It was tested so far mainly on Samsung devices with stock rom. If you think it does not work for you, please read the FAQs below or report your issue in this thread.
REPORT YOUR ISSUE
If you have an issue, do NOT post it until you read the FAQ below and try to solve it alone by trying different settings for some hours. If still no solution, please write all your settings in your question otherwise your question will be ignored. If you feel you have a battery drain, do not post it in this thread. We are not speaking about it anymore
VERSIONS: FREE vs. UNLOCKED by IN-APP PURCHASE
In the Unlocked version, there is no 15 minutes limit for turning the screen on by motion and the Table sensor can be set more precisely, plus it has an Exclude App list, a more advanced Delayed lock option and Widgets.
CREDIT
Thanks to @remidesroques and everyone who helped and keep helping the development by testing the beta versions, sending feed backs or any another way supporting this app.
Translations:
Spanish: Johandri Silva and Eduardo Iñiguez
Russian: Gljadkov Oleg
French: @gregland
Italian: @DesmoDavid
Czech: Jaroslav Vrána
Portuguese (Brazilian): Irwing Junqueira Braga
Change log:
- - v2.4.1 - -
Added: Android M support
Fix: Power button support issue when screen turned off during lock screen
Fix: small issues
- - v1.80.1 - -
Added:
- 3 widgets: (available in Unlocked version)
(i) pause/resume
(ii) turn screen off: It's like pressing the power button
(iii) turn screen off persistently: turn screen off and keep it off until power button is pressed. It's good when you have to keep the phone in your hand or while driving and do not want the screen turned on by the app. After pressing the power button it will work as before.
- Power Toggles plug-ins
- Translation: Traditional Chinese, Turkish
- - - v1.78.2 - -
Fix:
- works on LG P880
Added:
- Languages: Arabic, Chinese, Dutch, Hungarian. Thank you for the translations.
- Car dock detection
APKs:
Gravity Screen - FAQ
Hi,
thanks for your feedback.
[1] Q: The screen not always turns off when I put my phone into my pocket, why?
A: The proximity sensor not always accurate. It can fail recognizing some materials specially if they are very close to it. If it happen occasionally, probably it's still worth to use the sensor. But even you can eliminate the accidental turning on by selecting the False Turn On Protection in Pocket option.
[2] Q: The Table Sensor not really works for me when I place my phone onto a table face down, why?
A: This issue is quite common. The first problem is that the free version is limited to 15 degree. If you are turning your phone fast downward the proximity sensor is activated only when it's very close to the table. Many proximity sensors cannot judge distance accurate if the object is too close to it. This is the reason the screen remains on often. And even more the reliability of the sensor depends partly on the material as well. Thus if you are using the free version it's recommended to place your phone onto a table not too fast and try to keep it parallel to it. The paid version allows you to increase the angle and by this the problem is significantly reduced. Moreover, the problem can be reduced by selecting the False Turn On Protection in Pocket option.
[3] Q: Why does the Lying Face Up feature turn the screen off regardless I'm tapping the screen?
A: Due to Android security restrictions a running service cannot detect if the screen was tapped. If you want to continue using the device you have to swipe over the proximity sensor to keep it on or turn it back on.
[4] Q: I'm experiencing high battery usage, why?
A: The app should use about 6 percent extra energy per day if you are not using too much the Turn Screen On by Motion feature. If you frequently lay your phone face up on a table and the Turn Screen On by Motion Timeout is too long, the battery consumption can be much higher. Because the CPU has to be constantly analyzing the data of to acceleration sensor to catch the movement when you lift up the device. Thus if you want to reduce the battery usage it's recommended to keep your phone often lying face down when it's on a table. Because in this situation the proximity sensor is responsible for turning the screen back on which uses much less energy. Moreover, please, keep in mind that the android en-built battery consumption measurement can show much higher results, because it shows the battery usage relatively to another apps. If the phone was not in use or the measurement period was short, it looks like my app uses too much energy however there was not too much energy used all together.
[5] Q: The Keep Screen On by Motion feature does not work for me, why?
A: It can be the result of battery saving processes on your device. Ask for support from the app in this case.
[6] Q: Turn Screen On by Motion feature does not work for me, why?
A: It can be the timeout of the feature is expired, in this case you have to increase it within the app. Or it can be caused by battery saving methods by killing the service of the app. In this case you have to turn off battery saving methods of your device. Please visit: https://dontkillmyapp.com/
[7] Q: The screen turns off in landscape mode, why?
A: This issue has many different solutions. You can make the Pocket Sensor Angle smaller or if you have the Any Direction feature ticket, you can pause the GS app temporally. There are ways to pause it: 1. tick the Landscape mode feature; 2. using the Locale plug-in by Tasker or Llama; 3. using the Menu - Exclude apps option.
[8] Q: It gives me a huuuge wakelok, why?
A: The wakelock is necessary for the "Turn Screen On by Motion" feature but if you turn the screen off through the proximity sensor (i.e. put it into your pocket or place face down onto a table) there won't be wakelock held. So if you want to reduce the wakelock try to keep your phone face down. Moreover, you can limit it by the Timeout scrollbar as well but this means you will loose the feature after the timeout you set.
[9] Q: I'm prompted to type my pass code immediately after screen turns on.
A: You have to enable the Fingerprint, Smart Lock Support option in the app.
[10] Q: It makes a buzzing sound when listening to music and stuff. Can you turn it off?
A: Due to a hardware problem the proximity sensor is causing the buzzing noise on Nexus 4 when it's active.
At the moment I can recommend some changes in the settings. If you turn on the Headset support and connect your headphone, you are able to turn off the "Turn Screen Off by Proximity" and "Turn Screen On by Proximity" features independently from the state when headphone is not connected. The app will remember this and always turn off the proximity sensor when headphone is connected.
[12] Q: Will you add an option to scheduled the app to stop it for night hours?
A: Not really. Please, use the Locale plug-in in Tasker or Llama;
[13] Q: Why my alarm clock does not work?
A: Unfortunately many alarm clocks cancel the alarm when the screen turns off. It can happen if you leave your phone face down at night and my app turns the screen back off when the alarm goes off. The app is trying to detect the alarm event and pause itself, but it's not possible with all alarm clock apps. Thus it's strongly recommended to test your alarm clock with this app.
You can solve this problem by using a well written alarm clock, for example: https://play.google.com/store/apps/details?id=com.amdroidalarmclock.amdroid, https://play.google.com/store/apps/details?id=com.vp.alarmClockPlusDock,
https://play.google.com/store/apps/details?id=ch.bitspin.timely, https://play.google.com/store/apps/details?id=com.amdroidalarmclock.amdroid, https://play.google.com/store/apps/details?id=com.alarmclock.xtreme.free.
[14] Q: The screen turns on during driving. How to avoid it?
A: The simplest method is to pause the app before driving. There are different widgets in the app for this. Or if you are driving often you can use the Power button support feature A more advanced method can be to pause the app when the phone is connected to the car by bluetooth and resumed when disconnected. You can do this by Llama via the Locale plug-in.
[15] Q: The notification not responding/disappearing when I try to pause/resume the app from the notification area, why?
A: Please try to un-tick the NOTIFICATION -> LOW PRIORITY option in the app. It should solve the problem.
[16] Q: What are the shortcuts/ widgets for:
A:
(i) pause/resume
(ii) off: It's like pressing the power button
(iii) persistent off: turn screen off and keep it off until power button is pressed again. It's good when the phone is moving but you do not want it to turn on.
(iv) lock: turns off the screen and locks it. Useful if delayed lock is in use but you want to lock the device manually.
[17] Q: Where is the Pro version? I cannot find it on Play Store.
A: The Pro version is discontinued unfortunately, due to security reasons.
To change to the Unlocked version, please, do the following:
- send me the purchase number of the Pro and I'll send you a promotional code which you can use to unlock the free version
[18] Q: In-App Purchase fails. Why?
A: It's a Play Store app issue probably which happening on some devices.
Please make sure you are connected and restart the device. Other method can be to uninstall the Play Store updates and try with an older version of the Play Store app. It often helps.
[19] Q: I bought the app by IAP but it's still locked. Why?
A: It's a Play Store app issue probably which happening on some devices when not connected to the internet.
Please make sure you are connected and restart the device. Moreover, do you have more than one Google account registered on your device? That can cause the issue too, that you bought the app under a different account. Other method can be to uninstall the Play Store updates and try with an older version of the Play Store app. It often helps.
[20] Q: After some time the phone does not wake up. Why?
A: I'd check any kind of battery saving methods your device may use currently. Probably that disables the sensor after some time.
Moreover, make sure that the Turn screen on by motion timeout is set properly. Please visit: https://dontkillmyapp.com/
[20] Q: I cannot uninstall it. Why?
A: You have to press the uninstall button in the app, not in Play Store or in Android settings. If still no luck reboot your device and try again .
[21] Q: The POWER BUTTON SUPPORT option does not work for me. Why?
A: You have to change the screen timeout from AUTO to another value in Android settings and do a reboot.
[22] Q: The fingerprint sensor does not work, instead I have to type my pin every time. Why?
A: This is an Android thing, for developers the Smart lock features are not supported. That's why we have to use workarounds.
Using the FINGERPRINT UNLOCK, SMART LOCK SUPPORT option should solve the issue but you may have to wait about 5-10 seconds for the complete turning off with the Timeout method.
The Accessibility method is recommended to choose above Android 8.
Root your device to make this workaround perfect. In this case the turning off will be instantaneous.
[23] Q: Why does the screen only turns black but not turning completely off?
A: It's because you have selected the Timeout method of the SMART LOCK SUPPORT option and your device is not rooted. This is an Android thing, for developers the Smart lock features are not supported. That's why we have to use workarounds. Using the SMART LOCK SUPPORT option you have to wait about 5-10 seconds for the complete turning off.
Root your device to make this workaround perfect. In this case the turning off will be instantaneous.
[24] Q: The app is paused when I got a notification from an app which is on the Exclude Apps list. Why?
A: To avoid this issue, you have to grant the app an extra permission in Settings - Notifications - Notification Access
[25] Q: Why the screen timeout is changed by the app?
A: The Keep Screen On by Motion feature extends the timeout always an extra amount of time to keep the screen on when motion is detected. The timeout resets when the screen is turned off.
This method is used only for Xiaomi and Samsung devices above Android Pie.
[26] Q: The app stops working on MIUI (xiaomi redmi) after some minutes. Why?
A: To solve the issue please visit: https://dontkillmyapp.com/
[27] Q: The Turn Screen On features does not work on Samsung S8 or S8+. Why?
A: Luckily there is a very easy and quick fix! You just have to go to the edge light settings on your phone and there you can select which apps are affected by the edge light. So if you turn it off Gravity Screen in this list the notification of the app will get handled by android again, not Samsung's system. So this means that it will turn on the screen again!
Here is a video made to show the bug and how to fix it: https://youtu.be/WSSKvMrx7X0 (Thanks for finding the solution: Kitt3120)
[28] Q: The app stops working on Nokia Oreo. Why?
A: Because of a bug in the power saving method of Nokia devices, background processes are closed even if they are protected.
To overcome this issue you have to do the followings:
In Settings/Apps => Show system apps - deactivate these two packages:
- com.evenwell.powersaving.g3
- com.evenwell.powersaving.g3.overlay.base.s600ww
Please visit: https://dontkillmyapp.com/
[29] Q: The app stops working on Huawei EMUI 8. Why?
A: Because of a bug in the power saving method of Huawei devices, background processes are closed even if they are protected.
To make the app work on EMUI 8 you have to do the following:
Settings --> Battery --> Launch. Find GS there, click on it, open every option (which also includes "Run in background") and let it say "Manage manually".
Please visit: https://dontkillmyapp.com/
[30] Q: The app stops working on Android 9. Why?
A: Because of a bug in the power saving method, background processes are closed even if they are chosen to be not optimized.
To solve this issue you have to grant Gravity Screen access to notifications in: Menu - Permission Control
Please visit: https://dontkillmyapp.com/
TROUBLESHOOT
- make sure the app is installed on internal memory card; external sd cards can cause many kind of problems
- if it looks like the app stopped working correctly do an uninstall, re-install and a reboot
Interesting! Downloading and testing...
Great app, testing it now. For the proximity function, shouldn't the drain be higher because when the phone is in the pocket the proximity sensor is always on?
mliou said:
Great app, testing it now. For the proximity function, shouldn't the drain be higher because when the phone is in the pocket the proximity sensor is always on?
Click to expand...
Click to collapse
Yes, that's right. When it's turned off by proximity, there is no significant drain.
Great app :good: this is exactly what i was looking for :victory:
what benefits offers me the pro version??
Acousticbeatz said:
Great app :good: this is exactly what i was looking for :victory:
what benefits offers me the pro version??
Click to expand...
Click to collapse
You can live with the free version quite well. But by buying the paid version your life will be easier little bit:
- you can drop your phone face down onto your undone bed and your screen will turn off
- when you wake up and hardly find your phone the screen will turn on automatically at the moment you grab it and no need to find any button
Probably there are more advantages, but I could recall only these at the moment
Some feedback
1- Pocket sensor
*** gravity - can turn off but can't turn on.
*** proximity - can't even turn off
2- Table Sensor
*** gravity - can turn off but can't turn on
*** proximity - working (both face down/up and off/on)
3- Turn Screen On by Motion
*** not working for both gravity and proximity (unless swiping finger over the proximity sensor)
4- Keep Screen On by Motion
*** not working at all (even after change the sensitivity)
Request
Keep Screen On by Angle - Sometimes, i didn't hold my phone. Just put on the table in standing position. So, 0-10 degree will off the screen while higher than that will keep the screen on. No need to keep shaking
I'm on Motorola Defy CM7.2 btw. Keep your good work :good:
plexnor said:
You can live with the free version quite well. But by buying the paid version your life will be easier little bit:
- you can drop your phone face down onto your undone bed and your screen will turn off
- when you wake up and hardly find your phone the screen will turn on automatically at the moment you grab it and no need to find any button
Probably there are more advantages, but I could recall only these at the moment
Click to expand...
Click to collapse
sounds good... and already purchased
plexnor said:
Yes, that's right. When it's turned off by proximity, there is no significant drain.
Click to expand...
Click to collapse
Do you mean check the box for "Turn Screen OFF by Proximity" or uncheck the box?
its a really nice app, thank you.
one question:
if i put my galaxy nexus in the pocket, it turns off and then it turns on immediatly.
sometimes it won´t even turn off. if i rotate it in my hand and cover the brightness
sensor it will definitely turn off.
if the galaxy nexus rotates in my pocket (sometimes it is on the side) then it turns
on.
is this a bug or do i have to wrong settings.
thank you
antukubo said:
Some feedback
1- Pocket sensor
*** gravity - can turn off but can't turn on.
*** proximity - can't even turn off
2- Table Sensor
*** gravity - can turn off but can't turn on
*** proximity - working (both face down/up and off/on)
3- Turn Screen On by Motion
*** not working for both gravity and proximity (unless swiping finger over the proximity sensor)
4- Keep Screen On by Motion
*** not working at all (even after change the sensitivity)
Request
Keep Screen On by Angle - Sometimes, i didn't hold my phone. Just put on the table in standing position. So, 0-10 degree will off the screen while higher than that will keep the screen on. No need to keep shaking
I'm on Motorola Defy CM7.2 btw. Keep your good work :good:
Click to expand...
Click to collapse
For keeping screen on, try the booster option. That's the only option.
Request: Turn off some settings when it's charging as my phone is flat on a surface and it is quiet annoying when I turn phone on it has a very short display timeout (due to tablet sensor)
antukubo said:
4- Keep Screen On by Motion
*** not working at all (even after change the sensitivity)
Click to expand...
Click to collapse
mliou said:
For keeping screen on, try the booster option. That's the only option.
Click to expand...
Click to collapse
Thanks. That trick works! I wonder why i didn't try that before
antukubo said:
3- Turn Screen On by Motion
*** not working for both gravity and proximity (unless swiping finger over the proximity sensor)
Click to expand...
Click to collapse
After playing a bit more, found that it is partially working on proximity. When facing down, it works. But while facing up, it is not working. Unless i face it down again, then the screen will turn on by motion.
Now, monitoring the battery usage. Hopefully it will not drink too many juice...
Can upload apk please? Stupid play store won't allow me to install, says incompatible.
Acousticbeatz said:
sounds good... and already purchased
Click to expand...
Click to collapse
It's great, thanks
mliou said:
Do you mean check the box for "Turn Screen OFF by Proximity" or uncheck the box?
Click to expand...
Click to collapse
Yes, I mean keep the "Turn Screen OFF by Proximity" check box checked and after switch off the phone by the proximity sensor. You can do this by placing your phone face down or put it into your pocket when you want to turn the screen off. In this situations the proximity sensor will be activated and the screen will be turned off by it.
an0nym0us_ said:
Can upload apk please? Stupid play store won't allow me to install, says incompatible.
Click to expand...
Click to collapse
Hm, interesting why it doesn't allow you to install it ... I attached the file.
myhrdak said:
its a really nice app, thank you.
one question:
if i put my galaxy nexus in the pocket, it turns off and then it turns on immediatly.
sometimes it won´t even turn off. if i rotate it in my hand and cover the brightness
sensor it will definitely turn off.
if the galaxy nexus rotates in my pocket (sometimes it is on the side) then it turns
on.
is this a bug or do i have to wrong settings.
thank you
Click to expand...
Click to collapse
This is an issue with the proximity sensor. Unfortunately it looks like the sensor on your phone cannot recognize well the material of your trouser. If it happens quite often; the solution is to uncheck the "Turn screen ON by proximity" feature. In this situation when you place your phone into your pocket the screen will turn off and the proximity sensor will be inactive after. You can wake up your device by motion only after this. Downside: it costs more energy.
If the phone is often on its side in your pocket try to increase the pocket sensor angle. If it's still turning on, the only way is too keep your phone not to turn on its side or switch off the "turn screen on by motion" feature and in that case the phone will only turn off automatically which is still not too bad.
This app is so good!! I will report my experience

[APP][4.2+] SecondScreen - better screen mirroring for Android devices

SecondScreen is an application designed for power users that frequently connect their Android devices to external displays. It works with your existing screen mirroring solution to give you the best experience possible. With SecondScreen, you can change your device's resolution and density to fit your TV or monitor, enable always-on desktop mode in Chrome, and even turn your device's backlight off, among several other features.
PLEASE READ BEFORE DOWNLOADING:
• This app REQUIRES elevated permissions, granted via root access or adb shell commands. The app will do nothing if you do not have a rooted device or access to adb.
• This app is ONLY for devices with AOSP / Google experience ROMs. It is not guaranteed to function properly on devices with manufacturer-skinned ROMs.
• This app does not provide screen mirroring capabilities on its own. Screen mirroring may require either an MHL/SlimPort adapter or a wireless solution such as Miracast or Chromecast.
• A Bluetooth keyboard and mouse is strongly recommended as the app can make UI elements smaller and harder to press on the device itself.
Features:
• Easily change resolution and density (DPI) - take full advantage of the resolution of your external display, and show the Android tablet interface if you're using a phone
• Simple profile-based interface - easy to enable/disable different profiles for different types of displays
• Many configurable options, including:
 • Automatically enable Bluetooth and Wi-Fi - quickly connect a keyboard, mouse, and/or game controller
 • Automatically enable Daydreams
 • Lock screen orientation to landscape
 • Show desktop sites in Chrome by default - browse the real Web, on your TV!
 • Overscan support for older TVs (Android 4.3+)
 • System-wide immersive mode (Android 5.0+)
 • Disable device backlight and vibration - save battery while your device is connected (not compatible with all devices)
• Full integration with Tasker
• Load profiles automatically when a display is connected
• Quick Actions - quickly and easily run SecondScreen features without creating or editing profiles
• Homescreen shortcuts - launch a profile with one tap, without entering the app
Download:
• Download SecondScreen on the Play Store
• Download SecondScreen on F-Droid
Explanation of permissions:
• root access required to change resolution/DPI, disable backlight/vibration, enable desktop-only mode in Chrome
• "connect and disconnect from Wi-Fi", "view Wi-Fi connections" - required for profiles to enable Wi-Fi
• "access Bluetooth settings", "pair with Bluetooth devices" - required for profiles to enable Bluetooth
• "close other apps" - required to refresh the user interface after a resolution/DPI change. Ensure all data is saved before launching a profile.
• "run at startup" - required to show SecondScreen profile notification after a (soft/hard) reboot
• "modify system settings" - required for profiles to lock rotation and set brightness
Feedback in this thread is welcomed and appreciated! Hope you guys enjoy the app!
 
XDA:DevDB Information
SecondScreen, App for the Android General
Contributors
farmerbb
Source Code: https://github.com/farmerbb/SecondScreen
Version Information
Status: Stable
Current Stable Version: 2.9.1
Stable Release Date: 2019-10-31
Created 2014-07-19
Last Updated 2019-11-02
Miscellaneous links
SecondScreen beta
SecondScreen group on Google+
Join SecondScreen beta
Source code
SecondScreen source code on GitHub
It sounds very good. I want to try it. Please send me a PM. Thanks.
I'm using Kindle HD 8.9.
Each function works well on it, except screen turn off.
But it has one problem.
I got an enlarged letter box when I change resolution.
My TV has 1920x1080 resolution and Kindle has 1920x1200;
so it has originally black letter box on left and right side.
But when i change Kindle resolution to 1920x1080 using this app,
the letter box is created even on upside and downside.
Is it natural or just my machine problem?
neilhae said:
I'm using Kindle HD 8.9.
Each function works well on it, except screen turn off.
But it has one problem.
I got an enlarged letter box when I change resolution.
My TV has 1920x1080 resolution and Kindle has 1920x1200;
so it has originally black letter box on left and right side.
But when i change Kindle resolution to 1920x1080 using this app,
the letter box is created even on upside and downside.
Is it natural or just my machine problem?
Click to expand...
Click to collapse
No, switching the resolution to 1920x1080 is supposed to eliminate the pillarboxing on the left and right side. It sounds like a quirk with how the Kindle outputs it's image over HDMI.
What happens when you try a different resolution such as 1280x720? Does the letterboxing and pillarboxing get worse? Also, have you tried connecting your Kindle to a different TV?
Regarding the screen turn off - does it at least dim the backlight down low? Some device kernels have safeguards that prevent the backlight from turning all the way off.
farmerbb said:
No, switching the resolution to 1920x1080 is supposed to eliminate the pillarboxing on the left and right side. It sounds like a quirk with how the Kindle outputs it's image over HDMI.
What happens when you try a different resolution such as 1280x720? Does the letterboxing and pillarboxing get worse? Also, have you tried connecting your Kindle to a different TV?
Regarding the screen turn off - does it at least dim the backlight down low? Some device kernels have safeguards that prevent the backlight from turning all the way off.
Click to expand...
Click to collapse
When I try a different resolution such as 1280x720, the letterboxing and pillarboxing are exactly sams as 1920x1080 (??)
The screen turn off option isn't activated and I cannot check it.
Since I have 1 TV monitor, I didn't try connecting to a different TV.
I'll tell you the result whenever I try to a different one.
neilhae said:
When I try a different resolution such as 1280x720, the letterboxing and pillarboxing are exactly sams as 1920x1080 (??)
The screen turn off option isn't activated and I cannot check it.
Since I have 1 TV monitor, I didn't try connecting to a different TV.
I'll tell you the result whenever I try to a different one.
Click to expand...
Click to collapse
OK, it sounds like it might be an issue with the TV then.
If the "Turn backlight off" option is grayed out, that means the kernel values needed to disable the backlight weren't found on your device. It looks like the Kindle Fire HD 8.9 uses a TI OMAP chipset and the app only recognizes the values for Snapdragon and Tegra.
I set a profile using all default settings. I have start on HDMI connection. I use Tasker to launch profile when my N5 connects to Pioneer AppRadio 3 using AppRadio Unchained to mirror phone. Works great, except that my Nova Launcher gets the expanded desktop toggled off by SecondScreen. My expanded desktop is a feature of GravityBox for Xposed Framework. I will provide a logcat my next connection session. Any other info needed to give development feedback?
lpasq said:
I set a profile using all default settings. I have start on HDMI connection. I use Tasker to launch profile when my N5 connects to Pioneer AppRadio 3 using AppRadio Unchained to mirror phone. Works great, except that my Nova Launcher gets the expanded desktop toggled off by SecondScreen. My expanded desktop is a feature of GravityBox for Xposed Framework. I will provide a logcat my next connection session. Any other info needed to give development feedback?
Click to expand...
Click to collapse
Hmm, I'll have to install Xposed + GravityBox + Nova myself and take a look.
What do you mean by "all default settings"? Do you mind posting screenshots of the profile you're using? Expanded desktop could be toggled off if you have the UI refresh method set to "Restart SystemUI & kill background apps". This setting also restarts whatever launcher you are using.
EDIT: Okay, I installed Xposed, GravityBox and Nova Launcher and did some minimal testing. Expanded desktop stays on for me no matter what I try. What expanded desktop setting are you using in GravityBox?
This is probably specific to AppRadio Unchained and your app. I will logcat tomorrow then when next in car.
---------- Post added at 09:01 PM ---------- Previous post was at 08:58 PM ----------
lpasq said:
This is probably specific to AppRadio Unchained and your app. I will logcat tomorrow then when next in car.
Click to expand...
Click to collapse
Thanks, a logcat would be helpful
Could you try one more thing as well? In your AppRadio profile try setting the "Screen rotation" option to "Force auto-rotate" and see if it fixes your issue, or does the same thing.
I just pushed an update that SHOULD fix any issues with the Pioneer AppRadio. The app was forcing a specific system dock state even if the default settings were used, and it's likely that Android switches to a different dock state when connected to the AppRadio. Let me know if the June 21st update fixes things.
farmerbb said:
I just pushed an update that SHOULD fix any issues with the Pioneer AppRadio. The app was forcing a specific system dock state even if the default settings were used, and it's likely that Android switches to a different dock state when connected to the AppRadio. Let me know if the June 21st update fixes things.
Click to expand...
Click to collapse
I will test today, and report accordingly, and copy post on ARU thread for the many users that might appreciate your work.
lpasq said:
I will test today, and report accordingly, and copy post on ARU thread for the many users that might appreciate your work.
Click to expand...
Click to collapse
No luck... Logcat will be pm'd
update: issue likely related to nova or gravitybox... all works for me by simply toggling expand desktop tile in notifications tray once after secondscreen active
update 2: wow! thanks for the diligent bug hunt and fix!!!
lpasq said:
No luck... Logcat will be pm'd
update: issue likely related to nova or gravitybox... all works for me by simply toggling expand desktop tile in notifications tray once after secondscreen active
update 2: wow! thanks for the diligent bug hunt and fix!!!
Click to expand...
Click to collapse
Just pushed version 1.2.5 to the Play Store, it fixes the issues @lpasq has described regarding GravityBox and expanded desktop.
I can test on S3 with ARU
Would anyone be interested in a built-in profile for the AppRadio? Using 800x480 as the resolution and maybe 213dpi for density. I don't own an AppRadio myself but is that a good combo? It wouldn't have backlight off checked by default as that is an option I want users to turn on manually.
farmerbb said:
Would anyone be interested in a built-in profile for the AppRadio? Using 800x480 as the resolution and maybe 213dpi for density. I don't own an AppRadio myself but is that a good combo? It wouldn't have backlight off checked by default as that is an option I want users to turn on manually.
Click to expand...
Click to collapse
Yeah, but would changing the resolution and DPI have any negative results? I assume my AVH-8500BHS is down rez now, looks fine to me.
Oh, and I'm confirming my issue with backlight turning back is because I was switching to another app that have auto brightness level adjustment (car home ultra). You said you'll come out with a new version to fix this issue? I'd like to test it when it is available.
But other than that, your apk is working beautifully during my 1 hour commute this morning. Thanks!:good:
jdpdata said:
Yeah, but would changing the resolution and DPI have any negative results? I assume my AVH-8500BHS is down rez now, looks fine to me.
Oh, and I'm confirming my issue with backlight turning back is because I was switching to another app that have auto brightness level adjustment (car home ultra). You said you'll come out with a new version to fix this issue? I'd like to test it when it is available.
But other than that, your apk is working beautifully during my 1 hour commute this morning. Thanks!:good:
Click to expand...
Click to collapse
Well, changing the phone resolution to match the external screen's would eliminate issues such as letterboxing/pillarboxing, fuzzy text, etc. And it would give you a consistent screen output no matter what type of device you hook up (phone or tablet, etc.). It would also theoretically save CPU/GPU cycles and battery running at that resolution.
Negative results would be: home screen icons/widgets potentially disappearing, and the added wait time while your device changes its resolution and DPI. So, I dunno. Again I don't have the AppRadio so I'm not sure what the best user experience would be.
Yeah, Car Home Ultra would definitely mess with my app's backlight off feature. I should be pushing 1.2.6 later today, it will have an "experimental backlight off" option you'll want to try.
Can I please test v.1.2.6? I haven't purchase your apk yet.
Please email to me jdpdata at gmail dot com. I'm willing to test DPI and resolution changes too.
Sent from my Nexus 5 using Tapatalk

[APP][4.0+] Pocket Lock - Dump your power button! Automates locking and unlocking

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Pocket Lock
Dump your power button! Pocket Lock automates locking and unlocking for you.
Download Pocket Lock on the Play Store​
Featured on Lifehacker! - "Pocket Lock actually works exactly as advertised, with no fuss, and that's what makes it such a cool app to have."
Pocket Lock intelligently locks and unlocks your phone for you. Choose from three different locking modes: proximity sensor only, gravity sensor only, and a fusion of both sensors. Just drop your phone in your pocket and it locks. Take it out and it unlocks. Pocket Lock is great for phones with broken power buttons or flip cases.
Pocket Lock is easy to set-up and forget, since it starts automatically on boot, but it also offers advanced customization options. The app is completely free and has no ads. If you have any questions, comments, or concerns, use the Send feedback option in the app to email me directly.
Screenshots:
[IMGhttps://lh6.ggpht.com/rE9Bms28mQjg8CeZVcBaS3YvBtWNWzuPAUnDxQh1oi_moV6T4LLfvxq7l_E8tQStFQ=h900-rw[/IMG]
Click to expand...
Click to collapse
Features:
* Intelligently locks your phone using the proximity and gravity sensor
* Works out of the box
* Intuitive options allow for easy customization
* Keeps your phone off when in your pocket. No more pocket pictures!
* Exclude applications
* Option to only lock or unlock your phone, great for Moto X Active Display
* Disable during phone calls
* Disable when screen is rotated
Notes:
Put your phone in your pocket upside down and with screen facing you for best results.
To uninstall, use the uninstall option in the app menu.
XDA:DevDB Information
Pocket Lock, App for all devices (see above for details)
Contributors
PaeP3nguin
Version Information
Status: Stable
Current Stable Version: 2.4.8
Stable Release Date: 2017-08-20
Created 2014-08-29
Last Updated 2017-08-20
Reserved
FAQs:
Help, my phone keeps locking and I can't use it!
First, try turning your phone upside down and unlocking it. If that works, then you have an issue with your gravity sensor. If that doesn't work, them you have may an issue with your proximity sensor. Restart the phone and quickly open Pocket Lock and change the locking method to "Do not lock", then let me know!
How do I uninstall Pocket Lock?
Use the uninstall option in the Pocket Lock menu.
Why does my phone turn off when I'm using it?
This is likely because the proximity sensor is accidentally getting covered. Try setting the lock delay higher and be careful to avoid the proximity sensor with your fingers. If this still does not work, just change the lock method to not use the proximity sensor at all, which should eliminate the problem entirely.
Why doesn't Pocket Lock unlock my phone?
The Android operating system will slow down the rate of sensor events or even stop sensors when the screen is off in order to save power. While this is great for your battery life, this means that if your phone has been off for a while, Pocket Lock may not wake it up immediately. I have noticed that the proximity sensor seems less prone to this problem than the other sensors, so try covering and then uncovering the proximity sensor.
Why does Pocket Lock use so much battery?
Pocket Lock has to keep your phone's sensors on in order to lock and unlock the screen. Some sensor use more power than others, which will in turn use more battery. Check the Diagnostics page and look at the value for Proximity sensor power usage and Gravity sensor power usage. Change your lock method to only use whichever sensor has the lower value. Consider trying the accelerometer to save battery.
Why does my phone turn off in the dark?
That's your phone manufacturer cheaping out by not using a quality proximity sensor! I would suggest changing your lock method to not use the proximity sensor.
Excluded applications doesn't work!
Recent versions of Android broke the original way Pocket Lock detected what application was running. Please try out excluding at least one app before buying pro If you've bought pro and excluded apps doesn't work, forward your order confirmation to [email protected] and I'll refund you.
What if I only want Pocket Lock to lock/unlock my phone?
In the lock method setting, you can change the locking sensor or unlocking sensor to "Do not lock" or "Do not unlock"
What apps are Pocket Lock incompatible with?
Pocket Lock may not play well with apps like No Lock, SkipLock, custom lock screens, or anything that messes with the lock screen or how the phone locks. Pocket Lock should not cause problems for other apps, though, because it's nice
How can I make Pocket Lock work with delayed lock/smart lock/custom lock screens?
Enable the "Alternate screen off method" setting. Note that the screen may now take a few seconds to turn off.
Why does Pocket Lock need the permission "Device ID & call information: read phone status and identity"?
This is so that Pocket Lock can detect when you're in a call and not lock your phone.
Why does Pocket Lock need the permission to modify system settings?
This is only used if you use the Alternate screen off method. Instead of force-locking your screen, Pocket Lock simply changes your screen timeout to zero, then back to your original setting after locking.
Reserved
Privacy policy:
Pocket Lock does not store or transmit any of your data. Pocket Lock doesn't even access the internet. Pocket Lock only records one statistic: the number of times it has locked or unlocked your phone. The only way this is used is to display to you in the app.
Upcoming features:
Battery analysis: helps you customize settings to use the least amount of battery
Beta downloads:
None at the moment
Add an Active Screen based element. IE enable unlock method on notifications for a set amount of time. Also Pocket Mode (notifications turn screen on unless in the pocket). User could configure ongoing and low priority?
Last but not least: Blacklist
ahrion said:
Add an Active Screen based element. IE enable unlock method on notifications for a set amount of time. Also Pocket Mode (notifications turn screen on unless in the pocket). User could configure ongoing and low priority?
Last but not least: Blacklist
Click to expand...
Click to collapse
Thanks for the suggestions! The blacklist is definitely on the to do list, though I want to make sure the basic functionality works well before starting on that. Pocket Mode is something I hadn't thought of that I'll have to look into. Right now, the app will relock the screen if a notification turns it on, though. Active screen is a cool idea, but I'm not sure if Pocket Lock's purpose warrants adding something like that. I believe there are already pretty good apps for that and Pocket Lock plays well with them. You can set Pocket Lock to just lock the screen and then those apps can unlock when they need to.
Must enter patern after every unlock?
This app sleeps and wakes display fine. However on every wake I must enter my pattern to unlock it. Is this by design?
whomiketodd said:
This app sleeps and wakes display fine. However on every wake I must enter my pattern to unlock it. Is this by design?
Click to expand...
Click to collapse
Right now, that is how it works, yes. Eventually I will add some sort of delayed lock, like Android has naively, but for now, this most closely stimulates pushing the power button. If I just turn off the screen instead of locking the screen, Android may not enter a low power state. Thanks for using Pocket Lock!
Does this cause wakelocks to keep the screen active? How bad is it for battery life?
12gage said:
Does this cause wakelocks to keep the screen active? How bad is it for battery life?
Click to expand...
Click to collapse
Pocket Lock does not use any wakelocks when the screen is on and only very briefly uses a wake lock when unlocking the screen (probably under 100ms). The biggest concern in terms of battery life is how much power your phone's sensors use. Generally, proximity sensor use less power, so if you're worried about power usage, change your lock method to only use the proximity sensor.
You can also check how many milliamps your sensors use on the Diagnostics page in the app.
Working great mate, I will be running it to see how well it works for my uses. Previously I lost my power button on my s3, since then I have been using a gestures to lock. With the home button being my goto button, well I would hate to lose it!
Hopefully this will be battery friendly and efficient for my uses. Thanks mate!
Sent from my SAMSUNG-SM-G900A using XDA Free mobile app
kalans said:
Working great mate, I will be running it to see how well it works for my uses. Previously I lost my power button on my s3, since then I have been using a gestures to lock. With the home button being my goto button, well I would hate to lose it!
Hopefully this will be battery friendly and efficient for my uses. Thanks mate!
Sent from my SAMSUNG-SM-G900A using XDA Free mobile app
Click to expand...
Click to collapse
Hey, great to hear! If you go to the Diagnostics page in the app and tell me the values for Proximity sensor power usage and Gravity sensor power usage, I can give you an estimate of how much power the app uses and what combination of sensors will use the least power.
Just uploaded the latest update onto the Google Play Store! Let me know what features you'd like to see in the next update. Right now, I'm thinking I'll add the option to use the accelerometer instead of the gravity sensor (saves power), and the option to change the proximity sensor sampling rate.
I tried your app yesterday and while it locked the phone just as expected when I put it in my pocket it took very long (about 2 seconds) to turn on the screen when I took it out of the pocket. I changed the turn on time to very low value (20ms) but that didn't change anything. Will see what the new update brings and if that changes anything.
adl said:
I tried your app yesterday and while it locked the phone just as expected when I put it in my pocket it took very long (about 2 seconds) to turn on the screen when I took it out of the pocket. I changed the turn on time to very low value (20ms) but that didn't change anything. Will see what the new update brings and if that changes anything.
Click to expand...
Click to collapse
Hmm, that's rather strange. What phone are you using? It's possible that Android is slowing down the sensor events when the screen is off to save battery, so it might have taken a while to detect it was out of your pocket.
PaeP3nguin said:
Hmm, that's rather strange. What phone are you using? It's possible that Android is slowing down the sensor events when the screen is off to save battery, so it might have taken a while to detect it was out of your pocket.
Click to expand...
Click to collapse
It's a Nexus 5 running the Slimkat Custom ROM. Not sure if that's helping...
I am trying the all "gravity screen on" now and it's turning the screen on instantly, so sensors shouldn't be the problem.
adl said:
It's a Nexus 5 running the Slimkat Custom ROM. Not sure if that's helping...
I am trying the all "gravity screen on" now and it's turning the screen on instantly, so sensors shouldn't be the problem.
Click to expand...
Click to collapse
Hmm, strange. In the Pocket Lock settings, what is your lock method set to?
PaeP3nguin said:
Hmm, strange. In the Pocket Lock settings, what is your lock method set to?
Click to expand...
Click to collapse
I left it on standard, so both methods.
I didn't change any other setting, only the setting I mentioned above. Well try the new version as soon as I see it in playstore (shows old version so for).
EDIT:
New version seems to work better/faster. I still uninstalled it, as i found out that for my phone usage i am better off without an automatic on/off app. I usually have my phone in the backpocket and before i sit down i take it out but don´t want it to turn actually on or i carry the phone around in my hands.
Anyway good luck with the app!
adl said:
I left it on standard, so both methods.
I didn't change any other setting, only the setting I mentioned above. Well try the new version as soon as I see it in playstore (shows old version so for).
EDIT:
New version seems to work better/faster. I still uninstalled it, as i found out that for my phone usage i am better off without an automatic on/off app. I usually have my phone in the backpocket and before i sit down i take it out but don´t want it to turn actually on or i carry the phone around in my hands.
Anyway good luck with the app!
Click to expand...
Click to collapse
Good to hear the new version is working better. Hey, thanks for using Pocket Lock!
New update just uploaded. I've sort of given up on the gravity sensor. Even though it's supposed to be more accurate, it tends to use way more power and seems to have problems on Samsung phones. The next update will default to using the accelerometer, though there is an easy checkbox to disable that change.
Could you guys let me know what the Gravity sensor power usage and the Accelerometer sensor power usage values in the Diagnostics screen show? I'm pretty sure that the accelerometer should universally use less power.
Just downloaded this a few hours ago and it's been great. The app UI itself is nice, too!
I particularly like the vibrate/sound on lock and unlock. Any chance you'd let us pick our own sound in the future?

Categories

Resources