The state Senate voted Tuesday in favor of a bill that would prohibit holding a phone while driving.