Automatic discharge after use