Alarm with planed switch off/on - Xiaomi Mi 9 Questions & Answers

Hello all,
I am used to plan an automatic switch off near 01:00 and an automatic switch on near 06:00... in order to save battery when I sleep without a charger available... No isue with my previous phones but it seems that with the MI9, if I set an alarm at 07:00, well the alarm doesn't work properly because the phone is waiting for the pin codes... any idea?

Maybe this will work with a widget on nova launcher, but I'm not sure

JetzNicht said:
Maybe this will work with a widget on nova launcher, but I'm not sure
Click to expand...
Click to collapse
a widget to do what?

Related

Trouble with 3rd Party Alarm Apps and Custom Alarm Sounds in Marshmallow?

Anyone else encountering issues with custom alarm sounds?
It's already been confirmed by app developers that most (all?) 3rd party alarm apps no longer work because of Marshmallow's doze deep sleep feature (more on that later). However, in moving my alarms over to the stock Marshmallow Clock app (which does work), I can't seem to bring any of my custom alarm sounds over. With previous OS versions, I just copied custom Alarm sounds to the appropriate folder in either internal or external storage (it used to be under \media\audio\) under Alarms, Ringtones, and Notifications folders. Although those folders are still present on the Nexus 6, and do work for 3rd party apps as well as stock apps like Messenger, Calendar, Phone ringtones, etc., they don't work for the stock Clock -- the only alarms that are available are the original stock ones.
So I tried to move my custom Alarm sounds to the system partition and encountered an out of space error, so I deleted some of the stock alarms and replaced them with my own. That works, but won't work for waking up to music because the music files are just too big to go on the system partition.
With regard to the 3rd party alarm clock apps no longer working, I figured out a work-around that seems to be successful so far. What happens is the alarm clock apps can't wake up the phone when Marshmallow is in doze mode (which usually happens overnight). I tried setting the app's notifications as a priority, and I also set the app to not be battery optimized, but it didn't work and the apps' developers have confirmed the same. Anyway, my work-around is to set an alarm in the stock Clock app to go off a minute before the 3rd-party app alarm does. The alarm in the stock Clock app can even be silent. What I'm guessing is happening is that the stock Clock app alarm brings the phone out of doze and it takes longer than a minute to go back into doze, so the 3rd-party alarm will sound.
Anyway, any suggestions for getting the custom alarm folders working again would be appreciated, but it sounds like it might be a genuine bug in the OS.
I have no issues with Alarm plus. It works without fail and doze doesnt effect it.
All the app developers need to do is follow the guide lines
Standard AlarmManager alarms (including setExact() and setWindow()) are deferred to the next maintenance window.
If you need to set alarms that fire while in Doze, use setAndAllowWhileIdle() or setExactAndAllowWhileIdle().
Alarms set with setAlarmClock() continue to fire normally — the system exits Doze shortly before those alarms fire.
zelendel said:
I have no issues with Alarm plus. It works without fail and doze doesnt effect it.
All the app developers need to do is follow the guide lines
Standard AlarmManager alarms (including setExact() and setWindow()) are deferred to the next maintenance window.
If you need to set alarms that fire while in Doze, use setAndAllowWhileIdle() or setExactAndAllowWhileIdle().
Alarms set with setAlarmClock() continue to fire normally — the system exits Doze shortly before those alarms fire.
Click to expand...
Click to collapse
Are you referring to Alarm Clock Plus? I can't find any app named Alarm Plus. Reviewers running Marshmallow are claiming that Alarm Clock Plus alarms are no longer working. I'm using Alarm Clock Xtreme, and the alarms are definitely not working unless I use my work-around.
internetpilot said:
Are you referring to Alarm Clock Plus? I can't find any app named Alarm Plus. Reviewers running Marshmallow are claiming that Alarm Clock Plus alarms are no longer working. I'm using Alarm Clock Xtreme, and the alarms are definitely not working unless I use my work-around.
Click to expand...
Click to collapse
Alarm plus Millenium Is the name of the app
Thank you. On my way to the Play Store. Haha
internetpilot said:
Thank you. On my way to the Play Store. Haha
Click to expand...
Click to collapse
No prob. I live on 3 hours of sleep a night so i need a reliable alarm clock. This one has never failed me.
Unfortunately it turns out that even Alarms Plus Millenium isn't currently working with Marshmallow. The developer replied to my email and said that he's working on an update but that until then you have to have the phone plugged in and charging for the alarms to sound. This is because Google said that the dose mode is not activated when the phone is plugged in or moving.
I still bought the app though and will be switching to using it because he's the first alarm clock developer who actually responded to me with at least some knowledge of how to fix his app to be compatible with Marshmallow. The rest of them all seemed to have no idea and no ETA on an update to fix their apps.
internetpilot said:
Unfortunately it turns out that even Alarms Plus Millenium isn't currently working with Marshmallow. The developer replied to my email and said that he's working on an update but that until then you have to have the phone plugged in and charging for the alarms to sound. This is because Google said that the dose mode is not activated when the phone is plugged in or moving.
I still bought the app though and will be switching to using it because he's the first alarm clock developer who actually responded to me with at least some knowledge of how to fix his app to be compatible with Marshmallow. The rest of them all seemed to have no idea and no ETA on an update to fix their apps.
Click to expand...
Click to collapse
That would make since as I charge my device over night as I sleep. Never occurred to me that if I didn't charge it that way it wouldn't go off.
zelendel said:
That would make since as I charge my device over night as I sleep. Never occurred to me that if I didn't charge it that way it wouldn't go off.
Click to expand...
Click to collapse
You're still better off with Alarm Plus Millennium over any of the other alarm clock apps, IMHO. I've contacted four or five of the most popular ones, and their respective devs have no idea how, when, or if they'll be able to fix their app. The Alarm Plus Millennium dev says he's about 3 days out from releasing a new version that will work. So, thanks again for recommending Alarm Plus Millennium. It didn't show up in any of my searches on the Play Store for alarm clock apps, so I would've never found it otherwise.
internetpilot said:
You're still better off with Alarm Plus Millennium over any of the other alarm clock apps, IMHO. I've contacted four or five of the most popular ones, and their respective devs have no idea how, when, or if they'll be able to fix their app. The Alarm Plus Millennium dev says he's about 3 days out from releasing a new version that will work. So, thanks again for recommending Alarm Plus Millennium. It didn't show up in any of my searches on the Play Store for alarm clock apps, so I would've never found it otherwise.
Click to expand...
Click to collapse
Yeah he is really good about that. I worked with him to kill a bug about 4 months ago. Was very responsive and willing to help. Glad you found an app that works for you.
FYI, Caynax Alarm Clock (free and pro versions) works in Marshmallow now.

