Adding changes to conf file.  Adding battery check.