update battery strength