add pulse setting to battery led