Added battery check every 5 minutes
Cleaned up for release