Many states require employees be given time off to vote. Of those, many also require PAID time off. Make sure to take advantage of every hour of time off you are entitled to, and maybe you can use your vote to swing things in a better direction.
Here’s a decent list by state to help you prove to your boss that they have to let you go vote on company time.
https://www.patriotsoftware.com/blog/payroll/does-your-state-require-time-off-to-vote/amp/