logoalt Hacker News

andai09/30/20242 repliesview on HN

That's so cool, I gotta check out this Tasker thing!

>when it boots again

Do any Android phones turn on automatically when sufficiently charged? The ones I've had stay switched off but with a little battery charging animation. (I think my old iPhone auto powered on when charged past a certain percentage though.)


Replies

walz10/01/2024

I used an old Motorola phone for this, and yes, if it dies it won’t turn back on again until the power button is pressed. I Googled around and there’s a way to disable this behavior though, through an ADB command. The bad part is that it supposedly might get stuck in a boot loop – it tries to boot but there’s not enough battery yet, so it dies and keeps trying to boot. Over and over.

I made a second Tasker automation, so it shuts down with less than 15 percent battery. It might still get stuck in a boot loop, but eventually the solar panel will quickly charge it above 15% so that it won’t be for very long.

show 3 replies
myself24810/01/2024

When the phone is "off" but showing the charging animation, it's actually booted and the animation is a program it's running. There used to be a hack, I don't know if it works on modern Android, where you'd essentially edit the init scripts and tell it that the charging animation task should be the rest of the boot process, or your specific app of interest.

show 1 reply