fixes #5449

missing variable updating lead to APCs stuck in green status during powersinks.