Modified: Refactored the code by adding a function that would display the
Power Connected/Disconnected results from database. This is done in the
MainActivity.