I added charging logic so that it would stop beeping if you plugged or unplugged the charger at the appropriate time...