Battery code update for dagu