Battery is probably dying. Try removing it and using the adapter alone. If that works-- Use the laptop as a desktop replacement. Make sure the adapter is not loose in the connection and is recognized in the bios.
See this about today's battery life of only 18-24 months or less--
You will have a hard time finding a genuine Dell replacement battery from Dell or Dell Parts. Stock has run out of many models of batteries. I did find this if you want to spend the money but make sure to check out compatibility with your exact model--
Batteries do weaken even sitting on a shelf. I would use the adapter alone and save the money. Don't buy from private sellers on the net or in marketplaces like Amazon or Ebay. Lots of scams with replacement batteries.
Thank you! We have received the required details. We will work towards a resolution via private messages to ensure the security of your information. In the meanwhile, you may receive assistance or suggestions from the community members as well.
Social Media Support
#IWork4Dell
To help us troubleshoot, click our Dell-Cares name and send us a private message with your Dell PC or Monitor Service Tag number