Communication to battery regulator