Check that battery attribute exists