Question Turn on Do Not Disturb manually at night, have it turning off in the morning at exact hour - Samsung Galaxy S22

Before Do Not Disturb even existed I used quite a few apps (llama, Phone Profiles Plus, Sound Profile) to achieve sound management over night. Unfortunately at some points in time some of these failed to work due to more aggressive battery management of my newer phones or after software updates that broke things.
However now I feel that DND provides more options and is a more elegant solution...if it would do what I want.
I would like to turn it *manually* on, go to sleep, and have it turned off at 8:00 AM. Anyone found a way to do that?

You can set a schedule to turn on and off automatically. You can also turn it on manually then set it to turn off automatically. You select how many hours you want it on.

Related

[Q] Auto night powerdown

I have an HD2 with WP7 - XBmod, and it uses a lot off battery power during the night special if I enable Wifi, 3G, Data, bluetooth, GPS...
I know that if I disable all this before I go to sleep all is bether, but life have to be easy!
Is there a sitting or a program that can auto disable all power consuming hardware in a specified time periode. Fx from 23:00 to 07:00?
it might be better to ask in the WP7 HD2 section... but in general, gps isn't on unless an app summons it to be on (even if you leave the use location setting on), and wifi turns off if the phone is not charging and goes to stand by. so that really just leaves 3G and blue tooth that runs whilst your phone is in standby mode.
though there is no setting in particular to do what you want.

[Q] No network connection when using tasker to toggle airplane mode?

