Analysis of how to monitor wifi network connection, dhcpcd execution and power through jni