need help for alarm clock

hi brothers
i have a problem in alarm clock
some times the alarm don't ring only for 0.5 second
this problem not happened on marshmallow
i am in nougat
how to solve this?
thx
Is it the original alarm that comes with your phone or 3rd party alarm clock?
The only easy way I can think of (if you are using 3rd party alarm) is to find alternative alarm clocks to try. The other way is to go to "Settings > Battery > Close apps after screen lock" page and make sure your alarm app is not activated for auto-close.
prismfire said:
Is it the original alarm that comes with your phone or 3rd party alarm clock?
The only easy way I can think of (if you are using 3rd party alarm) is to find alternative alarm clocks to try. The other way is to go to "Settings > Battery > Close apps after screen lock" page and make sure your alarm app is not activated for auto-close.
Click to expand...
Click to collapse
i use the original alarm
in marshmallow work fine
after update to nougat happened this problem
you can try to install 3rd party alarm to see if the same thing happens. if the same thing does not happen with the 3rd party alarms, I would guess to use them. although this does not really solve your issue, at least it's a workaround.
maybe others have better suggestions. but i would think you might need to reset the phone (backup your data first) and then try it out.
prismfire said:
you can try to install 3rd party alarm to see if the same thing happens. if the same thing does not happen with the 3rd party alarms, I would guess to use them. although this does not really solve your issue, at least it's a workaround.
maybe others have better suggestions. but i would think you might need to reset the phone (backup your data first) and then try it out.
Click to expand...
Click to collapse
thx bro
i made factory reset and alarm work well
i have q: what u mean by 3rd party alarms?
Alarm Clock
Sir same problem with my p9 plus,,,after upgrade,,,,,alarm clock not working properly,,,,,,,,is there a impact if Power saving mode is ON or Ultra Power Saving Mode ON-??????
I notice if i lock my phone ,,,the alarm clock not ringing or it will ring just 1 sec and stop,,,but if im not going to lock it i just let it in home screen,,,,the alarm clock goes nice,,,,can someone help me with this or explain to me the posibilities why it was happen,,,,,
THANKS in ADVANCE SIR
---------- Post added at 02:28 AM ---------- Previous post was at 02:20 AM ----------
jannatferdaws said:
thx bro
i made factory reset and alarm work well
i have q: what u mean by 3rd party alarms?
Click to expand...
Click to collapse
After you reset your Phone sir ,,,had you notice additional Bug or unstable behavior -??? and after reset is it still nougot or back to marshmallow-???
Jerome Maca said:
Sir same problem with my p9 plus,,,after upgrade,,,,,alarm clock not working properly,,,,,,,,is there a impact if Power saving mode is ON or Ultra Power Saving Mode ON-??????
I notice if i lock my phone ,,,the alarm clock not ringing or it will ring just 1 sec and stop,,,but if im not going to lock it i just let it in home screen,,,,the alarm clock goes nice,,,,can someone help me with this or explain to me the posibilities why it was happen,,,,,
THANKS in ADVANCE SIR
---------- Post added at 02:28 AM ---------- Previous post was at 02:20 AM ----------
After you reset your Phone sir ,,,had you notice additional Bug or unstable behavior -??? and after reset is it still nougot or back to marshmallow-???
Click to expand...
Click to collapse
A reset don't downgrade ROM. You still be on Nougat.

