Fixed battery level monitoring.