stores the battery information in a databaseeverytime it is called. Prints out information about battery life on demant.