This is usually caused by a damaged battery.
Please read through related articles below. If nothing helps - consider Warranty or Service and repair.
Read about Battery maintenance
Related articles: The pen only works when connected to power, The pen does not power up