Updates to track battery level.