AUGUSTA — Maine lawmakers have voted to override a veto by Gov. Paul LePage of a bill requiring law enforcement to have a warrant to get location information from a person’s cellphone.

The Democratic-led Senate overturned the veto on a 22-11 vote on Tuesday. Veto overrides require a two-thirds majority of present and voting members.

Under the bill, cellphone owners or other electronic device must be notified if their location information is collected by the government, if the entity is able to identify the owner or user.

LePage says he supports requiring warrants for cellphone content information, like voicemails and text messages, but says this bill goes too far.

The bill is the first that lawmakers voted to override Tuesday. Seven other vetoes in the Senate were sustained.