Question about Sleep Trigger

meatwad33

New member
I have had a macro that was pretty well set and forget for quite a while, it utilized the Sleep Trigger with a confidence of 85% on a constraint of 21:00-7:30 that would then simulate a media button press of pause. Several months back it seems like the Sleep Trigger stopped working. Is anyone else using the Trigger, and is anyone else having an issue of their macro not triggering over the past several months?
 

kbexit

New member
I have had a macro that was pretty well set and forget for quite a while, it utilized the Sleep Trigger with a confidence of 85% on a constraint of 21:00-7:30 that would then simulate a media button press of pause. Several months back it seems like the Sleep Trigger stopped working. Is anyone else using the Trigger, and is anyone else having an issue of their macro not triggering over the past several months?
This isn't "News and Announcements" related.
 

meatwad33

New member
Didn't I move the post to the Help and Troubleshooting forum ?
You did, sorry I posted in the wrong spot. It was late and I didn't realize what section of the forum I was in. I have a feeling the Sleep trigger issue is tied to Google no longer allowing full file system access because reasons. The macro I had was pretty convenient back before the trigger stopped working.
 

MacroDroidDev

Administrator
Staff member
I have no other complaints about this trigger not working, but I doubt it is widely used. I will try and do a test tonight to see if it's working ok for me.
 

meatwad33

New member
I have no other complaints about this trigger not working, but I doubt it is widely used. I will try and do a test tonight to see if it's working ok for me.
I dropped the confidence level really low as in around 50% and the macro I made hasn't worked properly since probably around the time my phone went to Android 13.
 

meatwad33

New member
I have no other complaints about this trigger not working, but I doubt it is widely used. I will try and do a test tonight to see if it's working ok for me.
For what it's worth back in December I also had this message in my logs.
 

Attachments

  • Screenshot_20230315_204649_MacroDroid.jpg
    Screenshot_20230315_204649_MacroDroid.jpg
    165.7 KB · Views: 9

MacroDroidDev

Administrator
Staff member
I have made a fix that means this trigger should be functional again on Android 13.

The trigger uses the Android activity recognition library to function. This is a black box that just chucks out values for how likely that the user is sleeping (and doing other activities). It's accuracy may be questionable, but it seems to work well enough from some use cases.
 

meatwad33

New member
I have made a fix that means this trigger should be functional again on Android 13.

The trigger uses the Android activity recognition library to function. This is a black box that just chucks out values for how likely that the user is sleeping (and doing other activities). It's accuracy may be questionable, but it seems to work well enough from some use cases.
My macro works again! Thanks a lot for looking into it for me.
 
Top