Hi, everyone. I have an odd problem that I can't seem to find being addressed anywhere.
I have a couple of simple Tasker profiles that 1) turns on airplane mode when I go to bed and 2) once every hour during the night turns airplane mode off for a few minutes to check for any messages/emails.
The problem is that the phone doesn't appear to get a connection when the second profile turns airplane mode off for those couple of minutes. In the morning when I wake up my phone, I have no notifications, but a couple will pop up a few seconds after I wake it up for emails that were sent several hours ago, indicating that the sync didn't occur until I woke up the phone.
I've run tests to verify that Tasker is indeed activating the profile. I've also run an httpget in that profile to verify that there's no network connection at all. I've even tried running a Secure Settings plugin task to wake the CPU, but that didn't solve it either.
I made a thread in the tasker forums, but no one there seems to have a solution.
It seems like the problem is that turning airplane mode off doesn't "take" when Tasker is toggling it during deep sleep?
I'm rooted running Juggernaut 4.1, faux's kernel, and GideonX's OC/UV VM script.
Thanks
FYI, I found a workaround by using the wake screen option in Secure Settings. It works decently for now (doesn't drain battery as much as I feared), but there is the issue of the screen flashing for a couple of seconds every hour during the night.

Using Tasker to save that battery

Just thought I would post some of my tasker setup to make my battery last a very long time!
First you need Tasker
You also need Secure Settings
And lastly you need Synker
if you want to make my settings super easy to install just download the two attached files and place them on the Sdcard in the Tasker folder.
userbackup.xml
userbackup.xml.txt
then start Tasker, click on the menu button and select Data then restore. This will place all my prebuilt settings in for you.
The first profile I have is Mobile. I have this profile made for when I am in my car but its settings are for anytime power is plugged in.
The things it does is: Turn on GPS, Turn off auto brightness, turn display brightness to max, turn auto sync on, turn media volume to full, turn display time out to one hour.
When unplugged from power it does the following: Turn off GPS, display turns off after 30 seconds, Auto brightness on, Auto sync off, wifi off.
The next setting turns on GPS automatically once maps or navigation is started then turns it off once you exit those apps.
The next one is the big battery saver! When the display is off it Turns off mobile data and wifi.
When the display turns on it will wait five seconds and then turn on mobile data.
lastly I have it setup to turn on mobile data every 2 hours and sync gmail then turn mobile data back off.
I have had tasker for a long time but never really dug into it until I got the SG2. I think this will make your battery last much much longer.
If anyone has better suggestions please add your input.
18.4009
i have the same setup but use juice defender to do the same thing as tasker and synker. it can actually more, like sync more or less at certain times of the day. but i've been thinking about switching to tasker, might be more battery efficient.
i'm using secure settings to turn gps on\off too, based on what applications get run. i noticed the little tray icon only turns on when an app is actively using the gps tho. does that mean gps only uses battery when actually in use? but it seems like i get more battery with it turned off completely.
for mobile, i'm going to attach gps to my car's nfc sticker instead of when plugged in. might be a little faster for charging at home.
i guess you could use secure settings and tasker to only turn nfc on at the lockscreen. although i'm not convinced nfc uses much battery.
lets see... i'm also using tasker to immediately turn off the display if upside down (in my pocket).
it turns data off if i'm reading an ebook or watching a video.
i use it for 1 click switching between 2g and 4g.
i use it to switch cpu max between 192000, 918000, and 1728000. you can get crazy battery life by running 192000 all day, but everything will run slow. usually i keep it at 918000 and play games at 172800.
there are lots of other things, but that's the battery stuff.
18.4009 said:
Just thought I would post some of my tasker setup to make my battery last a very long time!
First you need Tasker
You also need Secure Settings
And lastly you need Synker
if you want to make my settings super easy to install just download the two attached files and place them on the Sdcard in the Tasker folder.
userbackup.xml
userbackup.xml.txt
then start Tasker, click on the menu button and select Data then restore. This will place all my prebuilt settings in for you.
The first profile I have is Mobile. I have this profile made for when I am in my car but its settings are for anytime power is plugged in.
The things it does is: Turn on GPS, Turn off auto brightness, turn display brightness to max, turn auto sync on, turn media volume to full, turn display time out to one hour.
When unplugged from power it does the following: Turn off GPS, display turns off after 30 seconds, Auto brightness on, Auto sync off, wifi off.
The next setting turns on GPS automatically once maps or navigation is started then turns it off once you exit those apps.
The next one is the big battery saver! When the display is off it Turns off mobile data and wifi.
When the display turns on it will wait five seconds and then turn on mobile data.
lastly I have it setup to turn on mobile data every 2 hours and sync gmail then turn mobile data back off.
I have had tasker for a long time but never really dug into it until I got the SG2. I think this will make your battery last much much longer.
If anyone has better suggestions please add your input.
18.4009
Click to expand...
Click to collapse
Hey ,I just wanna say thanks I was getting 8 hours on a Verizon extended battery but now using your settings and tasker plus extra apps I'm getting 14 to 15 ,I just wanted to add that it in order to use secure setting you have to root your phone but it worth it.
Sent from my SGH-T989 using XDA
I just check my battery stat and it up to 21 hours,I cant believe it thanks again
Sent from my SGH-T989 using XDA
Do you still have these backup files? The links are dead when I try them. I would like to try out your settings.
Reupload please
Sent from my SGH-T989 using Tapatalk 2
Code-hunt
First post and it's a necro asking for something. I swear I used to have an account here in high school.
Anyway, I think those files are gone. Every time I come back to Tasker I try to start from the group up and a day later I'm fiending for backup.xmls/txt just whatever you use for your battery, please, just a quick string of code.
Re upload
Backup files

Night Mode for Always on Display

Can anyone tell me if there is a built-in "night mode" on the 2XL? Coming from an S7 Edge there was an option in the settings that at a preset time the always on display would switch to a very minimal display that was only across one edge of the screen, it made for a nice alarm clock without being too bright overnight, then at a preset time it would revert to its normal settings of a large clock, displaying notifications, calendar etc.
I know I could use something like Alarm Clock Plus, but am trying to avoid having to install an app if there is built in functionality to do the same thing.
Thanks.
no
Short and sweet. Thanks. There are definitely a couple things Google could learn from Samsung on just small things like that though.
yep. but in the dark the ambient display is not bright so dont be afraid of burning your eyes.
The closest thing I have to what you are asking is using Tasker to turn off AOD when DND is enabled.
I have a profile to enable DND overnight, which in turn disables AOD.
rickysidhu_ said:
The closest thing I have to what you are asking is using Tasker to turn off AOD when DND is enabled.
I have a profile to enable DND overnight, which in turn disables AOD.
Click to expand...
Click to collapse
That's not a bad idea, I paid for Tasker long ago (run it on my Nexus 7 in the car) so it would just be a case of setting it up on the Pixel.
There is a clock screensaver for when phone is plugged. I don't use always on display but want to be able to see clock without touching phone. You can adjust tue brightness of it via nightmode switch. Under display - screensaver h clock ...
naiku said:
That's not a bad idea, I paid for Tasker long ago (run it on my Nexus 7 in the car) so it would just be a case of setting it up on the Pixel.
Click to expand...
Click to collapse
In case you were wanting to actually implement this, I double checked how I did it, and it's with the paid plugin "AutoTools".
I turn the AOD on when I'm connected to BT in my car since it's on a mount and also off at 10pm. If the task runs when your screen is off you do need to turn your screen on for it to take effect. So I check if my screen is off. If it is I have it turn on and off briefly.
trigger always on using tasker auto tools
New Task
Plugin -> Autotools -> Secure Settings
Configure
Custom Setting
Setting Type = "Secure"
Name = "doze_always_on"
Input Type = "Int"
Value = "0" OFF/ "1" ON
I've done some testing and I can't tell if it even works...not sure if a reboot is required or what each time...maybe someone else can add to this.
The below article might be fine for a stock Rom, but doesn't seem to work on Nitrogen with a kernel/magisk.
You need to have ambient brightness turned on though, otherwise, the default values are used and these overrides don't work.
https://www.xda-developers.com/customize-google-pixel-2-always-on-display-brightness/
If you hit the battery saver before you go to bed that will deactivate always on.
Turn battery saver off in the morning and always on will be back on.
Should solve your problem!
Or just flip the screen over. That deactivates it as well.
Lausterboy said:
If you hit the battery saver before you go to bed that will deactivate always on.
Turn battery saver off in the morning and always on will be back on.
Should solve your problem!
Click to expand...
Click to collapse
Sent from my Pixel 2 XL using Tapatalk
I just lay a business card over the sensors, since my thin case has no lip!

Display timeout keeps reverting to 30s

Display time out keeps going back to 30 s. I changed my power modes quite a bit so far. It may be when I turn OFF the battery in the settings dropdown toggle. It calls itself optimizing, when it's turned off. I was able to carefully set options for battery saving with toggle on, and checked that turning ON the battery toggle didn't cause the 30 s reversion.
I need a fixed 10 minute set. I can't stand the 30 s reverting because the fingerprint sensor has been so faulty so far with waking it back up.
Same problem as me, we need to report to samsung to solve in next sw update
Right. Back to 30 s time then off after every other restart. Latest updates too.
well according to settings>device care it says that optimization happens once a day. That's probably why it is happening.
I may disable it. I def recommend that you set an extremely long time (files(Samsung A70s native file manager app)>settings)before it auto delets your files. Like 200 months would be probably ok.

Categories

Resources