Pie: Alarm widgets show 5 minutes delayed

Does anyone know why my alarm widgets (ie. either Chronus or HD Widgets or Elixir) show up as 5 minutes delayed? The alarms work well and activate correctly, but they're shown 5 minutes delayed on the widgets (for ex. 12:00noon alarm shows on the widget as 11:55, or 6:00pm alarm shows as 5:55pm). Been since I upgraded to Pie.
I see the same happening on the pie beta 3 on my s8.
It happens using the weather timeline widget and the stock Samsung alarm.
However when I use a different alarm app such as sleep as Android it is displayed correctly.
sherpa25 said:
Does anyone know why my alarm widgets (ie. either Chronus or HD Widgets or Elixir) show up as 5 minutes delayed? The alarms work well and activate correctly, but they're shown 5 minutes delayed on the widgets (for ex. 12:00noon alarm shows on the widget as 11:55, or 6:00pm alarm shows as 5:55pm). Been since I upgraded to Pie.
Click to expand...
Click to collapse
Ditto... Same thing..
Whoa, thought it was only in mine, as I've searched google and here, and found no one report on it. Is this a Pie issue? Should be in the Samsung forums, if so.
The issue still persists in the official pie rollout on s8 unfortunately. I've no idea how to solve this
Someone post the solution
This is driving me crazy.
Any progress regarding this issue?
sherpa25 said:
Does anyone know why my alarm widgets (ie. either Chronus or HD Widgets or Elixir) show up as 5 minutes delayed? The alarms work well and activate correctly, but they're shown 5 minutes delayed on the widgets (for ex. 12:00noon alarm shows on the widget as 11:55, or 6:00pm alarm shows as 5:55pm). Been since I upgraded to Pie.
Click to expand...
Click to collapse
Guids said:
I see the same happening on the pie beta 3 on my s8.
It happens using the weather timeline widget and the stock Samsung alarm.
However when I use a different alarm app such as sleep as Android it is displayed correctly.
Click to expand...
Click to collapse
blu3angel said:
Ditto... Same thing..
Click to expand...
Click to collapse
Congaman said:
This is driving me crazy.
Click to expand...
Click to collapse
Rushmed said:
Any progress regarding this issue?
Click to expand...
Click to collapse
I had a similar issue where widgets, and other apps, were not updating or giving notifications correctly.
The problem was with app optimization- I had to un-optimize these apps in order for them to work properly.
Settings > apps > (three dots menu) special access > optimize battery usage
You can also search directly for 'Optimize battery usage'
The default display "Apps not optimized" only shows apps that have not been optimized. You will want to change this to "all apps". Then you will be able to de-optimize apps that you want instant notifications or updates from.
If the app you want to use needs data access as well in order to function (weather widgets) then you can go a step further and go to..
Settings > apps > *APP YOU WANT TO MODIFY* > mobile data
Then allow "allow background data usage" and "allow app while data saver is on". The former is more important, but the later insures the app will receive updates no matter what. Hope this helps.
That dosent fix the behavoir.
Rushmed said:
That dosent fix the behavoir.
Click to expand...
Click to collapse
go to an alternate apk downloading site and get the previous version of the app. Seems to be a recurring issue across several phones when running the newest version of chronus on pie.
Sorry man but when did we start to talk about chronus? Don't know the App even don't have it installed.

No Alarm

