this post was submitted on 13 Aug 2023
7 points (100.0% liked)

Ask Android

2213 readers
8 users here now

A place to ask your questions and seek help related to your Android device and the Android ecosystem.

Whether you're looking for app recommendations, phone buying advice, or want to explore rooting and tutorials, this is the place for you!

Rules
  1. Be descriptive: Help us help you by providing as many details as you can.
  2. Be patient: You're getting free help from Internet strangers, so you may have to wait for an answer.
  3. Be helpful: If someone asks you for more information, tell us what you can. If someone asks you for a screenshot, please provide one!
  4. Be nice: Treat others with respect, even if you don't agree with their advice. Accordingly, you should expect others to be nice to you as well. Report intentionally rude answers.
  5. No piracy: Sharing or discussing pirated content is strictly prohibited. Do not ask others for a paid app or about how to acquire one.
  6. No affiliate/marketing links: Posting affiliate links is not allowed.
  7. No URL shorteners: These can hide the true location of the page and lead people to malicious places.
  8. No lockscreen bypasses: Please do not comment, link, or assist with bypassing lock screens or factory reset protection.
  9. No cross-posting: Please take the time to make a proper post instead of cross-posting.
Other Communities

founded 1 year ago
MODERATORS
 

I have a Galaxy S20 on Android 13.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] 2014MU69@programming.dev 4 points 1 year ago* (last edited 1 year ago) (1 children)

You can do this with Macrodroid.

Macrodroid is an app that automates various tasks in your phone. It lets you create custom "macros" that trigger actions or sequences of actions in response to specific events.

Follow these steps:

0: Install and open the app ๐Ÿ˜†

1: Press Add Macro

2: Give it a name

3: Triggers > Battery/Power > Power Connected/Disconnected > Power Disconnected > OK

4: Actions > Screen > Screen On/Off > Screen Off > OK > Lock Screen > OK

5: Save

That's about it!

You do need to give it device admin permission and make sure your os doesn't kill the app to "save battery".

[โ€“] soullioness@lemmy.ca 3 points 1 year ago (1 children)

You know, I have over 100 macros setup in MacroDroid but I didn't think about using it for this for some reason! It's an amazing app. Everyone should try automation apps.

[โ€“] Justly0250@lemdro.id 4 points 1 year ago (1 children)

I always install automation apps and get overwhelmed by the options/features available within them. What are your must used cases with MacroDroid?

[โ€“] soullioness@lemmy.ca 4 points 1 year ago (1 children)

Automatically muting notification sound when in certain apps like video players, automatically adjusting auto rotate in certain apps, scanning NFC tags which I attached to the lids of my pill bottles so I can automatically add what I've taken, how much I've taken, and when I took it. And a bunch of other stuff I can't think of off the top of my head lol

I have over 100 macros and I've made an effort to use just about every feature in the app, feel free to ask me questions. MacroDroid also makes it really easy to share Macros which can help too.

[โ€“] Justly0250@lemdro.id 3 points 1 year ago* (last edited 1 year ago) (1 children)

NFC tags which I attached to the lids of my pill bottles so I can automatically add what I've taken

Damn, this is awesome. I'll give MacroDroid another try.

[โ€“] soullioness@lemmy.ca 2 points 1 year ago

Right. It took a while for me to get used to MacroDroid but it worth the effort! It's super exciting to make all these macros.