Related
Ok, built a new app phone switcher (flight mode on/off) based on the cell tower location.
System automatically switches the phone OFF based on the time you set when you are at predefined location (Say Home). When you are at home, say from 10:00 PM to morning 6:00 AM no one can call your mobile. But if you are not at home, then phone is ON even at night. This also saves your battery life and privacy too.
It is working on Hermes, and I have tested it on WM5 emulators. Will NOT work on WM2003.
Please check the link to the application under my signature.
I have a question, can it only change to "vibrate" instead of turning off the phone? That would be more appropriate for me. Thanks for your answer
Nice App! How about changing call forwarding (when busy, no answer, etc...) baased on location?
If the phone could forward all calls automatically, or forward when you press "hang up" based on location it would safe battery and reduce radiation using the phone.
szturchen_pl said:
I have a question, can it only change to "vibrate" instead of turning off the phone? That would be more appropriate for me. Thanks for your answer
Click to expand...
Click to collapse
Nice Idea!, I will do my homework to find out what it takes to do that
ahlok_hk said:
Nice App! How about changing call forwarding (when busy, no answer, etc...) baased on location?
If the phone could forward all calls automatically, or forward when you press "hang up" based on location it would safe battery and reduce radiation using the phone.
Click to expand...
Click to collapse
Since the application do not keep polling for location, if it does not know the current location for some reason(reason = In the original post) then there might be problems such as wrongly 'forwarded' calls...
But its a great idea. I keep it in mind
past 21:00 hours
does not seem to work if you go past the apointed hour? radio stays connected
david.dupuis said:
does not seem to work if you go past the apointed hour? radio stays connected
Click to expand...
Click to collapse
Are you saying.. You were not at appointment time at sleeping location... And you came in late... and the phone does not turn off?
If so it is by design.. As i am not keep polling to find out the locaton. Just because then the application has to be running in the background or keep getting activated say for every 5 Minutes.
But let me know if you are saying the samething too.
not shutting off past sleep time
I think we're saying the same thing. Last night I installed the software set the home location and set the sleep time to 21:00 to 6:00. Actual time was 22:00. I expected it to shut down the radio and it did not.
Hi,
does not work for me
Install works fine, Test is OK, device went on Flight Mode and Back.
I set Sleep Location and Times and clicked Enable button.
When I want to save an error occurs lile: "InvalidCastException at Save. Please report this!"
The settings won't be saved then. I tried to manually edit the cnf file with
found cell values and True State, and saved this back to device, but when
time comes, nothing will happen.
I am on Schaps WM6 3.57a german and O2 Germany Provider.
What I was found out is, everytime I start the program it
randomly changes the location behind the dot.
Once it is xxxxx.8311 and the next time it is xxxxx.48311
May this be the culprit?
Any suggestions welcome bc I would really love this tool working
Olioaglio
david.dupuis said:
I think we're saying the same thing. Last night I installed the software set the home location and set the sleep time to 21:00 to 6:00. Actual time was 22:00. I expected it to shut down the radio and it did not.
Click to expand...
Click to collapse
OK for this i have to implement a constant polling mode.. Which i will do it for next release.
Olioaglio said:
Hi,
...The settings won't be saved then. I tried to manually edit the cnf file with
found cell values and True State, and saved this back to device, but when
time comes, nothing will happen.
...Once it is xxxxx.8311 and the next time it is xxxxx.48311
May this be the culprit?
Olioaglio
Click to expand...
Click to collapse
If you don't mind can you send me your cnf file?
Since your Location keep fluctuating... May be its failing to ON/Off
So when you are at home (Sleep Location) and if you keep refreshing the location (Button Refresh Location) you are getting diffent values?
Let me know
Something similar, sort of
I use Teog's CallFilter instead. What I like about it is that I can set the filter to only allow calls through from specific people. This way if there's an emergency in the middle of the night I'll get the call. It doesn't work on a schedule, you have to run it when you want it and disable it when you don't. But it is a simple app that runs with just a click after it's configured and has worked over several different operating systems. Would work well for meetings, movies, etc. too.
tytnguy said:
If you don't mind can you send me your cnf file?
Since your Location keep fluctuating... May be its failing to ON/Off
So when you are at home (Sleep Location) and if you keep refreshing the location (Button Refresh Location) you are getting diffent values?
Let me know
Click to expand...
Click to collapse
Check PM
Olioaglio
Hi tytnguy,
thanks for fast PM. You were abolutely right with the idea of interfering date format. I customized my HTC Home with the SDTe Override string (by HTCustom Proggie) to display the week day, which turned out to be the culprit that your prog did display the error message at Save.
So I deleted this in registry and the app now saves without a glitch. So I set the time (1 minute in the future) again and saved. When the time comes, the turning wheel appears, but nothing happens. I figured out, that the Status page says: "Out of location so NOT switching off the phone", so this is maybe, why the program starts but do not turn to flight mode as suggested.
Since I set the home location and did not even move a meter from this position I cannot imagine, why it does display I am not in the sleep location?!?! Any ideas
Olioaglio
edit: It WORKED now for the first time !!!! Great!!
Just wondering, what happens when I just do the phone in another room in my flat, where maybe it is in another broadcast cell....
Think, it won't work then!! Is it possible to create, let's say, kind of a radius, where the program activates??
So my sleep or home location is maybe a bit more then just one room or even my desk
edit 2: May it work, if I set the SDTe string to override again, after saving correctly? Or will the app then stop working again? Sorry for those dumb questions though.
Thanks anyway!!! Great program!!
tytnguy said:
OK for this i have to implement a constant polling mode.. Which i will do it for next release.
Click to expand...
Click to collapse
Would constant polling mode affect the battery drain significantly?
If yes, I would suggest a check box in your proggy to toggle this option on/off
Just my 2 cents
Olioaglio
Olioaglio said:
...what happens when I just do the phone in another room in my flat, where maybe it is in another broadcast cell....
May it work, if I set the SDTe string to override again, after saving correctly? Or will the app then stop working again? Sorry for those dumb questions though.
Click to expand...
Click to collapse
Olioaglio,
Can you set the home location from the other room?
If you change the date format to someother non standared format it will not work. Since program needs to keep saving the stuff on each try.
Update 1.0.1
Multiple location on the schedule: If you want to set more than one location as you 'Sleep Location' you can do it now. On the sleep location box bring the context menu up, and choose 'Append to location' now add the new location to the list. You can add any number of sleep locations!
Now if you were not at home at set time, system will keep polling based on the poll time you specify. So as soon as you reach home your phone will be switched off.
If you turned on your phone manually after the rk-Sleep set it to flight mode, then your phone remains on till next scheduled sleep session
Olioaglio said:
Would constant polling mode affect the battery drain significantly?
If yes, I would suggest a check box in your proggy to toggle this option on/off
Just my 2 cents
Olioaglio
Click to expand...
Click to collapse
Olioaglio,
No it should not make any significant affect on the battery.
I have programmed it to poll only on sleep time if you are not at home. But since I am not running the program in the background, it is ok.
The new update I release just keeping your problem in mind. So you go to both your rooms where you get different towers. Update both as your sleep location.
tytnguy said:
Olioaglio,
No it should not make any significant affect on the battery.
I have programmed it to poll only on sleep time if you are not at home. But since I am not running the program in the background, it is ok.
The new update I release just keeping your problem in mind. So you go to both your rooms where you get different towers. Update both as your sleep location.
Click to expand...
Click to collapse
Thanks, will monitor it...
Olioaglio
UPDATE:
OK, tested it now... Dude, the 1.0.1 really works like HELL!! I'm totally satisfied for now.
The Append function is very good thing, since I found 8 (!) different cell locations (about 3 with GSM and 4 with 3G) in my 3-room flat. They are always fluctuating even at the same place, so maybe this was the problem of the others, who tested the program with having only one location saved. But with the Append function AND the new Poll function (which also works great), it absolutely ROCKS!! Had no problem with several tests. Battery consumption with poll function really does NOT seem to be more than without poll.
Just some suggestions if you plan to make updated release. The Append function is not easy to find, I had to read your instructions three times to get it. Maybe you'll find another way. Also an extra tab with a list of all appended cells would be appreciated.
I would have another idea for an "extended" flight mode. Maybe you could add some checkboxes for Phone, Bluetooth, Wlan and Beam for - lets say - "Extended Flight Mode" options. So one could save even more battery as with just the phone function off. With the checkboxes you would have the choice what to turn off/on, when rk-Sleep will engage.
Best regards,
Olioaglio
tytnguy what about vibration mode? have you had time to check into that? Regards
My wife has a Captivate Glide running UCKL1 (2.3.36.3). She has changed the screen timeout to 2 minutes, but for some reason it periodically gets reset to 15 seconds. We've installed just a few apps from the Play Store (all of which are also installed on my SGS2 and it's not doing this), and some searches pulled up an app called Screebl that would cause this, but that's not installed on her phone. I tried rebooting it, and it stayed set at 2 minutes.
Has anyone seen this? My searches didn't really turn up much, at least for this phone or phones without Screebl installed.
mvi57 said:
My wife has a Captivate Glide running UCKL1 (2.3.36.3). She has changed the screen timeout to 2 minutes, but for some reason it periodically gets reset to 15 seconds. We've installed just a few apps from the Play Store (all of which are also installed on my SGS2 and it's not doing this), and some searches pulled up an app called Screebl that would cause this, but that's not installed on her phone. I tried rebooting it, and it stayed set at 2 minutes.
Has anyone seen this? My searches didn't really turn up much, at least for this phone or phones without Screebl installed.
Click to expand...
Click to collapse
I think it's the powersaving mode. When it activates it sets the screen timeout to 15 seconds.
tcfx44 said:
I think it's the powersaving mode. When it activates it sets the screen timeout to 15 seconds.
Click to expand...
Click to collapse
Thanks. It was set to go into power saving mode at 50% battery, and was set to that out of the box. I set it to 30% for now.
Powersaving mode is a bit of a waste of time because there's no trivial way to set everything back to your preferred settings once you've recharged
Sent from my SAMSUNG-SGH-I927R using xda app-developers app
Shame there's no way to specify a percentage to start powersaving mode at, like 20% or 25%, instead of just having 10%, 30%, 50% and 70%. If anyone knows of a way to do this I'd love to hear about it.
Hi everyone,
SnooZy Charger is an open-souce (GPLv3) Android app I developed initially for a friend whose Galaxy Nexus phone had battery issues due to the Gnex ghost connections!
Some devices randomly detect a power connection without any charger being actually connected to the phone. This would drain the battery because of the screen turning on to display the "Charging" message, multiple times per hour till screen timeout.
The app runs as a background service, listening to power (dis)connections. The event is logged into a power connection history (can be useful!) and the screen is turned off to save battery consumption by the display.
The APK and source code are available on GitHub. Scan the QR Code to download for free on the Playstore.
Attached files:
Installable APK
Screenshots
Playstore QR Code
Feedback, comments and suggestions are most welcome! Please take into consideration that this is still a beta version...
thanks,
mudar
I never knew that my phone had the ghost charging problem this bad. In 2 hours I had 1247 events, thats way too much. I didnt even touch the phone and it dropped 30% battery. The app is a bit aggresive I know its still in beta but this is what I saw. It turns off my acreen real fast when I'm in the lockscreen, sometimes it takes me up to 3 times to unlock my phone because the phone's screen turns off fast.
Btw: The app is really sinple to use and I like the holo style it is very clean looking, thanks for your time and effort, hopefully you are able to find a solution for this problem.
droid4lif3 said:
I never knew that my phone had the ghost charging problem this bad. In 2 hours I had 1247 events, thats way too much. I didnt even touch the phone and it dropped 30% battery. The app is a bit aggresive I know its still in beta but this is what I saw. It turns off my acreen real fast when I'm in the lockscreen, sometimes it takes me up to 3 times to unlock my phone because the phone's screen turns off fast.
Btw: The app is really sinple to use and I like the holo style it is very clean looking, thanks for your time and effort, hopefully you are able to find a solution for this problem.
Click to expand...
Click to collapse
Thanks for your comments
I never imagined that events could occur so often! I'll look into a cleaner way to do the screen lock, to be able to handle that frequency.
Technically speaking, the app does not handle screen on/off:
App listens to power connection/disconnection
OS turns the screen ON on power connection
App, afterwards, locks the phone. This is based on settings (is phone locked? Is it power loss?)
Locking the phone, turns the screen off.
The more efficient way would be to tell the OS not to turn the screen ON on power connection/disconnection (if the screen is turned OFF). However, I don't have the impression the Android SDK allows such functionalities!
It will probably be simpler to add Screen lock aggressivity (0, 2 o5 seconds) in settings, which would define the delay between consecutive screen locks.
Will see what I can do!
Cyanogenmod has a feature to not wake the screen on power connects/disconnects as well. Good idea with the app for everyone else!
I had this issue and it was caused from my phone getting moisture, not exactly wet but having it in my pocket from sweating or being in the rain. I dried it out with a blow dryer and haven't had this issue since. Also I used alcohol and cleaned the battery port from corrosion and that seemed to really do the trick.
Great app though in case I am wrong about my phone I can surely use it. thanks for sharing!
jmdsdf said:
Cyanogenmod has a feature to not wake the screen on power connects/disconnects as well. Good idea with the app for everyone else!
Click to expand...
Click to collapse
Is this feature added in cm 10.1? cause I am using cm 10 and I didnt find this anywhere. can you tell where can I find it
nachiket_xda said:
Is this feature added in cm 10.1? cause I am using cm 10 and I didnt find this anywhere. can you tell where can I find it
Click to expand...
Click to collapse
Settings>Display and lights>wake on plug
App Updated
droid4lif3 said:
I never knew that my phone had the ghost charging problem this bad. In 2 hours I had 1247 events, thats way too much. I didnt even touch the phone and it dropped 30% battery. The app is a bit aggresive I know its still in beta but this is what I saw. It turns off my acreen real fast when I'm in the lockscreen, sometimes it takes me up to 3 times to unlock my phone because the phone's screen turns off fast.
Click to expand...
Click to collapse
Version 1.0 released!
I've added a new setting: Screen lock delay. Values available are Immediately / 3 sec / 5 sec. [screen capture attached]
This should solve the locking too fast on phones with furious ghost charging like yours Thanks again for your feedback!
https://play.google.com/store/apps/details?id=ca.mudar.snoozy
https://github.com/mudar/SnooZy
http://snoozy.mudar.ca/
mudar
nachiket_xda said:
Is this feature added in cm 10.1? cause I am using cm 10 and I didnt find this anywhere. can you tell where can I find it
Click to expand...
Click to collapse
It seems to me that Wake on plug (Settings/Display and lights) has be introduced in CM 10.2 and possibly for some unofficial CM 10.1
Such a feature does solve the battery drain issue in a better way, but SnooZy can still be useful for unrooted phones!
mudar
New Version 1.2
New version released, version 1.2
Changelog:
Control cache history age in Settings (7, 14 or 30 days).
Display is not turned off when incoming call.
Updated text descriptions.
Norwegian translation by Aeyoun.
APK attached here. Update is also available on the playstore
New Version 1.5, Material Design
Version 1.5 released. Changelog:
Updated to Material Design!
Added "Connection status" setting: power connection, disconnection or both
Added "Charger type" setting: AC adapter, USB, Wireless, all
Select custom notification sound
Added "no history" option
APK and screenshots attached here. Update is also available on the playstore
oreo
mudar1488 said:
Version 1.5 released. Changelog:
Updated to Material Design!
Added "Connection status" setting: power connection, disconnection or both
Added "Charger type" setting: AC adapter, USB, Wireless, all
Select custom notification sound
Added "no history" option
APK and screenshots attached here. Update is also available on the playstore
Click to expand...
Click to collapse
i never needed this app until yesterday when i updated to oreo from nougat. but lineage oreo (unofficial) seems to have removed or maybe just moved the option to not wake the screen on charge and as i use wireless charging that tends to connect / disconnect regularly it was driving me crazy until i found this app to keep the screen off. works great for me and on oreo :laugh:
Wrong version
mudar1771 said:
Version 1.5 released. Changelog:
...
APK and screenshots attached here. Update is also available on the playstore
Click to expand...
Click to collapse
The linked version is not 1.5 but 1.2
I´ve got version 1.54 from this link.
Is there a way to keep the screen from dimming after a period of time? I set it to never turn the screen off while charging, but it still dims while the music app is up when it's charging in the car which is annoying. I can't find the setting anywhere in LG's settings or in tweaksbox.
I tried Lux as others have suggested but it still dims in my truck. Very annoying.
This app has helped for me: https://play.google.com/store/apps/details?id=com.synetics.stay.alive
My screen doesn't dim ... did you turn off Auto brightness?
What would cause it to dim by itself? I only run at 61% brightness so maybe I haven't experienced this yet
My auto brightness is off and it still dims. Lux auto is on or off and it still dims.
Kujila said:
My screen doesn't dim ... did you turn off Auto brightness?
What would cause it to dim by itself? I only run at 61% brightness so maybe I haven't experienced this yet
Click to expand...
Click to collapse
Yup, I always have auto brightness off. It just dims after a minute or so of no input - which happens while I'm driving. I always keep it at 100% unless I'm in the dark which may be why you haven't noticed it - the screen may dim to around 60% anyways. I find it weird that you can't adjust how long it waits to dim, or turn that feature off. I'm guessing this is part of LG trying to help with battery life.
DroidApprentice said:
This app has helped for me: https://play.google.com/store/apps/details?id=com.synetics.stay.alive
Click to expand...
Click to collapse
Thanks, I'll check that out when I get a chance.
Hmm weird. I wonder if this is the overheating issue I read about
Kujila said:
Hmm weird. I wonder if this is the overheating issue I read about
Click to expand...
Click to collapse
I've only ran into that a couple times and the screen dimmed to 90-95% and I had to manually turn it back up. This is different where it goes bright again as soon as I touch the screen and the dimming is much darker than 90% - more around the 50% ballpark.
Wow, yeah that sounds extreme...
I know it's a pain, but have you considered doing a hard reset to see if it is indeed setting/software related?
If the OP was referring to the "Screen brightness lowered due to high temperature" message.
Go into the hidden menu by typing 3845#*855# (replace 855 with your devices model number, mine is a D855).
Then scroll down to Thermal Daemon Mitigation OFF and make sure it is enabled (on).
Reboot the device and you can now force maximum brightness all the time.
Kujila said:
Wow, yeah that sounds extreme...
I know it's a pain, but have you considered doing a hard reset to see if it is indeed setting/software related?
Click to expand...
Click to collapse
I actually had to get a second phone a week ago because I cracked my screen (a few hours before my protector came in the mail). At least it was early enough that I got a brand new phone through insurance instead of refurbished, but both phones do it. Could be a Sprint vs Verizon difference - Verizon likes to go crazy with phone mods lol. Though I don't normally run into it with normal usage - only when the screen is set to stay on while charging through the developer option and I'm driving with music.
Mine does that. Sprint phone, happens after a minute of no input, including when the screen is set to stay always on. However, I notice this doesn't happen when running Maps.
I've already gone through two phones, same on both.
WillJeepForFood said:
Mine does that. Sprint phone, happens after a minute of no input, including when the screen is set to stay always on. However, I notice this doesn't happen when running Maps.
I've already gone through two phones, same on both.
Click to expand...
Click to collapse
There are certain apps - and Maps is definitely one - which will not allow the screen to dim or the device to sleep. (YouTube is another for example, also iHeartRadio, etc.) Really the best thing to do is mod using something like Tasker or Stay Alive! as I mentioned in an earlier post for specific apps. I use mine for the Music app since typically I've got mine on the car charger and dash mount and it makes no sense to go through a whole screen unlocking routine to fully operate music after a while.
I've just set up my phone, and from all the videos never seen anyone comenting on the LTPO panel refresh rate. Tested the screen by enabling the FPS counter in developer settings and noticed it never goes down to 10hz. Even worse - always on stays locked at 120hz and home screen locks at 60hz. Is there something I am missing, or is it a bug?
IvanPTachev said:
I've just set up my phone, and from all the videos never seen anyone comenting on the LTPO panel refresh rate. Tested the screen by enabling the FPS counter in developer settings and noticed it never goes down to 10hz. Even worse - always on stays locked at 120hz and home screen locks at 60hz. Is there something I am missing, or is it a bug?
Click to expand...
Click to collapse
I've seen on other device threads were the built in FPS counter doesn't show the actual refresh rate and only bounces between those two. Can't recall what method was used but there are other apps that will display the proper info.
I see. I read on the Xda review, that it fluctuates between 60-120 so wanted to test and see if thats true, as I would imagine it dropping down to 10hz would be way better for battery performance.
This review is confirming that too. The variable refresh rate is definitely broken...
JDUS said:
This review is confirming that too. The variable refresh rate is definitely broken...
Click to expand...
Click to collapse
As I understand it, SurfaceFlinger only sees 60 and 120, but can't see below 60. It is the display controller that sees below 60, so I suspect the Poco X3 has a different display controller than the Pixel 6 Pro. I think the Pixel 6 Pro would have to have a different display controller to allow the the developer options refresh rate to display anything below 60.
Anyone having an issue where the phone just drops down to 60hz even thou the slider is set on 120hz?? Happens about once a day for me the only way to fix it is a reboot
Joelbrentbell said:
Anyone having an issue where the phone just drops down to 60hz even thou the slider is set on 120hz?? Happens about once a day for me the only way to fix it is a reboot
Click to expand...
Click to collapse
Are you using tasker? I noticed in tasker that one of the tasks I had running dropped the display down to 60hz. Either that or it lowered performance in some way.
I am not using tasker the phone is 100% stock don't know why I'm having this issue
The Oneplus 9 Pro was meant to go down 1Hz when looking at static content but no one can verify that, according to GSM Arena.
If the static content can be a GIF image, one can easily verify the 1 Hz claim if the GIF updates only once every second.
The LTPO display seems a mess. Totally broken.
https://twitter.com/i/web/status/1455577873209864198
Joelbrentbell said:
Anyone having an issue where the phone just drops down to 60hz even thou the slider is set on 120hz?? Happens about once a day for me the only way to fix it is a reboot
Click to expand...
Click to collapse
yes, i am having the exact same issue.
i reckon it could be due to some app which hangs in the background as i already witnessed that if you listen to telegram or whatsapp voice messages and minimize the messenger app, you get the same issue.
I truly am not a person who feels I need to point fingers at the competition in order to feel better, but this is interesting: Samsung attempts to explain Galaxy S22 screen refresh-rate shenanigans