New: ADC and battery measurement code
Fix: various errors found while debugging battery measurement code
Fix: battery percentage boundaries
New: Implemented the Battery service with periodic notification