I was curious so I looked on Fdroid and I found an app called wasted that uses device admin to lock/wipe your device if you don't use device for x days or when you press a button for example. The app hasn't been updated in quite a while, but still seems to work, but it doesn't restart your device, it locks it using device admin.
Android
DROID DOES
Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.
The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:
Rules
1. All posts must be relevant to Android devices/operating system.
2. Posts cannot be illegal or NSFW material.
3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.
4. Non-whitelisted bots will be banned.
5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.
6. Memes are not allowed to be posts, but are allowed in the comments.
7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.
8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.
Community Resources:
We are Android girls*,
In our Lemmy.world.
The back is plastic,
It's fantastic.
*Well, not just girls: people of all gender identities are welcomed here.
Our Partner Communities:
ShizuTools allows you to run ADB command through intents, which means that you can use Tasker (or other similar app) to run the ADB reboot command. I tested this part and it works.
The problem is that you would need to start Shizuku manually after each restart.
Searching TaskerNet for shizuku
, I was able to find some projects that can start shizuku for you, although I haven't tried them out.
So, it does seem possible, but with quite a bit of setup.
It is native with GrapheneOS. Has been for a long time. Apple probably got the idea from them.
+1 for GrapheneOS
I also love the auto-bluetooth off after X~time
option.
Google Store has offers till 12.28 I got two 9s for ~$150 after trading in my 7pro and 8pro.
They also have a referral now for 10% off.
REF-QL45PHGB9LQOO0ESLRQM7PW
403 error for the google store link
Fixt
Yeah, grapheneOS
It removes a lot of other bad shit while at it.
This is built into Samsung phones.
Where is the setting? I don't have a Samsung.
I guess it's not specifically if you don't unlock for a certain time
Hmmm, I tried that but then I looked into system "Up time" and nothing changed, even when the it says the "last auto restart" did indeed happen. So I'm assuming that its a "soft reboot" that clears the ram and shut down every process, not turning AFU mode to BFU mode.
I have no idea if this app works but here's something i found for you
https://play.google.com/store/apps/details?id=com.samiadom.Shutdown
It's called "flashing a ROM from a shitty SD card". Unfortunately, the reboot seems to happen mostly when you're using the device
You can probably do that using MacroDroid
Iโm interested in this as well.
I think MacroDroid has this.