Only updating visible batteries, instead of all of them