Script for managing backlight and power off settings - 8525, TyTN, MDA Vario II, JasJam General

Hi,
Anyone know how to create a script that sets the backlight to always on, and the sleep option to not to sleep?
I need this because I, as many of you, have a bluetooth gps. Everytime I want to use it I need to go to settings and manually set these settings in order to have the screen always on so I can see the maps while I'm driving.
Many thanks
Chris

have a read through this thread
http://forum.xda-developers.com/showthread.php?t=289197&page=2

AWESOME!
Many thanks!
FYI, I did search the forum.. but it seems that not enough...

Related

backlight always on

Hey, i have a navigation software installed on my phone, but after max 5 minutes my display automatically turns off. Is there any way to prevent this from happening?
I've read that i have to set "Backlight always on" somewhere. But if i goto the Energy option then i dont see any option like that anywhere...
I also have Advanced Config Tool installed but couldn't find an option for this on that program either.
So can you guys pls tell me where i can find this option...?
CannonballOx said:
Hey, i have a navigation software installed on my phone, but after max 5 minutes my display automatically turns off. Is there any way to prevent this from happening?
I've read that i have to set "Backlight always on" somewhere. But if i goto the Energy option then i dont see any option like that anywhere...
I also have Advanced Config Tool installed but couldn't find an option for this on that program either.
So can you guys pls tell me where i can find this option...?
Click to expand...
Click to collapse
Go to Start/Settings/System/Power/Advanced and untick the option to turn off device after a period of time
Thanks! Found it!

Turn off vibration in keyboard, but not elsewhere.

Hi guys,
Ran a search for this but couldn't find the solution. I am able to type quicker with the vibration feature turned off, but I really like it when I am using the rest of the phone.
Is it possible to just turn the feedback off for the keyboard, but leave it active in Sense and everywhere else.
Max.
max1274 said:
Hi guys,
Ran a search for this but couldn't find the solution. I am able to type quicker with the vibration feature turned off, but I really like it when I am using the rest of the phone.
Is it possible to just turn the feedback off for the keyboard, but leave it active in Sense and everywhere else.
Max.
Click to expand...
Click to collapse
Use BSB Tweak is 1 option!
I'm not seeing this in BSB to JUST turn off the keyboard vibration?
May be you can try this which is provided by MIRI
forum can be found here
Good luck
Have any luck?
If it's for HD2, go to the settings tab, personalize, then vibration.

My Solution to Help Stop Screen Freezes (Tasker app)

