Optimized code and added code to update variables
Added battery bar drawing code
Added battery bar drawing code
Removed debug page
Removed debug page
Removed debug page
Optimized battery bar calculation
Optimized battery bar calculation
Optimized battery bar calculation