Mark
Mark

Reputation: 7625

Charge event if phone turned off

I am looking for a way to hook into the charge event, that is started if the device is turned off. You know that one, that starts an animation of a charging battery.

I am having a rooted phone and want to start the phone if the charger is connected.

Fist of all I need to know what part of the system this is? The bootloader?

Upvotes: 0

Views: 705

Answers (2)

ixx
ixx

Reputation: 32273

As far I know the battery charging program is firmware, and I don't think that is connected to the bootloader (that's just a guess, I don't know).

But maybe you could use this program, or find out how it works:

https://play.google.com/store/apps/details?id=eu.chainfire.nomoarpowah

Although it says it works only for certain Samsung devices...

These threads could also help:

https://android.stackexchange.com/questions/20392/alarm-which-could-ring-even-when-device-is-off

https://android.stackexchange.com/questions/6156/are-there-any-android-devices-with-open-source-bootloaders

https://android.stackexchange.com/questions/4206/does-the-alarm-work-when-my-phone-is-turned-off

Upvotes: 1

t0mm13b
t0mm13b

Reputation: 34592

That is definitely outside of the domain of Android, definitely not the bootloader, rather an internal of the SoC on the circuitary board, which gets triggered and displays an animating battery charging whilst switched off.

That is outside the scope of Android.

Upvotes: 2

Related Questions