Automatic voltage maintenance solution