Since a lot of people suggest disabling the g-sensor to prevent the screen freezes I thought I'd try something.
I don't want to have my rotation disabled as it's very handy to have. So what I do is use an app called Tasker. It's not free, but there is a 7-day trial available.
Basically I have it set to disable screen rotation every time the screen is off..and so far I haven't had any screen freezes. It may be coincidence, it may not be. I'm not exactly sure if the app does disable the g-sensor or does something else, but so far so good.
For those that don't know about Tasker...it's probably the best app that will ever be made for Android. You can make your phone do almost anything.
For example, I use it to:
When I get home, Wifi turns on and 3G is turned off. When I leave home, Wifi turns off and 3G turns on....same for work.
I have it disable wifi, 3g and screen rotation at night when I'm in bed.
It enables GPS when I launch maps or navigation, and disables GPS when I close the app.
And those are very basic ones...
The Tasker wiki has many more advanced "profiles" you can use:
Code:
Lock An Application
Start the Day with a Particular Application
Battery Full Alert
Launch Music App When Headset Inserted
Launch Menu of Music Apps When Headset Inserted
Keep screen awake when using the keyboard
Speaking Clock for Android 1.5
Control Keyguard (scroll to unlock) when Power is Connected/Disconnected
Keep Multiple Backups of Tasker Config
Change Ringtone on Every New Call
Mute in Meetings
Hold Ringer Volume Down
Auto-Respond To SMSs At Night
Change Volume Levels during Different Times of the Day
Check Data/SMS/Minute Usage With Carrier While Sleeping
Temporarily max brightness of screen during Incoming Call
Auto (Silent) Sleep Mode with Exceptions
Intermediate
Power Plug In - Choose Car/Home/Night Mode
Generic Toggle Widget
Open the keyboard and start texting
Set volume then Launch menu of music apps
Alarmclock without Snooze
Alarms with Snooze and Vibrate
Geburtstagserinnerung (German)
Car Locator
Notification Reminder Pulse
Locate your phone using SMS and google maps
Lock your phone and locate it by SMS and sound
A full talking clock
Act like a docking station when plugged into USB
Auto answer calls when your bluetooth headset is connected
Extended phone profile changer with Notification and Widget
Turn your cell phone into a Voip phone
Advanced
Periodic Data Check (Juicedefender Replacement)
Creates profiles similar to S60 devices and changes them depending on variety of factors
U.S. Navy Ships Bells (Using Tasker's OR '/' feature) * Pattern Matching *
Changing background image depending on current weather (Using HTTPGet)
Or you can simply create your own...there is a learning curve, but once you get a feel for it, it's VERY powerful! It can control almost every part of your Android phone.
There's a decent thread with more examples on xda in this thread.
I realise this is a software post, but it's main aim was to point out a way of disabling rotation to help with screen freezes
Hey,
thanks for this thread, i have downloaded tasker now.
Can you post your code for disabling gsensor when screen is off?
//EDIT: Sorry, its very easy.. i think i can create it by myself
HTC_HDD said:
Hey,
thanks for this thread, i have downloaded tasker now.
Can you post your code for disabling gsensor when screen is off?
//EDIT: Sorry, its very easy.. i think i can create it by myself
Click to expand...
Click to collapse
Hehe yep, it's an easy one.
New Event profile > Display off is the Event. Action is disable rotation
I have done it like you and added a task which enables the rotation if screen is on, is this correct?
I have used the phone now and i got freezes again, but not so much.. i think.
Sent from my HTC Desire using XDA App
HTC_HDD said:
I have done it like you and added a task which enables the rotation if screen is on, is this correct?
I have used the phone now and i got freezes again, but not so much.. i think.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Yep, you also have to create another to say disable screen rotation when the screen is off.
@the_scotsman
Thanks for the suggestion, I've seen a few people mention this app before but now I finally downloaded it. I'll play around a bit to figure out some combos, but one quick question..
Is this going to be something running in the background sucking up battery and memory or is it just like running scripts? What do you think? I'll run current widget once I get some tasks going to see happens, just wondering if you've found anything out yet.
tgtoys said:
@the_scotsman
Thanks for the suggestion, I've seen a few people mention this app before but now I finally downloaded it. I'll play around a bit to figure out some combos, but one quick question..
Is this going to be something running in the background sucking up battery and memory or is it just like running scripts? What do you think? I'll run current widget once I get some tasks going to see happens, just wondering if you've found anything out yet.
Click to expand...
Click to collapse
It depends on what profiles you set up...if they involve wireless, it will enable wireless every so often to check access points etc....or if you are using a location profile, it will enable gps every so often to check your location. You can change how often everything polls in the settings.
I have mine as per the first post, so it does scan for wireless every so often, and I havent seen any change in battery usage.
the_scotsman said:
Yep, you also have to create another to say disable screen rotation when the screen is off.
Click to expand...
Click to collapse
Can you go step by step what you do to set up display off and rotation off?
Hi,
the last NetRipper Kernel has no freezes!!
Is not overclocked, is not undervolted, has no axi and has no freezes.
with friendly greet
starbase64
starbase64 said:
Hi,
the last NetRipper Kernel has no freezes!!
Is not overclocked, is not undervolted, has no axi and has no freezes.
with friendly greet
starbase64
Click to expand...
Click to collapse
Thanks, but i prefer to have axi and undervolt
And I have no freezes
the_scotsman said:
Hehe yep, it's an easy one.
New Event profile > Display off is the Event. Action is disable rotation
Click to expand...
Click to collapse
I can find everything else exept "disable rotation" in Actions. I only found "display rotation" in settings. Any help?
tzic said:
I can find everything else exept "disable rotation" in Actions. I only found "display rotation" in settings. Any help?
Click to expand...
Click to collapse
Yea, thats the one..just choose that one and set it to "off" in the settings for it
ty for the quick reply scotsman, I ll report back in a day or two.
Tried this, but didnt work
I tried many different versions of kernels but in all if I keep my phone on standby (screen off) for a long time, say 20 mins, my phone freezes, My hardware buttons still glow on press, but phone never wakes up, any Ideas??
Even you disable display rotation, the sensor is still active, just use Gscript and disable sensor, you won't get any more freeze.
justwonder said:
Even you disable display rotation, the sensor is still active, just use Gscript and disable sensor, you won't get any more freeze.
Click to expand...
Click to collapse
I was just about to write exactly the same words!
Scotsman - can you tell if Tasker can run a custom written script, upon some event? Then we can use it to turn off the gsensor!
Finally seems to be workin!!I made 2 changes:
1) Upgraded my radio from 2.08 to 2.12 (I recommend this one)
2) Stopped GSensor with Gscript
Another issue,
After I restart the sensor via script, photos in album wont rotate anymore!!
I did a `ps -ef|grep akmd` and the process is running, any thoughts??
edit: it works after restart!!
did you use the free gscript? cause mine says needs su:true
Your solution is great thanks... i did something slightly different : using tasker, autorotation is enabled only for apps that I want too, like gallery. Rest of the time, its off and working great that way too.

