ariftwister
Truth Seeker
I am afraid you might have a wrong idea then. You can't turn on the phone, without first turning it off.
The boot animation can't come unless bootloader is loaded, which can only happen when a phone is starting up.
So far from what I have observed, the only difference rebooting with the app (and not from physical button) is that it doesn't shutdown the phone properly, rather it's like pulling out the battery. After which normal startup procedure is performed, from Boot Rom to Bootloader to Linux kernel (init process) to zygote to system server, which finally boots the phone.
Source: Can somebody explain the boot process of an Android device? - Android Enthusiasts Stack Exchange
My apologies, I confused with soft reboot seen in Xposed App.. And soft reboot only restarts zygote process there by, quickly rebooting the device.