Update batterySensor.py