[Q] Backlight timet

Can someone tell me how to adjust the backlight timer? I dont like it when I read something and the screen goes black so quickly.
-dan
Did you know you have a settings menu for many things, like how long the backlight stays on? Go explore that menu.
Menu--->Settings--->Display--->Screen Timeout--->you choose the timeout duration...
Sent from my SCH-I800 using XDA App
Sorry for the noobie questions. Next time, I'll make the effort to find the answers on the easy stuff.
-dan
I know your issue was solved, but just thought I would mention that the advanced power app has alot of widgets one of which is the back light timeout on/off. I use that to toggle the back light timer when I am reading on the table.
Thanks. -dan
Hit the thanks button a few times. Glad your question was answered.

Tutorial: Letv Le1s: Reducing battery consumption for non-rooted Le1s

Here are the few tips you could use to reduce the battery consumption for your device. I use it for my Le1s and it helps me, hence I'm sharing it with you.
1) Uncheck "Scanning always available" in WiFi settings.
2) Avoid live wallpapers
3) Use manual brightness feature and uncheck auto brightness
4) Dont need vibration, then switch vibration and hepatic feedback off.
5) Set screen timeout to 15 seconds and increase it if necessary.
6) Switch off the hardware features like WiFi, Bluetooth, gps if not needed
7) Use the battery assistant feature frequently, it helps a lot.
8) Dont use too much of ram consuming widgets
9) Switch off auto-sync and enable it when needed
10) Keep your apps and system firmware updated and to the latest version.
11) Turn off voice commands if not needed, like Google Search commands, Cortana, etc.
12) Dont use app killers or ram optimizers, just swipe away the apps you don't need from the recent menu.
This guide is for people who dont know about the tips. Power users may know about it already.
Note: If you know some more tips, please post it here and I will update this thread with it giving you credits for it.
Hey dude. thanks for sharing that.
PetaX8 said:
Hey dude. thanks for sharing that.
Click to expand...
Click to collapse
You are welcome
@MikeChannon: Will an admin please move this thread to the Le1s sub-forum?
Saw a post about change the scale view Standard to Zoom would help to get battery life, Is that Correct ?
9: how to switch off auto sync ?
just go to settings => accounts management => click onn your gmail or another account you will see the option to turn off the sync
alwynjoshy said:
Saw a post about change the scale view Standard to Zoom would help to get battery life, Is that Correct ?
Click to expand...
Click to collapse
No bro, changing the scale view does help in reducing battery. I just tried but in vain.
sushil888 said:
9: how to switch off auto sync ?
Click to expand...
Click to collapse
Sorry for the late reply bro.I wasnt well so hardly came online.
Goto Settings -> Account Management -> Click on the 3 dot on the top right -> Uncheck Aut0-Sync Data.
Dats it bro.
Your are Wrong about 2nd Option You said,
vishal1286 said:
Here are the few tips you could use to reduce the battery consumption for your device. I use it for my Le1s and it helps me, hence I'm sharing it with you.
1) Uncheck "Scanning always available" in WiFi settings.
2) Use dark colored wallpapers and avoid live wallpapers
3) Use manual brightness feature and uncheck auto brightness
4) Dont need vibration, then switch vibration and hepatic feedback off.
5) Set screen timeout to 15 seconds and increase it if necessary.
6) Switch off the hardware features like WiFi, Bluetooth, gps if not needed
7) Use the battery assistant feature frequently, it helps a lot.
8) Dont use too much of ram consuming widgets
9) Switch off auto-sync and enable it when needed
10) Keep your apps and system firmware updated and to the latest version.
11) Turn off voice commands if not needed, like Google Search commands, Cortana, etc.
12) Dont use app killers or ram optimizers, just swipe away the apps you don't need from the recent menu.
This guide is for people who dont know about the tips. Power users may know about it already.
Note: If you know some more tips, please post it here and I will update this thread with it giving you credits for it.
Click to expand...
Click to collapse
Using of dark colored wallpapers Does not decrease battery conception as it is an ips display phone , the above method you said work Only On AMOLED Display
alwynjoshy said:
Using of dark colored wallpapers Does not decrease battery conception as it is an ips display phone , the above method you said work Only On AMOLED Display
Click to expand...
Click to collapse
Thanks for correcting me. I had edited the topic long time back in Le1s forums but forgot here.
Edit: Deleted the unwanted part.
alwynjoshy said:
Using of dark colored wallpapers Does not decrease battery conception as it is an ips display phone , the above method you said work Only On AMOLED Display
Click to expand...
Click to collapse
closed per OPs request

Categories

Resources