Man accused of hitting grandfather in the head with laptop