I am building an android application where users can pay for items they buy with ether. Application will use a private ethereum network.
As I understood, I have to run an ethereum node in the android device as a separate process and my android app has to communicate with it using either sending commands or through JSON RPC.
Since android is very concerned about the power consumption, would android allow running a separate process continuously? Would android kill the process after some time?
Also, would running the node continuously in the device cause a huge battery drain?