Hey guys.
Sometimes I have a lil problem. My alarm clock isnt ringing. Doesn't matter if I change the settings. (Battery, Power management) It's not in optimization list.
BTW it also persists after switching to revolution OS. It's not often but it happens. I never had this on other phones.
Someone else with this problem?
Kollachi said:
Hey guys.
Sometimes I have a lil problem. My alarm clock isnt ringing. Doesn't matter if I change the settings. (Battery, Power management) It's not in optimization list.
BTW it also persists after switching to revolution OS. It's not often but it happens. I never had this on other phones.
Someone else with this problem?
Click to expand...
Click to collapse
It happened in my environment too.
I did the following to prevent it.
Turn on "Auto start" of clock app setting.
Set battery saver in clock app settings to "No restrictions".
Turn off Battery & performance "Use Adaptive Battery".
Battery & performance - Set Scene - "Sleep mode" off.
I use Google Clock. It seems to be improved.
Kaeru Sapporo said:
It happened in my environment too.
I did the following to prevent it.
Turn on "Auto start" of clock app setting.
Set battery saver in clock app settings to "No restrictions".
Turn off Battery & performance "Use Adaptive Battery".
Battery & performance - Set Scene - "Sleep mode" off.
I use Google Clock. It seems to be improved.
Click to expand...
Click to collapse
Thanks! I will definitely try it.
In my case the alarm rings but the screen remains black. I have to unlock the phone, go to notification bar, click on the alarm and then turn it off. (I use mi clock)
I'm worried that I can't trust the alarm on my brand new phone.
Sent from my MI 9 using Tapatalk
nuno.basto said:
In my case the alarm rings but the screen remains black. I have to unlock the phone, go to notification bar, click on the alarm and then turn it off. (I use mi clock)
I'm worried that I can't trust the alarm on my brand new phone.
Sent from my MI 9 using Tapatalk
Click to expand...
Click to collapse
I was 4 hours later at work...
nuno.basto said:
In my case the alarm rings but the screen remains black. I have to unlock the phone, go to notification bar, click on the alarm and then turn it off. (I use mi clock)
I'm worried that I can't trust the alarm on my brand new phone.
Sent from my MI 9 using Tapatalk
Click to expand...
Click to collapse
That only happens to me if i put my phone into "Do Not Disturb" mode. If my phone is set to sound or even vibrate only, the screen turns on as soon as the alarm starts to ring.
Either way, my alarm clock always works (using mi clock too)
Never experienced it, use DND mode during sleep time, and my alarm never failed.
nitroax said:
That only happens to me if i put my phone into "Do Not Disturb" mode. If my phone is set to sound or even vibrate only, the screen turns on as soon as the alarm starts to ring.
Either way, my alarm clock always works (using mi clock too)
Click to expand...
Click to collapse
That's true. I just tried and if the phone is in "do not disturb" the screen remains switched off. This is a bit weird because (at least for me) the DND is mainly used during the night.
---------- Post added at 01:10 PM ---------- Previous post was at 01:06 PM ----------
Nuno Oliveira said:
Never experienced it, use DND mode during sleep time, and my alarm never failed.
Click to expand...
Click to collapse
Are you using the Mi Clock or the google one?
With the Google Clock my screen comes on normally, but I was hoping to user the "stock" clock App. I specially like the option to delete the alarm after it rings (in the event of an one time alarm) and the option to cancel the alarm just for the next time (in the event of a week holiday).
nuno.basto said:
Are you using the Mi Clock or the google one?
With the Google Clock my screen comes on normally, but I was hoping to user the "stock" clock App. I specially like the option to delete the alarm after it rings (in the event of an one time alarm) and the option to cancel the alarm just for the next time (in the event of a week holiday).
Click to expand...
Click to collapse
Mi clock, untouched EEA global ROM.
Nuno Oliveira said:
Mi clock, untouched EEA global ROM.
Click to expand...
Click to collapse
I also have that (got my phone since Monday).
I tried to uninstall Google clock but the problem continues.
nuno.basto said:
That's true. I just tried and if the phone is in "do not disturb" the screen remains switched off. This is a bit weird because (at least for me) the DND is mainly used during the night.
Click to expand...
Click to collapse
Yeah dont make any sense, it should turn on the screen even in DND mode but its a minor thing at least.
MI 7 Here.
Alarm Clock not working for 3 day. I tried to set Auto-start, then disable Battery Saver. restrictions for the App. I will tell you.

[Solved] Alarm 9 min later on lockscreen

Hello,
Came from my previous post here:
https://forum.xda-developers.com/lineage/help/alarm-displayed-9-min-lockscreen-t4018779
On my lockscreen, I have always an alarm icon set to 9 minutes later (see screenshot in my previous post). For example, at 15h09, the alarm icon is 15h19 ; at 08h10, the alarm is 08h19. This bug appears only when Tasker is enabled. When I disabled TAsker, no more this strange alarm icon 9 min later on lockscreen. Please, how to keep Tasker enabled and avoid this alarm icon from it?
Try disabling reliable alarms in preferences.
ktmom said:
Try disabling reliable alarms in preferences.
Click to expand...
Click to collapse
That's it. Solved. But it seems to be require to allow Tasker to work fine in background.
philippe734 said:
That's it. Solved. But it seems to be require to allow Tasker to work fine in background.
Click to expand...
Click to collapse
Yes, that's true. It's a trade off. You can try setting reliable alarm to when off.
The alarm is a mechanism to prevent android from killing tasker beyond just doze.
ktmom said:
Try disabling reliable alarms in preferences.
Click to expand...
Click to collapse
I've been trying to figure this one out. Thank you very much!

Categories

Resources