You can enable the option of setting the "Turn off device if not used for" to 40 seconds on battery power in Power>Advanced by modifying the following registry:
HKLM\Software\HTC\Power\Hide40SecondsBatteryTimeout = change to 0, (default is 1).
Another thing (although not useful) if you change the following:
HKLM\Software\HTC\Power\EnableAutoHideBacklightSlider = change to 0, (default is 1).
Then in Power>Backlight, when you check on the auto adjust backlight, the two sliders for the light adjustment would not disapear.
Does a fast click on the power button also turn off the device?
Or does it do something else like just turn off the screen?
turn off the screen
Related
I found this regedit on the "tiltuser" side.
HKCU/ControlPanel/Backlight/Locklevel
Change from 0 (default) to "whatever brightness you want" 0-10 and screen adjusts brightness when tabbed while phone is locked or in screen-saver.
Well if I set it i.e. to 7 AND have S2U2 active it SWITCHES the light on to the set brightness (VERY convenient outside) BUT S2U2 will lock more or less immediately again. It will continue to lock until you soft reset.
Any idea what I do wrong. I searched the S2U2 thread in the general forum section but didn't find a hint.
I watch videos on my phone a lot but the trackball light and button lights annoy me I used the app Adj Brightness but it dosent allow trackball support so my trackball glows anyone know how to turn it off?
shyam101 said:
I watch videos on my phone a lot but the trackball light and button lights annoy me I used the app Adj Brightness but it dosent allow trackball support so my trackball glows anyone know how to turn it off?
Click to expand...
Click to collapse
Go to settings, CM settings, enable custom brightness, and then edit values. Change all the values on the far right to 0, and then save. No more bottom leds!
I've been messing around with this app obsessively for a few days as a possible replacement for the Gear wake-up gesture. The app seems to be great for two things...
1.) Screen turns off immediately as you start to lower your arm instead of the watch having to wait a minimum of 5-7 seconds
2.) Keep Screen ON by Motion option to prevent a screen timeout for as long as you are looking at it.
I've realized however that the "Turn screen on by motion" option uses more energy and is NOT a good replacement for the normal wake-up gesture found in gear settings. The normal wake-up gesture seems to be better optimized for the watch. No matter how many times i've tried to set up Gravity Screen to do the same thing, the angles don't work right and the screen comes on a lot when it shouldn't.
So i've combined the two...using the wake-up gesture of the gear (keeping the "screen on by motion" unchecked in Gravity screen) and utilizing the Screen Off feature and "Keep Screen ON by motion" feature of Gravity Screen. This has worked the best for me.
Here are the settings i use for everthing...
In the Gear settings:
-Set screen timeout to 7 seconds or whatever you prefer (not important if you keep Gravity Screen running all the time)
-Wake-up gesture set to "Last screen viewed".
(I simply turn off Wake-up gesture and pause Gravity Screen before going to bed... Still looking for a way to toggle these actions as a widget without having to go into settings everytime. Possibly tasker could do it? If anybody knows a way please tell me!)
In the Gravity Screen settings from top to bottom:
Pocket Sensor = 90 degrees
Table Sensor = 90 degrees
Keep Screen ON by Motion = checked
Sensitivity set = 100
Booster = checked
Running During Call = checked (your preference)
Notification = checked
Low Priority (hide icon) = checked
Start at boot = checked
(Everything else leave unchecked)
So that's it. Manually turning on/off the screen is always the best battery saver...but if you want to have the automatic wake-up then using either the app or the gear settings by themselves isn't as good on battery as combining the two as I have described. Let me know what you guys think.
Thanks for sharing your findings.
I have a shake left right task to change my brightness on my phone. I have a BT Connected profile that is set up for connection to my car's Bluetooth that turns off wifi, sets brightness, etc. Problem is if I hit a bump, my brightness changes due to the shaker profile. I've tried multiple ways of setting in my BT Connected profile to toggle the shake left right profile off when connected to my car. Is there a way to do this? If not I have to turn it on and off manually. I apologize if this has been covered somewhere else.
Thanks in advance
Make an "if" condition in your brightness task using %pactive. It should be: if %pactive doesn't match *,yourbtprofilename,*
Good luck
shaggydiamond said:
Make an "if" condition in your brightness task using %pactive. It should be: if %pactive doesn't match *,yourbtprofilename,*
Good luck
Click to expand...
Click to collapse
So this does not seem to be working correctly. I have made a "if" condition, but it either doesn't work or just breaks the shaker all together. I have moved the "if" (line 9) to any and all lines, but it still is not working correctly. For some reason I cannot submit a screen shot, even though I have been on this forum for years...
1. If V
%BRIGHT ~ 255
2. Display Brightness
Level 35
3. Display Timeout
Secs 0 Mins 1 Hours 0
4. Else
5. Variable Set
Name %Bright To %Bright
6. Display Brightness
Level 255
7. Display Timeout
Secs 0 Mins 1 Hours 0
8. End If
9. If V
%pactive !~ BT Connected Bose AE2 Soundlink
Am I missing something?
Thanks again
masked_hacker said:
So this does not seem to be working correctly. I have made a "if" condition, but it either doesn't work or just breaks the shaker all together. I have moved the "if" (line 9) to any and all lines, but it still is not working correctly. For some reason I cannot submit a screen shot, even though I have been on this forum for years...
1. If V
%BRIGHT ~ 255
2. Display Brightness
Level 35
3. Display Timeout
Secs 0 Mins 1 Hours 0
4. Else
5. Variable Set
Name %Bright To %Bright
6. Display Brightness
Level 255
7. Display Timeout
Secs 0 Mins 1 Hours 0
8. End If
9. If V
%pactive !~ BT Connected Bose AE2 Soundlink
Am I missing something?
Thanks again
Click to expand...
Click to collapse
Much better to post the actual profile when it's not working as expected. Make sure it's named - not a default name assigned by tasker. Then long press on the name to highlight the profile. Go to the 3-dot menu and select export -> Description to Clipboard.
Then you'll be able to paste it. Be aware, it easier to use pastebin.com then link to a post here. If you paste in a post here, the forum software will convert all semicolons with characters after, typically "on" and "off" to emoticons making it very hard to read.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
masked_hacker said:
So this does not seem to be working correctly. I have made a "if" condition, but it either doesn't work or just breaks the shaker all together. I have moved the "if" (line 9) to any and all lines, but it still is not working correctly. For some reason I cannot submit a screen shot, even though I have been on this forum for years...
1. If V
%BRIGHT ~ 255
2. Display Brightness
Level 35
3. Display Timeout
Secs 0 Mins 1 Hours 0
4. Else
5. Variable Set
Name %Bright To %Bright
6. Display Brightness
Level 255
7. Display Timeout
Secs 0 Mins 1 Hours 0
8. End If
9. If V
%pactive !~ BT Connected Bose AE2 Soundlink
Am I missing something?
Thanks again
Click to expand...
Click to collapse
Below 9 is where you want your task! With 9 you're saying 'if'. Task #10 and up is your consequence of that. Try a more simpler task to get to know 'if' and 'else'. Then try again with this task. Basically: 'if condition' - task - task - 'end if'. You can put more 'if conditions in between if you want.
masked_hacker said:
I have a shake left right task to change my brightness on my phone. I have a BT Connected profile that is set up for connection to my car's Bluetooth that turns off wifi, sets brightness, etc. Problem is if I hit a bump, my brightness changes due to the shaker profile. I've tried multiple ways of setting in my BT Connected profile to toggle the shake left right profile off when connected to my car. Is there a way to do this? If not I have to turn it on and off manually. I apologize if this has been covered somewhere else.
Thanks in advance
Click to expand...
Click to collapse
In your shaker profile if you have an entry task, add an if statement. In here on the variable side put %PACTIVE and use the matches symbol. Then on the right side put *name of bt profile*
Then after that task add a stop task, then end if task.
What this will do is first check if your using you bt connected profile and stop or go depending on if it's active. I hope this makes sense. If not I'll try to write it out more clearly when I get home. You may not need an entry\exit task for your profile if you only have just a group of tasks just add the if part inside one of those tasks
A main disadvantage of the OP7P is the lack of AOD and Led. The ambient display is very short, so you never know if you missed call or message.
Some AOD Apps are heavy battery consumers, or disabling face recognition unlock, OPAODmod block chrome, Plus Beat is reasonable solution, though it is not AOD.
gigiion came up with the idea to trigger the Amolad AOD app to run only if notification was missed, using Macrodroid. Here is the way I implemented his idea, using Tasker:
1. Install Always on AMOLED from google play store. Do not enable the service. For OP7P choose One UI theme.
2. Screen condition
In Tasker, make these two profiles:
- Display off > Veriable set %Screen_Locked ~ 1
- Display Unlocked > Veriable set %Screen_Locked ~ 0
In such way the native ambient display will not interrupt the AOD whet it turn the screen on.
3. Main task
If %Screen_Locked ~ 1
Veriable set %Titel1 to %NTITLE
Veriable set %Text1 to %evtprm3
Wait 15 secondes
From Amolad plugin – start amolad display if %Screen_Locked ~ 1
End if
The variables %Title1 and %Text1, can be used to track the situation that the AOD start without any known trigger. Such phenomenon can happened if WhatsApp notify “Searching for messages”.
The 15 sec delay is for the native ambient display. The double condition of Screen_locked, disable AOD if you unlocked display in this period, of just answer a call.
4. Triggers
Make profiles of event/notification, missed call, state/power/power or whatever you like, and assign to the task you just made. Name those profiles – it is necessary for next stage.
5. Toggle profiles
Make “toggle aod profiles” task:
Profile Status missed_call set toggle
Profile Status aod set toggle
etc ……..
if % PENABLED ~ *,aod,* (“aod” is name of one of the trigger profiles)
setup quick setting (number: 1st, Name: toggle aod profiles, status: inactive)
else
setup quick setting (number: 1st, Name: toggle aod profiles, status: active)
end if
I do not understand way the active/inactive are replaced.
6. Assign quick setting button
In Tasker’s main screen upper right corner three dots: Preferences/ Action tab/ quick setting tab.
Then add it in the quick setting editor.
7. Automatic toggle triggers
Clone the task you made in section 5, and change “toggle” to “on” of “off”, then you can make any profile you like to toggle the triggers.
Seems like alot of work when you can just use this mod.
https://forum.xda-developers.com/on...ice-themes-apps--mods/oxygen-aod-mod-t4023587
hallo dare said:
Seems like alot of work when you can just use this mod.
https://forum.xda-developers.com/on...ice-themes-apps--mods/oxygen-aod-mod-t4023587
Click to expand...
Click to collapse
The main reason that I didn't use it, is the long remind interval (min 15 sec) and the short display time. You can miss notifications if you don't looking into the black screen all the time. Any case I found stable AOD to be better, otherwise i could use Plus beat.